getCurrentCart doesn't return couponId

I got a problem with getCurrentCart, I have a coupon added to my cart in the live site, but when I run it doesn’t return any id in the page. There in documentation is a field called couponId, but i can’t catch that returned value