Options
All
  • Public
  • Public/Protected
  • All
Menu

Contains all the details associated with a Price

Hierarchy

  • Price

Index

Properties

Readonly amountMicros

amountMicros: number

Price in micro-units, where 1,000,000 micro-units equal one unit of the currency.

For example, if price is "€7.99", price_amount_micros is 7,990,000. This value represents the localized, rounded price for a particular currency.

Readonly currencyCode

currencyCode: string

Returns ISO 4217 currency code for price and original price.

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

Readonly formatted

formatted: string

Formatted price of the item, including its currency sign. For example $3.00

Generated using TypeDoc