public enum CurrencyType extends Enum<CurrencyType>
Specifies the type of currency. Used to distinguish between base and DCC currencies.
The following values are valid:
Specification: retail.
| Enum Constant and Description |
|---|
DCC
Currency used for DCC conversion
|
FOREIGN
Foreign currency
|
LOCAL
Local currency depending on location
|
| Modifier and Type | Method and Description |
|---|---|
static CurrencyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CurrencyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CurrencyType LOCAL
Local currency depending on location
Specification: retail.
public static final CurrencyType FOREIGN
Foreign currency
Specification: retail.
public static final CurrencyType DCC
Currency used for DCC conversion
Specification: retail.
public static CurrencyType[] values()
for (CurrencyType c : CurrencyType.values()) System.out.println(c);
public static CurrencyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null