Object representing gift parameters. Child attributes are present only if type
is GIFT_VOUCHER
. Defaults to null
.
Name |
Type |
Description |
amount |
Integer |
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 |
Integer |
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. |
Name |
Value |
ORDER |
"APPLY_TO_ORDER" |
ITEMS |
"APPLY_TO_ITEMS" |