Package com.adyen.model.payment
Class ThreeDSRequestorAuthenticationInfo
- java.lang.Object
-
- com.adyen.model.payment.ThreeDSRequestorAuthenticationInfo
-
public class ThreeDSRequestorAuthenticationInfo extends Object
ThreeDSRequestorAuthenticationInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreeDSRequestorAuthenticationInfo.CustomTypeAdapterFactorystatic classThreeDSRequestorAuthenticationInfo.ThreeDSReqAuthMethodEnumMechanism used by the Cardholder to authenticate to the 3DS Requestor.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_THREE_D_S_REQ_AUTH_DATAstatic StringSERIALIZED_NAME_THREE_D_S_REQ_AUTH_METHODstatic StringSERIALIZED_NAME_THREE_D_S_REQ_AUTH_TIMESTAMP
-
Constructor Summary
Constructors Constructor Description ThreeDSRequestorAuthenticationInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ThreeDSRequestorAuthenticationInfofromJson(String jsonString)Create an instance of ThreeDSRequestorAuthenticationInfo given an JSON stringStringgetThreeDSReqAuthData()Data that documents and supports a specific authentication process.ThreeDSRequestorAuthenticationInfo.ThreeDSReqAuthMethodEnumgetThreeDSReqAuthMethod()Mechanism used by the Cardholder to authenticate to the 3DS Requestor.StringgetThreeDSReqAuthTimestamp()Date and time in UTC of the cardholder authentication.inthashCode()voidsetThreeDSReqAuthData(String threeDSReqAuthData)voidsetThreeDSReqAuthMethod(ThreeDSRequestorAuthenticationInfo.ThreeDSReqAuthMethodEnum threeDSReqAuthMethod)voidsetThreeDSReqAuthTimestamp(String threeDSReqAuthTimestamp)ThreeDSRequestorAuthenticationInfothreeDSReqAuthData(String threeDSReqAuthData)ThreeDSRequestorAuthenticationInfothreeDSReqAuthMethod(ThreeDSRequestorAuthenticationInfo.ThreeDSReqAuthMethodEnum threeDSReqAuthMethod)ThreeDSRequestorAuthenticationInfothreeDSReqAuthTimestamp(String threeDSReqAuthTimestamp)StringtoJson()Convert an instance of ThreeDSRequestorAuthenticationInfo to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_THREE_D_S_REQ_AUTH_DATA
public static final String SERIALIZED_NAME_THREE_D_S_REQ_AUTH_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THREE_D_S_REQ_AUTH_METHOD
public static final String SERIALIZED_NAME_THREE_D_S_REQ_AUTH_METHOD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THREE_D_S_REQ_AUTH_TIMESTAMP
public static final String SERIALIZED_NAME_THREE_D_S_REQ_AUTH_TIMESTAMP
- See Also:
- Constant Field Values
-
-
Method Detail
-
threeDSReqAuthData
public ThreeDSRequestorAuthenticationInfo threeDSReqAuthData(String threeDSReqAuthData)
-
getThreeDSReqAuthData
public String getThreeDSReqAuthData()
Data that documents and supports a specific authentication process. Maximum length: 2048 bytes.- Returns:
- threeDSReqAuthData
-
setThreeDSReqAuthData
public void setThreeDSReqAuthData(String threeDSReqAuthData)
-
threeDSReqAuthMethod
public ThreeDSRequestorAuthenticationInfo threeDSReqAuthMethod(ThreeDSRequestorAuthenticationInfo.ThreeDSReqAuthMethodEnum threeDSReqAuthMethod)
-
getThreeDSReqAuthMethod
public ThreeDSRequestorAuthenticationInfo.ThreeDSReqAuthMethodEnum getThreeDSReqAuthMethod()
Mechanism used by the Cardholder to authenticate to the 3DS Requestor. Allowed values: * **01** — No 3DS Requestor authentication occurred (for example, cardholder “logged in” as guest). * **02** — Login to the cardholder account at the 3DS Requestor system using 3DS Requestor’s own credentials. * **03** — Login to the cardholder account at the 3DS Requestor system using federated ID. * **04** — Login to the cardholder account at the 3DS Requestor system using issuer credentials. * **05** — Login to the cardholder account at the 3DS Requestor system using third-party authentication. * **06** — Login to the cardholder account at the 3DS Requestor system using FIDO Authenticator.- Returns:
- threeDSReqAuthMethod
-
setThreeDSReqAuthMethod
public void setThreeDSReqAuthMethod(ThreeDSRequestorAuthenticationInfo.ThreeDSReqAuthMethodEnum threeDSReqAuthMethod)
-
threeDSReqAuthTimestamp
public ThreeDSRequestorAuthenticationInfo threeDSReqAuthTimestamp(String threeDSReqAuthTimestamp)
-
getThreeDSReqAuthTimestamp
public String getThreeDSReqAuthTimestamp()
Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM- Returns:
- threeDSReqAuthTimestamp
-
setThreeDSReqAuthTimestamp
public void setThreeDSReqAuthTimestamp(String threeDSReqAuthTimestamp)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ThreeDSRequestorAuthenticationInfo
-
fromJson
public static ThreeDSRequestorAuthenticationInfo fromJson(String jsonString) throws IOException
Create an instance of ThreeDSRequestorAuthenticationInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ThreeDSRequestorAuthenticationInfo
- Throws:
IOException- if the JSON string is invalid with respect to ThreeDSRequestorAuthenticationInfo
-
toJson
public String toJson()
Convert an instance of ThreeDSRequestorAuthenticationInfo to an JSON string- Returns:
- JSON string
-
-