Represents an amount of a specific currency required to purchase something, pairing a monetary amount with the Currency it is denominated in. Used to pass a priced amount around without committing to a debit until payment is actually processed.


Properties

PropertyReturnsDescription
amountBigDecimalThe monetary amount required, in units of getCurrency().
currencyCurrencyThe currency the amount is denominated in.

Methods

getAmount()

Returns: BigDecimal

The monetary amount required, in units of getCurrency().

getCurrency()

Returns: Currency

The currency the amount is denominated in.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.