Price information for a product.

interface Price {
    amount: number;
    currency: string;
    formattedPrice: string;
}

Properties

amount: number

Price in full units of the currency.

currency: string

Returns ISO 4217 currency code for price. For example, if price is specified in British pounds sterling, currency is "GBP". If currency code cannot be determined, currency symbol is returned.

formattedPrice: string

Formatted price string including price and currency.