Class CurrencyInfo
java.lang.Object
com.broadleafcommerce.pricing.domain.CurrencyInfo
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.
-
Method Summary
Modifier and TypeMethodDescriptionList<javax.money.CurrencyUnit>
javax.money.CurrencyUnit
static CurrencyInfo
getInstance
(javax.money.CurrencyUnit fallbackCurrency, javax.money.CurrencyUnit requestedCurrency) javax.money.CurrencyUnit
-
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
-