Package com.adyen.model.payment
Class ThreeDSRequestorPriorAuthenticationInfo
- java.lang.Object
-
- com.adyen.model.payment.ThreeDSRequestorPriorAuthenticationInfo
-
public class ThreeDSRequestorPriorAuthenticationInfo extends Object
ThreeDSRequestorPriorAuthenticationInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreeDSRequestorPriorAuthenticationInfo.CustomTypeAdapterFactorystatic classThreeDSRequestorPriorAuthenticationInfo.ThreeDSReqPriorAuthMethodEnumMechanism used by the Cardholder to previously 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_PRIOR_AUTH_DATAstatic StringSERIALIZED_NAME_THREE_D_S_REQ_PRIOR_AUTH_METHODstatic StringSERIALIZED_NAME_THREE_D_S_REQ_PRIOR_AUTH_TIMESTAMPstatic StringSERIALIZED_NAME_THREE_D_S_REQ_PRIOR_REF
-
Constructor Summary
Constructors Constructor Description ThreeDSRequestorPriorAuthenticationInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ThreeDSRequestorPriorAuthenticationInfofromJson(String jsonString)Create an instance of ThreeDSRequestorPriorAuthenticationInfo given an JSON stringStringgetThreeDSReqPriorAuthData()Data that documents and supports a specific authentication process.ThreeDSRequestorPriorAuthenticationInfo.ThreeDSReqPriorAuthMethodEnumgetThreeDSReqPriorAuthMethod()Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor.StringgetThreeDSReqPriorAuthTimestamp()Date and time in UTC of the prior cardholder authentication.StringgetThreeDSReqPriorRef()This data element provides additional information to the ACS to determine the best approach for handing a request.inthashCode()voidsetThreeDSReqPriorAuthData(String threeDSReqPriorAuthData)voidsetThreeDSReqPriorAuthMethod(ThreeDSRequestorPriorAuthenticationInfo.ThreeDSReqPriorAuthMethodEnum threeDSReqPriorAuthMethod)voidsetThreeDSReqPriorAuthTimestamp(String threeDSReqPriorAuthTimestamp)voidsetThreeDSReqPriorRef(String threeDSReqPriorRef)ThreeDSRequestorPriorAuthenticationInfothreeDSReqPriorAuthData(String threeDSReqPriorAuthData)ThreeDSRequestorPriorAuthenticationInfothreeDSReqPriorAuthMethod(ThreeDSRequestorPriorAuthenticationInfo.ThreeDSReqPriorAuthMethodEnum threeDSReqPriorAuthMethod)ThreeDSRequestorPriorAuthenticationInfothreeDSReqPriorAuthTimestamp(String threeDSReqPriorAuthTimestamp)ThreeDSRequestorPriorAuthenticationInfothreeDSReqPriorRef(String threeDSReqPriorRef)StringtoJson()Convert an instance of ThreeDSRequestorPriorAuthenticationInfo 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_PRIOR_AUTH_DATA
public static final String SERIALIZED_NAME_THREE_D_S_REQ_PRIOR_AUTH_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THREE_D_S_REQ_PRIOR_AUTH_METHOD
public static final String SERIALIZED_NAME_THREE_D_S_REQ_PRIOR_AUTH_METHOD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THREE_D_S_REQ_PRIOR_AUTH_TIMESTAMP
public static final String SERIALIZED_NAME_THREE_D_S_REQ_PRIOR_AUTH_TIMESTAMP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THREE_D_S_REQ_PRIOR_REF
public static final String SERIALIZED_NAME_THREE_D_S_REQ_PRIOR_REF
- See Also:
- Constant Field Values
-
-
Method Detail
-
threeDSReqPriorAuthData
public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorAuthData(String threeDSReqPriorAuthData)
-
getThreeDSReqPriorAuthData
public String getThreeDSReqPriorAuthData()
Data that documents and supports a specific authentication process. Maximum length: 2048 bytes.- Returns:
- threeDSReqPriorAuthData
-
setThreeDSReqPriorAuthData
public void setThreeDSReqPriorAuthData(String threeDSReqPriorAuthData)
-
threeDSReqPriorAuthMethod
public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorAuthMethod(ThreeDSRequestorPriorAuthenticationInfo.ThreeDSReqPriorAuthMethodEnum threeDSReqPriorAuthMethod)
-
getThreeDSReqPriorAuthMethod
public ThreeDSRequestorPriorAuthenticationInfo.ThreeDSReqPriorAuthMethodEnum getThreeDSReqPriorAuthMethod()
Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. Allowed values: * **01** — Frictionless authentication occurred by ACS. * **02** — Cardholder challenge occurred by ACS. * **03** — AVS verified. * **04** — Other issuer methods.- Returns:
- threeDSReqPriorAuthMethod
-
setThreeDSReqPriorAuthMethod
public void setThreeDSReqPriorAuthMethod(ThreeDSRequestorPriorAuthenticationInfo.ThreeDSReqPriorAuthMethodEnum threeDSReqPriorAuthMethod)
-
threeDSReqPriorAuthTimestamp
public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorAuthTimestamp(String threeDSReqPriorAuthTimestamp)
-
getThreeDSReqPriorAuthTimestamp
public String getThreeDSReqPriorAuthTimestamp()
Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM- Returns:
- threeDSReqPriorAuthTimestamp
-
setThreeDSReqPriorAuthTimestamp
public void setThreeDSReqPriorAuthTimestamp(String threeDSReqPriorAuthTimestamp)
-
threeDSReqPriorRef
public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorRef(String threeDSReqPriorRef)
-
getThreeDSReqPriorRef
public String getThreeDSReqPriorRef()
This data element provides additional information to the ACS to determine the best approach for handing a request. This data element contains an ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder. Length: 30 characters.- Returns:
- threeDSReqPriorRef
-
setThreeDSReqPriorRef
public void setThreeDSReqPriorRef(String threeDSReqPriorRef)
-
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 ThreeDSRequestorPriorAuthenticationInfo
-
fromJson
public static ThreeDSRequestorPriorAuthenticationInfo fromJson(String jsonString) throws IOException
Create an instance of ThreeDSRequestorPriorAuthenticationInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ThreeDSRequestorPriorAuthenticationInfo
- Throws:
IOException- if the JSON string is invalid with respect to ThreeDSRequestorPriorAuthenticationInfo
-
toJson
public String toJson()
Convert an instance of ThreeDSRequestorPriorAuthenticationInfo to an JSON string- Returns:
- JSON string
-
-