public enum CountryCode extends Enum<CountryCode>
Modifier and Type | Class and Description |
---|---|
static class |
CountryCode.Adapter |
Enum Constant and Description |
---|
CA |
DE |
DK |
EE |
ENUM_UNKNOWN |
ES |
FR |
GB |
IE |
IT |
LT |
LV |
NL |
NO |
PL |
SE |
US |
Modifier and Type | Method and Description |
---|---|
static CountryCode |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static CountryCode |
valueOf(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.
|
public static final CountryCode US
public static final CountryCode GB
public static final CountryCode ES
public static final CountryCode NL
public static final CountryCode FR
public static final CountryCode IE
public static final CountryCode CA
public static final CountryCode DE
public static final CountryCode IT
public static final CountryCode PL
public static final CountryCode DK
public static final CountryCode NO
public static final CountryCode SE
public static final CountryCode EE
public static final CountryCode LT
public static final CountryCode LV
public static final CountryCode ENUM_UNKNOWN
public static CountryCode[] values()
for (CountryCode c : CountryCode.values()) System.out.println(c);
public static CountryCode 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 nullpublic String getValue()
public String toString()
toString
in class Enum<CountryCode>
public static CountryCode fromValue(String value)
Copyright © 2017–2023 Plaid Inc.. All rights reserved.