A one-time-price item the customer is purchasing.

interface OneTimePriceItem {
    key: string;
    displayName: string;
    images: string[];
    unitAmount: Amount;
    unitAmountDecimal?: Amount;
    unitLabel?: string;
    quantity: number;
    adjustableQuantity?: AdjustableQuantity;
}

Properties

key: string

A stable key for this item.

displayName: string

The customer-facing item name.

images: string[]

URLs for images representing this item.

unitAmount: Amount

The price for one unit.

unitAmountDecimal?: Amount

The unit price with sub-minor-unit precision, when available.

unitLabel?: string

A customer-facing label for one unit, such as seat.

quantity: number

The quantity being purchased.

adjustableQuantity?: AdjustableQuantity

Limits for customer-adjustable quantity, when enabled.