Package com.adyen.model.checkout
Enum AuthenticationData.AttemptAuthenticationEnum
- java.lang.Object
-
- java.lang.Enum<AuthenticationData.AttemptAuthenticationEnum>
-
- com.adyen.model.checkout.AuthenticationData.AttemptAuthenticationEnum
-
- All Implemented Interfaces:
Serializable,Comparable<AuthenticationData.AttemptAuthenticationEnum>
- Enclosing class:
- AuthenticationData
public static enum AuthenticationData.AttemptAuthenticationEnum extends Enum<AuthenticationData.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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthenticationData.AttemptAuthenticationEnumfromValue(String value)StringgetValue()StringtoString()static AuthenticationData.AttemptAuthenticationEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static AuthenticationData.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 AuthenticationData.AttemptAuthenticationEnum ALWAYS
-
NEVER
public static final AuthenticationData.AttemptAuthenticationEnum NEVER
-
-
Method Detail
-
values
public static AuthenticationData.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 (AuthenticationData.AttemptAuthenticationEnum c : AuthenticationData.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 AuthenticationData.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<AuthenticationData.AttemptAuthenticationEnum>
-
fromValue
public static AuthenticationData.AttemptAuthenticationEnum fromValue(String value)
-
-