Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 768 Bytes

Gift.md

File metadata and controls

25 lines (13 loc) · 768 Bytes

Gift

Contains current gift card balance information.

Properties

Name Type Description
amount BigDecimal Total gift card income over the lifetime of the card. Value is multiplied by 100 to precisely represent 2 decimal places. For example, $100 amount is written as 10000.
balance BigDecimal Available funds. Value is multiplied by 100 to precisely represent 2 decimal places. For example, $100 amount is written as 10000.
effect EffectEnum Defines how the credits are applied to the customer's order.

Enum: EffectEnum

Name Value
ORDER "APPLY_TO_ORDER"
ITEMS "APPLY_TO_ITEMS"