public enum YelloCurrency extends java.lang.Enum<YelloCurrency>
Enum Constant and Description |
---|
AED |
AUD |
BGN |
BRL |
BYR |
CAD |
CHF |
CNY |
CZK |
DKK |
EUR |
GBP |
HKD |
HRK |
HUF |
ILS |
ISK |
JPY |
LTL |
LVL |
MDL |
MYR |
NOK |
NZD |
PHP |
PLN |
ROL |
RON |
RUB |
RUR |
SEK |
SKK |
TND |
TRY |
UAH |
USD |
USN |
USS |
VND |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlphabeticCode() |
static YelloCurrency |
getByCurrencyAlphabeticCode(java.lang.String currencyAlphabeticCode) |
static YelloCurrency |
getByCurrencyNumericCode(int currencyNumericCode) |
static YelloCurrency |
getByCurrencyNumericCode(java.lang.String currencyNumericCode) |
java.lang.String |
getCountryName() |
java.lang.Integer |
getCurrencyExponent() |
java.lang.String |
getCurrencyName() |
java.lang.Integer |
getNumericCode() |
static boolean |
isValidCode(java.lang.String code)
Looks up the currency in the currency table
|
java.lang.String |
toString() |
static YelloCurrency |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static YelloCurrency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YelloCurrency AED
public static final YelloCurrency AUD
public static final YelloCurrency BRL
public static final YelloCurrency BYR
public static final YelloCurrency BGN
public static final YelloCurrency CAD
public static final YelloCurrency DKK
public static final YelloCurrency EUR
public static final YelloCurrency CNY
public static final YelloCurrency CZK
public static final YelloCurrency HKD
public static final YelloCurrency HUF
public static final YelloCurrency HRK
public static final YelloCurrency ISK
public static final YelloCurrency ILS
public static final YelloCurrency MDL
public static final YelloCurrency MYR
public static final YelloCurrency NOK
public static final YelloCurrency NZD
public static final YelloCurrency JPY
public static final YelloCurrency LVL
public static final YelloCurrency LTL
public static final YelloCurrency PHP
public static final YelloCurrency PLN
public static final YelloCurrency ROL
public static final YelloCurrency RON
public static final YelloCurrency RUB
public static final YelloCurrency RUR
public static final YelloCurrency SEK
public static final YelloCurrency SKK
public static final YelloCurrency TRY
public static final YelloCurrency CHF
public static final YelloCurrency UAH
public static final YelloCurrency GBP
public static final YelloCurrency USS
public static final YelloCurrency USN
public static final YelloCurrency USD
public static final YelloCurrency VND
public static final YelloCurrency TND
public static YelloCurrency[] values()
for (YelloCurrency c : YelloCurrency.values()) System.out.println(c);
public static YelloCurrency valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static YelloCurrency getByCurrencyAlphabeticCode(java.lang.String currencyAlphabeticCode)
public static YelloCurrency getByCurrencyNumericCode(int currencyNumericCode)
public static YelloCurrency getByCurrencyNumericCode(java.lang.String currencyNumericCode)
public static boolean isValidCode(java.lang.String code)
code
- is either numerical or alphabetic currency codepublic java.lang.String getCountryName()
public java.lang.Integer getNumericCode()
public java.lang.String getAlphabeticCode()
public java.lang.String getCurrencyName()
public java.lang.Integer getCurrencyExponent()
public java.lang.String toString()
toString
in class java.lang.Enum<YelloCurrency>
Copyright © 2019 Yello. All rights reserved.