Interface: CartVoucher
Defined in: type/CartVoucher.ts:5
Object class for CartVoucher
Properties
available
available:
number
Defined in: type/CartVoucher.ts:21
Available amount when the voucher represents a payable amount
code
code:
string
Defined in: type/CartVoucher.ts:7
Voucher code
combinable
combinable:
YesNo
Defined in: type/CartVoucher.ts:17
Can this voucher be combined with other vouchers
description
description:
string
Defined in: type/CartVoucher.ts:11
Description of the rule that generated this voucher
name
name:
string
Defined in: type/CartVoucher.ts:9
Name of the rule that generated this voucher
partialRedemption
partialRedemption:
YesNo
Defined in: type/CartVoucher.ts:19
Can this voucher be partially redeemed when type is a payable amount
redeemed
redeemed:
YesNo
Defined in: type/CartVoucher.ts:15
Is this voucher already redeemed
remaining
remaining:
number
Defined in: type/CartVoucher.ts:23
Remaining amount when the voucher represent a payable amount and can be partially redeemed
ruleId
ruleId:
number
Defined in: type/CartVoucher.ts:13
Id of the rule that generated this voucher