Currency

Extends Object. A data object containing Currency properties used by Price and Money

Properties
decimalPlaces

Type Number

The number of decimal places for the currency.

decimalPoint

Type String

The character used as a decimal point for the currency.

exchangeRate

Type Number

The exchange rate based on a conversion from our default system currency, which is currently GBP. Exchange rate is used when converting between currencies and should only be used as an approximation.

id

Type Number

The System ID for the Currency.

isoCode

Type String

The 3 character ISO code for the current (e.g. GBP).

isoCodeNumeric

Type Number

The numeric ISO code for the currency.

prefix

Type String

The left symbol for the currency (e.g. $ for USD).

suffix

Type String

The right symbol for the currency (e.g. CAD for Candadian Dollars).

thousandsPoint

Type String

The character used as a thousand point separator for the currency.

title

Type String

The System Title for the Currency.

updated

Type Date

The last time the currency/exchange rate was updated.



Methods
toString()

Returns String

The string representation of a currency is its isoCode.