|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Money | |
|---|---|
| org.broadleafcommerce.common.currency.util | |
| org.broadleafcommerce.common.money | |
| Uses of Money in org.broadleafcommerce.common.currency.util |
|---|
| Methods in org.broadleafcommerce.common.currency.util that return Money | |
|---|---|
static Money |
BroadleafCurrencyUtils.getMoney(BigDecimal amount,
BroadleafCurrency currency)
|
static Money |
BroadleafCurrencyUtils.getMoney(BroadleafCurrency currency)
|
static Money |
BroadleafCurrencyUtils.getUnitAmount(BroadleafCurrency blCurrency)
Returns the unit amount (e.g. |
static Money |
BroadleafCurrencyUtils.getUnitAmount(Money difference)
Returns the unit amount (e.g. |
| Methods in org.broadleafcommerce.common.currency.util with parameters of type Money | |
|---|---|
static int |
BroadleafCurrencyUtils.calculateRemainder(Money totalAmount,
int quantity)
Returns the remainder amount if the passed in totalAmount was divided by the quantity taking into account the normal unit of the currency (e.g. |
static Currency |
BroadleafCurrencyUtils.getCurrency(Money money)
|
static Money |
BroadleafCurrencyUtils.getUnitAmount(Money difference)
Returns the unit amount (e.g. |
| Uses of Money in org.broadleafcommerce.common.money |
|---|
| Fields in org.broadleafcommerce.common.money declared as Money | |
|---|---|
static Money |
Money.ZERO
|
| Methods in org.broadleafcommerce.common.money that return Money | |
|---|---|
Money |
Money.abs()
|
static Money |
Money.abs(Money money)
|
Money |
Money.add(Money other)
|
Money |
CurrencyConversionService.convertCurrency(Money source,
Currency destinationCurrency,
int destinationScale)
Converts the given Money into the destination. |
Money |
Money.divide(BigDecimal divisor)
|
Money |
Money.divide(BigDecimal divisor,
RoundingMode roundingMode)
|
Money |
Money.divide(double amount)
|
Money |
Money.divide(double amount,
RoundingMode roundingMode)
|
Money |
Money.divide(int amount)
|
Money |
Money.divide(int amount,
RoundingMode roundingMode)
|
Money |
Money.max(Money other)
|
static Money |
Money.max(Money left,
Money right)
|
Money |
Money.min(Money other)
|
static Money |
Money.min(Money left,
Money right)
|
Money |
Money.multiply(BigDecimal multiplier)
|
Money |
Money.multiply(double amount)
|
Money |
Money.multiply(int amount)
|
Money |
Money.negate()
|
Money |
Money.subtract(Money other)
|
Money |
Money.zero()
|
static Money |
Money.zero(Currency currency)
|
static Money |
Money.zero(String currencyCode)
|
| Methods in org.broadleafcommerce.common.money with parameters of type Money | |
|---|---|
static Money |
Money.abs(Money money)
|
Money |
Money.add(Money other)
|
int |
Money.compareTo(Money other)
|
Money |
CurrencyConversionService.convertCurrency(Money source,
Currency destinationCurrency,
int destinationScale)
Converts the given Money into the destination. |
boolean |
Money.greaterThan(Money other)
|
boolean |
Money.greaterThanOrEqual(Money other)
|
boolean |
Money.lessThan(Money other)
|
boolean |
Money.lessThanOrEqual(Money other)
|
Money |
Money.max(Money other)
|
static Money |
Money.max(Money left,
Money right)
|
Money |
Money.min(Money other)
|
static Money |
Money.min(Money left,
Money right)
|
Money |
Money.subtract(Money other)
|
static BigDecimal |
Money.toAmount(Money money)
|
static Currency |
Money.toCurrency(Money money)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||