Class Currency
java.lang.Object
de.hybris.order.calculation.money.Currency
Currency object to be used from inside the calculation framework. It simply combines a code and the number of digits
available for that currency.
Actually this class only exists because
Currency does not support creation of artificial
currencies.-
Constructor Details
-
Currency
Creates a new currency with given iso code and digits.
-
-
Method Details
-
valueOf
Shortcut for getting commonly used currency instances. Prefer this toCurrency(String, int)since this method caches instances. -
equals
-
hashCode
public int hashCode() -
toString
-
getIsoCode
-
getDigits
public int getDigits()
-