GiftCardTransaction
Gift Card Transactions are created once a Customer uses a Gift Card to pay for their Order.
Constructors
constructor
**new GiftCardTransaction**()
Gift Card Transactions are created once a Customer uses a Gift Card to pay for their Order.
Properties
amount
numberRequiredThe amount that was used from the Gift Card.
created_at
DateRequiredThe date with timezone at which the resource was created.
The details of the gift card associated used in this transaction.
gift_card_id
stringRequiredThe ID of the Gift Card that was used in the transaction.
id
stringRequiredThe gift card transaction's ID
is_taxable
booleanRequiredWhether the transaction is taxable or not.
The details of the order that the gift card was used for payment.
order_id
stringRequiredThe ID of the order that the gift card was used for payment.
tax_rate
null | numberRequiredThe tax rate of the transaction
Methods
beforeInsert
Private **beforeInsert**(): void
Returns
void
void
voidWas this section helpful?