Interface AmountConverter

All Known Implementing Classes:
DecimalNumberAmountConverter, DecimalStringAmountConverter, MinorCurrencyUnitAmountConverter

interface AmountConverter
Common interface for amount conversion strategies used by Money (de)serializer. Allows conversion of Money to implementation-specific representation of its amount, and back to Money.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromMoney(org.joda.money.Money money)
     
    org.joda.money.Money
    toMoney(org.joda.money.CurrencyUnit currencyUnit, BigDecimal amount)
     
  • Method Details

    • fromMoney

      Object fromMoney(org.joda.money.Money money)
    • toMoney

      org.joda.money.Money toMoney(org.joda.money.CurrencyUnit currencyUnit, BigDecimal amount)