Package in.dragonbra.javasteam.enums
Enum ECurrencyCode
- java.lang.Object
-
- java.lang.Enum<ECurrencyCode>
-
- in.dragonbra.javasteam.enums.ECurrencyCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ECurrencyCode>
public enum ECurrencyCode extends java.lang.Enum<ECurrencyCode>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcode()static ECurrencyCodefrom(int code)static ECurrencyCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ECurrencyCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Invalid
public static final ECurrencyCode Invalid
-
USD
public static final ECurrencyCode USD
-
GBP
public static final ECurrencyCode GBP
-
EUR
public static final ECurrencyCode EUR
-
CHF
public static final ECurrencyCode CHF
-
RUB
public static final ECurrencyCode RUB
-
PLN
public static final ECurrencyCode PLN
-
BRL
public static final ECurrencyCode BRL
-
JPY
public static final ECurrencyCode JPY
-
NOK
public static final ECurrencyCode NOK
-
IDR
public static final ECurrencyCode IDR
-
MYR
public static final ECurrencyCode MYR
-
PHP
public static final ECurrencyCode PHP
-
SGD
public static final ECurrencyCode SGD
-
THB
public static final ECurrencyCode THB
-
VND
public static final ECurrencyCode VND
-
KRW
public static final ECurrencyCode KRW
-
TRY
public static final ECurrencyCode TRY
-
UAH
public static final ECurrencyCode UAH
-
MXN
public static final ECurrencyCode MXN
-
CAD
public static final ECurrencyCode CAD
-
AUD
public static final ECurrencyCode AUD
-
NZD
public static final ECurrencyCode NZD
-
CNY
public static final ECurrencyCode CNY
-
INR
public static final ECurrencyCode INR
-
CLP
public static final ECurrencyCode CLP
-
PEN
public static final ECurrencyCode PEN
-
COP
public static final ECurrencyCode COP
-
ZAR
public static final ECurrencyCode ZAR
-
HKD
public static final ECurrencyCode HKD
-
TWD
public static final ECurrencyCode TWD
-
SAR
public static final ECurrencyCode SAR
-
AED
public static final ECurrencyCode AED
-
ARS
public static final ECurrencyCode ARS
-
ILS
public static final ECurrencyCode ILS
-
BYN
public static final ECurrencyCode BYN
-
KZT
public static final ECurrencyCode KZT
-
KWD
public static final ECurrencyCode KWD
-
QAR
public static final ECurrencyCode QAR
-
CRC
public static final ECurrencyCode CRC
-
UYU
public static final ECurrencyCode UYU
-
-
Method Detail
-
values
public static ECurrencyCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ECurrencyCode c : ECurrencyCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ECurrencyCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
code
public int code()
-
from
public static ECurrencyCode from(int code)
-
-