Class CurrencyInfo


  • public class CurrencyInfo
    extends Object
    Stores the requested and fallback currencies needed for a pricing request. An implementation may allow for a variety of requested currencies but only store pricing in a default or "fallback" currency.
    See Also:
    CurrencyConversionService, PriceListFilterService
    • Method Detail

      • getInstance

        public static CurrencyInfo getInstance​(javax.money.CurrencyUnit fallbackCurrency,
                                               javax.money.CurrencyUnit requestedCurrency)
      • getRequestedCurrency

        public javax.money.CurrencyUnit getRequestedCurrency()
      • getFallbackCurrency

        public javax.money.CurrencyUnit getFallbackCurrency()
      • getCurrencies

        public List<javax.money.CurrencyUnit> getCurrencies()