Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1016 Bytes

File metadata and controls

25 lines (13 loc) · 1016 Bytes

MemberActivityDataTransactionDetailsDestinationVoucherGift

Properties

Name Type Description
amount BigDecimal Total gift card income over the lifetime of the card. The value is multiplied by 100 to represent 2 decimal places. For example `10000 cents` for `$100.00`.
subtractedAmount Integer Total amount of subtracted credits over the gift card lifetime.
balance BigDecimal Available funds. The value is multiplied by 100 to represent 2 decimal places. For example `10000 cents` for `$100.00`. `balance` = `amount` - `subtracted_amount` - `redemption.redeemed_amount`.
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"