Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 1.08 KB

File metadata and controls

26 lines (14 loc) · 1.08 KB

VouchersDisableResponseBodyGift

Object representing gift parameters. Child attributes are present only if type is GIFT_VOUCHER. Defaults to null.

Properties

Name Type Description
amount Integer 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. The value is multiplied by 100 to represent 2 decimal places. For example `10000 cents` for `$100.00`.
balance Integer Available funds. The value is multiplied by 100 to represent 2 decimal places. For example `10000 cents` for `$100.00`.
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"