Package com.adyen.model.checkout
Enum ThreeDSRequestData.ThreeDSVersionEnum
- java.lang.Object
-
- java.lang.Enum<ThreeDSRequestData.ThreeDSVersionEnum>
-
- com.adyen.model.checkout.ThreeDSRequestData.ThreeDSVersionEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ThreeDSRequestData.ThreeDSVersionEnum>
- Enclosing class:
- ThreeDSRequestData
public static enum ThreeDSRequestData.ThreeDSVersionEnum extends Enum<ThreeDSRequestData.ThreeDSVersionEnum>
The version of 3D Secure to use. Possible values: * **2.1.0** * **2.2.0**
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThreeDSRequestData.ThreeDSVersionEnumfromValue(String value)StringgetValue()StringtoString()static ThreeDSRequestData.ThreeDSVersionEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ThreeDSRequestData.ThreeDSVersionEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_1_0
public static final ThreeDSRequestData.ThreeDSVersionEnum _1_0
-
_2_0
public static final ThreeDSRequestData.ThreeDSVersionEnum _2_0
-
-
Method Detail
-
values
public static ThreeDSRequestData.ThreeDSVersionEnum[] 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 (ThreeDSRequestData.ThreeDSVersionEnum c : ThreeDSRequestData.ThreeDSVersionEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThreeDSRequestData.ThreeDSVersionEnum 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<ThreeDSRequestData.ThreeDSVersionEnum>
-
fromValue
public static ThreeDSRequestData.ThreeDSVersionEnum fromValue(String value)
-
-