Reference
Interface: GiftCardChoice
Interface: GiftCardChoice in @ticketlayer/live.
@ticketlayer/live / index / GiftCardChoice
Defined in: core/liveClient.ts:94
A gift card for the cart (P9, TKT-545): POST /sales/carts/{cartId}/gift-cards.
amount is one of the product's fixed amounts or within its range, in minor
units. post goes only with an order that is posted (the cart's delivery
is post); otherwise it goes by email, to recipientEmail or the buyer.
Properties#
amount?#
optional amount?: number;Defined in: core/liveClient.ts:96
delivery#
delivery: {
message?: string | null;
method: "email" | "post";
recipientEmail?: string | null;
recipientName?: string | null;
};Defined in: core/liveClient.ts:97
message?#
optional message?: string | null;method#
method: "email" | "post";recipientEmail?#
optional recipientEmail?: string | null;recipientName?#
optional recipientName?: string | null;productId#
productId: string;Defined in: core/liveClient.ts:95