Amount

public Amount Amount(BigDecimal value, AmountCurrency currency)

Creates an instance of Amount class.

Parameters

value

the number value of the amount.

currency

the amount currency.