Package com.adyen.model.checkout
Enum ThreeDSRequestData.NativeThreeDSEnum
- java.lang.Object
-
- java.lang.Enum<ThreeDSRequestData.NativeThreeDSEnum>
-
- com.adyen.model.checkout.ThreeDSRequestData.NativeThreeDSEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ThreeDSRequestData.NativeThreeDSEnum>
- Enclosing class:
- ThreeDSRequestData
public static enum ThreeDSRequestData.NativeThreeDSEnum extends Enum<ThreeDSRequestData.NativeThreeDSEnum>
Indicates if [native 3D Secure authentication](https://docs.adyen.com/online-payments/3d-secure/native-3ds2) should be used when available. Possible values: * **preferred**: Use native 3D Secure authentication when available.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PREFERRED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThreeDSRequestData.NativeThreeDSEnumfromValue(String value)StringgetValue()StringtoString()static ThreeDSRequestData.NativeThreeDSEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ThreeDSRequestData.NativeThreeDSEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREFERRED
public static final ThreeDSRequestData.NativeThreeDSEnum PREFERRED
-
-
Method Detail
-
values
public static ThreeDSRequestData.NativeThreeDSEnum[] 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.NativeThreeDSEnum c : ThreeDSRequestData.NativeThreeDSEnum.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.NativeThreeDSEnum 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.NativeThreeDSEnum>
-
fromValue
public static ThreeDSRequestData.NativeThreeDSEnum fromValue(String value)
-
-