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:
CurrencyConversionService
,PriceListFilterService
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<javax.money.CurrencyUnit>
getCurrencies()
javax.money.CurrencyUnit
getFallbackCurrency()
static CurrencyInfo
getInstance(javax.money.CurrencyUnit fallbackCurrency, javax.money.CurrencyUnit requestedCurrency)
javax.money.CurrencyUnit
getRequestedCurrency()
-
-
-
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()
-
-