- getAmount
Gets the amount. This returns the value of the money as a BigDecimal. The scale
will be the scale of
- of
Obtains an instance of BigMoney from a BigDecimal. This allows you to create an
instance with a spec
- toString
Gets this monetary value as a string. The format is the 3 letter ISO currency
code, followed by a sp
- getCurrencyUnit
Gets the currency.
- parse
Parses an instance of BigMoney from a string. The string format is
'$currencyCode $amount' where the
- isGreaterThan
Checks if this monetary value is greater than another. The compared values must
be in the same curre
- zero
Obtains an instance of BigMoney representing zero at a specific scale. For
example, zero(USD, 2) cre
- compareTo
Compares this monetary value to another. The compared values must be in the same
currency.
- convertedTo
Returns a copy of this monetary value converted into another currency using the
specified conversion
- dividedBy
Returns a copy of this monetary value divided by the specified value using the
specified rounding mo
- getAmountMinorLong
Gets the amount in minor units as a long. This returns the monetary amount in
terms of the minor uni
- getScale
Gets the scale of the BigDecimal amount. The scale has the same meaning as in
BigDecimal. Positive v