Package cz.gopay.api.v3.model.common
Enum CountryCode
- java.lang.Object
-
- java.lang.Enum<CountryCode>
-
- cz.gopay.api.v3.model.common.CountryCode
-
- All Implemented Interfaces:
Serializable,Comparable<CountryCode>
public enum CountryCode extends Enum<CountryCode>
- Author:
- Zbynek Novak | novak.zbynek@gmail.com, pvalenta //FIXME - refactoring az prejdeme na JAVA 7 - tato verze to jiz podporuje 3numeric ISO cody a 2 ALPHA cody v Locale
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CountryCodefromAlpha2Code(String code)static CountryCodefromAlpha2CodeNonFatal(String code)static CountryCodefromCodeStrict(String countryCode)static StringfromIso3ToIso2(String iso3CountryCode)static CountryCodegetByNumericalCode(Integer numericCode)IntegergetNumericCode()intgetPosition()StringtoAlpha2Code()StringtoIso2()StringtoIso3()static CountryCodevalueOf(String name)Returns the enum constant of this type with the specified name.static CountryCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CZE
public static final CountryCode CZE
-
SVK
public static final CountryCode SVK
-
AFG
public static final CountryCode AFG
-
ALA
public static final CountryCode ALA
-
ALB
public static final CountryCode ALB
-
DZA
public static final CountryCode DZA
-
ASM
public static final CountryCode ASM
-
VIR
public static final CountryCode VIR
-
AND
public static final CountryCode AND
-
AGO
public static final CountryCode AGO
-
AIA
public static final CountryCode AIA
-
ATA
public static final CountryCode ATA
-
ATG
public static final CountryCode ATG
-
ARG
public static final CountryCode ARG
-
ARM
public static final CountryCode ARM
-
ABW
public static final CountryCode ABW
-
AUS
public static final CountryCode AUS
-
AZE
public static final CountryCode AZE
-
BHS
public static final CountryCode BHS
-
BHR
public static final CountryCode BHR
-
BGD
public static final CountryCode BGD
-
BRB
public static final CountryCode BRB
-
BEL
public static final CountryCode BEL
-
BLZ
public static final CountryCode BLZ
-
BLR
public static final CountryCode BLR
-
BEN
public static final CountryCode BEN
-
BMU
public static final CountryCode BMU
-
BTN
public static final CountryCode BTN
-
BOL
public static final CountryCode BOL
-
BES
public static final CountryCode BES
-
BIH
public static final CountryCode BIH
-
BWA
public static final CountryCode BWA
-
BVT
public static final CountryCode BVT
-
BRA
public static final CountryCode BRA
-
IOT
public static final CountryCode IOT
-
VGB
public static final CountryCode VGB
-
BRN
public static final CountryCode BRN
-
BGR
public static final CountryCode BGR
-
BFA
public static final CountryCode BFA
-
BDI
public static final CountryCode BDI
-
COK
public static final CountryCode COK
-
CUW
public static final CountryCode CUW
-
TCD
public static final CountryCode TCD
-
MNE
public static final CountryCode MNE
-
CHN
public static final CountryCode CHN
-
DNK
public static final CountryCode DNK
-
COD
public static final CountryCode COD
-
DMA
public static final CountryCode DMA
-
DOM
public static final CountryCode DOM
-
DJI
public static final CountryCode DJI
-
EGY
public static final CountryCode EGY
-
ECU
public static final CountryCode ECU
-
ERI
public static final CountryCode ERI
-
EST
public static final CountryCode EST
-
ETH
public static final CountryCode ETH
-
FRO
public static final CountryCode FRO
-
FLK
public static final CountryCode FLK
-
FJI
public static final CountryCode FJI
-
PHL
public static final CountryCode PHL
-
FIN
public static final CountryCode FIN
-
FRA
public static final CountryCode FRA
-
GUF
public static final CountryCode GUF
-
ATF
public static final CountryCode ATF
-
PYF
public static final CountryCode PYF
-
GAB
public static final CountryCode GAB
-
GMB
public static final CountryCode GMB
-
GHA
public static final CountryCode GHA
-
GIB
public static final CountryCode GIB
-
GRD
public static final CountryCode GRD
-
GRL
public static final CountryCode GRL
-
GEO
public static final CountryCode GEO
-
GLP
public static final CountryCode GLP
-
GUM
public static final CountryCode GUM
-
GTM
public static final CountryCode GTM
-
GIN
public static final CountryCode GIN
-
GNB
public static final CountryCode GNB
-
GGY
public static final CountryCode GGY
-
GUY
public static final CountryCode GUY
-
HTI
public static final CountryCode HTI
-
HMD
public static final CountryCode HMD
-
HND
public static final CountryCode HND
-
HKG
public static final CountryCode HKG
-
CHL
public static final CountryCode CHL
-
HRV
public static final CountryCode HRV
-
IND
public static final CountryCode IND
-
IDN
public static final CountryCode IDN
-
IRQ
public static final CountryCode IRQ
-
IRN
public static final CountryCode IRN
-
IRL
public static final CountryCode IRL
-
ISL
public static final CountryCode ISL
-
ITA
public static final CountryCode ITA
-
ISR
public static final CountryCode ISR
-
JAM
public static final CountryCode JAM
-
JPN
public static final CountryCode JPN
-
YEM
public static final CountryCode YEM
-
JEY
public static final CountryCode JEY
-
ZAF
public static final CountryCode ZAF
-
SGS
public static final CountryCode SGS
-
KOR
public static final CountryCode KOR
-
SSD
public static final CountryCode SSD
-
JOR
public static final CountryCode JOR
-
CYM
public static final CountryCode CYM
-
KHM
public static final CountryCode KHM
-
CMR
public static final CountryCode CMR
-
CAN
public static final CountryCode CAN
-
CPV
public static final CountryCode CPV
-
QAT
public static final CountryCode QAT
-
KAZ
public static final CountryCode KAZ
-
KEN
public static final CountryCode KEN
-
KIR
public static final CountryCode KIR
-
CCK
public static final CountryCode CCK
-
COL
public static final CountryCode COL
-
COM
public static final CountryCode COM
-
COG
public static final CountryCode COG
-
CRI
public static final CountryCode CRI
-
CUB
public static final CountryCode CUB
-
KWT
public static final CountryCode KWT
-
CYP
public static final CountryCode CYP
-
KGZ
public static final CountryCode KGZ
-
LAO
public static final CountryCode LAO
-
LSO
public static final CountryCode LSO
-
LBN
public static final CountryCode LBN
-
LBR
public static final CountryCode LBR
-
LBY
public static final CountryCode LBY
-
LIE
public static final CountryCode LIE
-
LTU
public static final CountryCode LTU
-
LVA
public static final CountryCode LVA
-
LUX
public static final CountryCode LUX
-
MAC
public static final CountryCode MAC
-
MDG
public static final CountryCode MDG
-
HUN
public static final CountryCode HUN
-
MKD
public static final CountryCode MKD
-
MYS
public static final CountryCode MYS
-
MWI
public static final CountryCode MWI
-
MDV
public static final CountryCode MDV
-
MLI
public static final CountryCode MLI
-
MLT
public static final CountryCode MLT
-
IMN
public static final CountryCode IMN
-
MAR
public static final CountryCode MAR
-
MHL
public static final CountryCode MHL
-
MTQ
public static final CountryCode MTQ
-
MUS
public static final CountryCode MUS
-
MRT
public static final CountryCode MRT
-
MYT
public static final CountryCode MYT
-
UMI
public static final CountryCode UMI
-
MEX
public static final CountryCode MEX
-
FSM
public static final CountryCode FSM
-
MDA
public static final CountryCode MDA
-
MCO
public static final CountryCode MCO
-
MNG
public static final CountryCode MNG
-
MSR
public static final CountryCode MSR
-
MOZ
public static final CountryCode MOZ
-
MMR
public static final CountryCode MMR
-
NAM
public static final CountryCode NAM
-
NRU
public static final CountryCode NRU
-
DEU
public static final CountryCode DEU
-
NPL
public static final CountryCode NPL
-
NER
public static final CountryCode NER
-
NGA
public static final CountryCode NGA
-
NIC
public static final CountryCode NIC
-
NIU
public static final CountryCode NIU
-
NLD
public static final CountryCode NLD
-
NFK
public static final CountryCode NFK
-
NOR
public static final CountryCode NOR
-
NCL
public static final CountryCode NCL
-
NZL
public static final CountryCode NZL
-
OMN
public static final CountryCode OMN
-
PAK
public static final CountryCode PAK
-
PLW
public static final CountryCode PLW
-
PSE
public static final CountryCode PSE
-
PAN
public static final CountryCode PAN
-
PNG
public static final CountryCode PNG
-
PRY
public static final CountryCode PRY
-
PER
public static final CountryCode PER
-
PCN
public static final CountryCode PCN
-
CIV
public static final CountryCode CIV
-
POL
public static final CountryCode POL
-
PRI
public static final CountryCode PRI
-
PRT
public static final CountryCode PRT
-
AUT
public static final CountryCode AUT
-
REU
public static final CountryCode REU
-
GNQ
public static final CountryCode GNQ
-
ROU
public static final CountryCode ROU
-
RUS
public static final CountryCode RUS
-
RWA
public static final CountryCode RWA
-
GRC
public static final CountryCode GRC
-
SPM
public static final CountryCode SPM
-
SLV
public static final CountryCode SLV
-
WSM
public static final CountryCode WSM
-
SMR
public static final CountryCode SMR
-
SAU
public static final CountryCode SAU
-
SEN
public static final CountryCode SEN
-
PRK
public static final CountryCode PRK
-
MNP
public static final CountryCode MNP
-
SYC
public static final CountryCode SYC
-
SLE
public static final CountryCode SLE
-
SGP
public static final CountryCode SGP
-
SVN
public static final CountryCode SVN
-
SOM
public static final CountryCode SOM
-
ARE
public static final CountryCode ARE
-
GBR
public static final CountryCode GBR
-
USA
public static final CountryCode USA
-
SRB
public static final CountryCode SRB
-
CAF
public static final CountryCode CAF
-
SDN
public static final CountryCode SDN
-
SUR
public static final CountryCode SUR
-
SHN
public static final CountryCode SHN
-
LCA
public static final CountryCode LCA
-
BLM
public static final CountryCode BLM
-
KNA
public static final CountryCode KNA
-
MAF
public static final CountryCode MAF
-
SXM
public static final CountryCode SXM
-
STP
public static final CountryCode STP
-
VCT
public static final CountryCode VCT
-
SWZ
public static final CountryCode SWZ
-
SYR
public static final CountryCode SYR
-
SLB
public static final CountryCode SLB
-
ESP
public static final CountryCode ESP
-
SJM
public static final CountryCode SJM
-
LKA
public static final CountryCode LKA
-
SWE
public static final CountryCode SWE
-
CHE
public static final CountryCode CHE
-
TJK
public static final CountryCode TJK
-
TZA
public static final CountryCode TZA
-
THA
public static final CountryCode THA
-
TWN
public static final CountryCode TWN
-
TGO
public static final CountryCode TGO
-
TKL
public static final CountryCode TKL
-
TON
public static final CountryCode TON
-
TTO
public static final CountryCode TTO
-
TUN
public static final CountryCode TUN
-
TUR
public static final CountryCode TUR
-
TKM
public static final CountryCode TKM
-
TCA
public static final CountryCode TCA
-
TUV
public static final CountryCode TUV
-
UGA
public static final CountryCode UGA
-
UKR
public static final CountryCode UKR
-
URY
public static final CountryCode URY
-
UZB
public static final CountryCode UZB
-
CXR
public static final CountryCode CXR
-
VUT
public static final CountryCode VUT
-
VAT
public static final CountryCode VAT
-
VEN
public static final CountryCode VEN
-
VNM
public static final CountryCode VNM
-
TLS
public static final CountryCode TLS
-
WLF
public static final CountryCode WLF
-
ZMB
public static final CountryCode ZMB
-
ESH
public static final CountryCode ESH
-
ZWE
public static final CountryCode ZWE
-
UNK
public static final CountryCode UNK
-
-
Method Detail
-
values
public static CountryCode[] 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 (CountryCode c : CountryCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CountryCode valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toIso3
public String toIso3()
-
toIso2
public String toIso2()
-
fromCodeStrict
public static CountryCode fromCodeStrict(String countryCode)
-
fromAlpha2Code
public static CountryCode fromAlpha2Code(String code)
-
fromAlpha2CodeNonFatal
public static CountryCode fromAlpha2CodeNonFatal(String code)
-
toAlpha2Code
public String toAlpha2Code()
-
getNumericCode
public Integer getNumericCode()
- Returns:
- numeric code ISO 3166-1
-
getByNumericalCode
public static CountryCode getByNumericalCode(Integer numericCode)
-
getPosition
public int getPosition()
-
-