Class CurrencyInfo

java.lang.Object
com.broadleafcommerce.pricing.domain.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:
  • Method Details

    • 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()