Package com.adyen.model.checkout
Enum AuthenticationData2.AttemptAuthenticationEnum
- java.lang.Object
-
- java.lang.Enum<AuthenticationData2.AttemptAuthenticationEnum>
-
- com.adyen.model.checkout.AuthenticationData2.AttemptAuthenticationEnum
-
- All Implemented Interfaces:
Serializable,Comparable<AuthenticationData2.AttemptAuthenticationEnum>
- Enclosing class:
- AuthenticationData2
public static enum AuthenticationData2.AttemptAuthenticationEnum extends Enum<AuthenticationData2.AttemptAuthenticationEnum>
Indicates when 3D Secure authentication should be attempted. This overrides all other rules, including [Dynamic 3D Secure settings](https://docs.adyen.com/risk-management/dynamic-3d-secure). Possible values: * **always**: Perform 3D Secure authentication. * **never**: Don't perform 3D Secure authentication. If PSD2 SCA or other national regulations require authentication, the transaction gets declined. * **preferNo**: Do not perform 3D Secure authentication if not required by PSD2 SCA or other national regulations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthenticationData2.AttemptAuthenticationEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthenticationData2.AttemptAuthenticationEnumfromValue(String value)StringgetValue()StringtoString()static AuthenticationData2.AttemptAuthenticationEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static AuthenticationData2.AttemptAuthenticationEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final AuthenticationData2.AttemptAuthenticationEnum ALWAYS
-
NEVER
public static final AuthenticationData2.AttemptAuthenticationEnum NEVER
-
PREFERNO
public static final AuthenticationData2.AttemptAuthenticationEnum PREFERNO
-
-
Method Detail
-
values
public static AuthenticationData2.AttemptAuthenticationEnum[] 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 (AuthenticationData2.AttemptAuthenticationEnum c : AuthenticationData2.AttemptAuthenticationEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationData2.AttemptAuthenticationEnum 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<AuthenticationData2.AttemptAuthenticationEnum>
-
fromValue
public static AuthenticationData2.AttemptAuthenticationEnum fromValue(String value)
-
-