/** * @type GiftCertificate: Document representing a gift certificate. * * @property amount: The gift certificate original amount. * * @property balance: The gift certificate remaining balance. * * @property description: The gift certificate description. * * @property enabled: Is the gift certificate is enabled? * * @property maskedGiftCertificateCode: The masked gift certificate code. * * @property merchantId: The merchant ID. * * @property message: The message. * * @property recipientEmail: The recipient email. * * @property recipientName: The recipient name. * * @property senderName: The sender name. * * @property status: The gift certificate status. * */ export type GiftCertificate = { amount: number; balance: number; description?: string; enabled: boolean; maskedGiftCertificateCode: string; merchantId: string; message?: string; recipientEmail: string; recipientName: string; senderName: string; status: GiftCertificateStatusEnum; } & { [key: string]: any; }; export type GiftCertificateStatusEnum = 'pending' | 'issued' | 'partially_redeemed' | 'redeemed';