import type * as Square from "../index"; /** * Represents a Square gift card. */ export interface GiftCard { /** The Square-assigned ID of the gift card. */ id?: string; /** * The gift card type. * See [Type](#type-type) for possible values */ type: Square.GiftCardType; /** * The source that generated the gift card account number (GAN). The default value is `SQUARE`. * See [GANSource](#type-gansource) for possible values */ ganSource?: Square.GiftCardGanSource; /** * The current gift card state. * See [Status](#type-status) for possible values */ state?: Square.GiftCardStatus; /** The current gift card balance. This balance is always greater than or equal to zero. */ balanceMoney?: Square.Money; /** * The gift card account number (GAN). Buyers can use the GAN to make purchases or check * the gift card balance. */ gan?: string | null; /** * The timestamp when the gift card was created, in RFC 3339 format. * In the case of a digital gift card, it is the time when you create a card * (using the Square Point of Sale application, Seller Dashboard, or Gift Cards API). * In the case of a plastic gift card, it is the time when Square associates the card with the * seller at the time of activation. */ createdAt?: string; /** The IDs of the [customer profiles](entity:Customer) to whom this gift card is linked. */ customerIds?: string[]; }