CurrencyAmount
constructor(originalValue: Long, originalUnit: CurrencyUnit, preferredCurrencyUnit: CurrencyUnit, preferredCurrencyValueRounded: Long, preferredCurrencyValueApprox: Float)
Parameters
originalValue
The original numeric value for this CurrencyAmount.
originalUnit
The original unit of currency for this CurrencyAmount.
preferredCurrencyUnit
The unit of user's preferred currency.
preferredCurrencyValueRounded
The rounded numeric value for this CurrencyAmount in the very base level of user's preferred currency. For example, for USD, the value will be in cents.
preferredCurrencyValueApprox
The approximate float value for this CurrencyAmount in the very base level of user's preferred currency. For example, for USD, the value will be in cents.