public final class MoneyProducer extends Object implements MonetaryAmountProducer
MonetaryAmountProducer that creates MonetaryAmount
using Money implementation.| Constructor and Description |
|---|
MoneyProducer() |
| Modifier and Type | Method and Description |
|---|---|
MonetaryAmount |
create(CurrencyUnit currency,
Number number)
|
public MoneyProducer()
public MonetaryAmount create(CurrencyUnit currency, Number number)
MonetaryAmountProducercreate in interface MonetaryAmountProducercurrency - the currency, not null.number - the amount, not null.MonetaryAmount never nullCopyright © 2012–2020 JavaMoney. All rights reserved.