CurrencyCode
An ISO 4217 alpha-3 currency code. Only the currencies the platform settles and reports in appear here, and the list only ever grows — a client should handle a code it does not recognise rather than assume this set is final.
enum CurrencyCode {
AUD
EUR
GBP
IDR
JPY
MYR
PHP
SGD
THB
USD
VND
}
Values
CurrencyCode.AUD
Australian dollar. Minor unit: 1/100.
CurrencyCode.EUR
Euro. Minor unit: 1/100.
CurrencyCode.GBP
Pound sterling. Minor unit: 1/100.
CurrencyCode.IDR
Indonesian rupiah. Has NO minor unit, so an amountMinor of 25000 is 25,000 rupiah, not 250.
CurrencyCode.JPY
Japanese yen. Has no minor unit, so amountMinor is whole yen.
CurrencyCode.MYR
Malaysian ringgit. Minor unit: 1/100.
CurrencyCode.PHP
Philippine peso. Minor unit: 1/100.
CurrencyCode.SGD
Singapore dollar. Minor unit: 1/100.
CurrencyCode.THB
Thai baht. Minor unit: 1/100.
CurrencyCode.USD
United States dollar. Minor unit: 1/100.
CurrencyCode.VND
Vietnamese dong. Has no minor unit, so amountMinor is whole dong.