Package com.adyen.model.management
Enum KlarnaInfo.RegionEnum
- java.lang.Object
-
- java.lang.Enum<KlarnaInfo.RegionEnum>
-
- com.adyen.model.management.KlarnaInfo.RegionEnum
-
- All Implemented Interfaces:
Serializable,Comparable<KlarnaInfo.RegionEnum>
- Enclosing class:
- KlarnaInfo
public static enum KlarnaInfo.RegionEnum extends Enum<KlarnaInfo.RegionEnum>
The region of operation. For example, **NA**, **EU**, **CH**, **AU**.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KlarnaInfo.RegionEnumfromValue(String value)StringgetValue()StringtoString()static KlarnaInfo.RegionEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static KlarnaInfo.RegionEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NA
public static final KlarnaInfo.RegionEnum NA
-
EU
public static final KlarnaInfo.RegionEnum EU
-
CH
public static final KlarnaInfo.RegionEnum CH
-
AU
public static final KlarnaInfo.RegionEnum AU
-
-
Method Detail
-
values
public static KlarnaInfo.RegionEnum[] 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 (KlarnaInfo.RegionEnum c : KlarnaInfo.RegionEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KlarnaInfo.RegionEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<KlarnaInfo.RegionEnum>
-
fromValue
public static KlarnaInfo.RegionEnum fromValue(String value)
-
-