Skip to main content

BillingMoneyAmount

Important

Billing regularly introduces new features and UI changes to Browser's components. If you'd like to remain on a specific version of Browser's components or SDK, you can follow the steps in the pinning documentation.

The BillingMoneyAmount type represents a monetary value with currency information.

Properties

  • Name
    amount
    Type
    number
    Description

    The raw amount as a number, usually in the smallest unit of the currency (like cents for USD). For example, 1000 for $10.00.

  • Name
    amountFormatted
    Type
    string
    Description

    The amount as a formatted string. For example, 10.00 for $10.00.

  • Name
    currency
    Type
    string
    Description

    The ISO currency code for this amount. For example, USD.

  • Name
    currencySymbol
    Type
    string
    Description

    The symbol for the currency. For example, $.

Feedback

What did you think of this content?

Last updated on