Money |
Money.convertedTo(Currency resultCurrency,
FxRateProvider rateProvider) |
Converts this amount to an equivalent amount in the specified currency.
|
Money |
Money.convertedTo(Currency resultCurrency,
Decimal fxRate) |
Converts this amount to an equivalent amount the specified currency.
|
Money |
Money.convertedTo(Currency resultCurrency,
BigDecimal fxRate) |
Converts this amount to an equivalent amount the specified currency.
|
Money |
Money.map(UnaryOperator<Decimal> mapper) |
Applies an operation to the amount.
|
Money |
Money.mapAmount(UnaryOperator<BigDecimal> mapper) |
Deprecated.
|
Money |
Money.minus(Money amountToSubtract) |
Returns a copy of this Money with the specified amount subtracted.
|
Money |
Money.multipliedBy(long valueToMultiplyBy) |
Returns a copy of this Money with the amount multiplied.
|
Money |
Money.negated() |
Returns a copy of this Money with the amount negated.
|
Money |
Money.negative() |
Returns a copy of this Money with a negative amount.
|
static Money |
Money.of(BigMoney money) |
Obtains an instance of Money for the specified BigMoney .
|
static Money |
Money.of(CurrencyAmount currencyAmount) |
|
static Money |
Money.of(Currency currency,
double amount) |
Obtains an instance of Money for the specified currency and amount.
|
static Money |
Money.of(Currency currency,
Decimal amount) |
Obtains an instance of Money for the specified currency and amount.
|
static Money |
Money.of(Currency currency,
BigDecimal amount) |
Obtains an instance of Money for the specified currency and amount.
|
static Money |
Money.parse(String amountStr) |
Parses the string to produce a Money .
|
Money |
Money.plus(Money amountToAdd) |
Returns a copy of this Money with the specified amount added.
|
Money |
Money.positive() |
Returns a copy of this Money with a positive amount.
|
Money |
BigMoney.toMoney() |
Converts this monetary amount to the equivalent Money .
|
Money |
CurrencyAmount.toMoney() |
Converts this monetary amount to the equivalent Money .
|
static Money |
Money.zero(Currency currency) |
Obtains a zero amount instance of Money for the specified currency.
|