Package com.broadleafcommerce.money
Class SimpleCurrencyContext
java.lang.Object
com.broadleafcommerce.money.SimpleCurrencyContext
- All Implemented Interfaces:
CurrencyContext
,Serializable
Deprecated.
Immutable holder of a
CurrencyUnit
. Most commonly used by the
SystemCurrencyContextHolder
- Author:
- Phillip Verheyden (phillipuniverse)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleCurrencyContext
public SimpleCurrencyContext(javax.money.CurrencyUnit currency) Deprecated.
-
-
Method Details
-
getCurrency
public javax.money.CurrencyUnit getCurrency()Deprecated.Description copied from interface:CurrencyContext
Obtains the current currency associated with this execution- Specified by:
getCurrency
in interfaceCurrencyContext
- Returns:
- the current currency or null if there is none specified
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-