Skip to content

Latest commit

 

History

History
15 lines (7 loc) · 778 Bytes

RedeemableGift.md

File metadata and controls

15 lines (7 loc) · 778 Bytes

RedeemableGift

Contains current gift card balance information.

Properties

Name Type Description
balance BigDecimal Available funds. Value is multiplied by 100 to precisely represent 2 decimal places. For example, $100 amount is written as 10000.
credits BigDecimal The number of credits that the user wants to use from the gift card to fulfil the order. The value of credits cannot be higher than the current balance on the gift card. If the user gives more points than he has on the gift card, the application will return an error code in response. Value is multiplied by 100 to precisely represent 2 decimal places. For example `10000 cents` for `$100.00`.