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.ThreeDSReqPriorAuthMethodEnumMechanism used by the Cardholder to previously authenticate to the 3DS Requestor.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_DATAstatic StringJSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_METHODstatic StringJSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_TIMESTAMPstatic StringJSON_PROPERTY_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)Return true if this ThreeDSRequestorPriorAuthenticationInfo object is equal to 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)Data that documents and supports a specific authentication process.voidsetThreeDSReqPriorAuthMethod(ThreeDSRequestorPriorAuthenticationInfo.ThreeDSReqPriorAuthMethodEnum threeDSReqPriorAuthMethod)Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor.voidsetThreeDSReqPriorAuthTimestamp(String threeDSReqPriorAuthTimestamp)Date and time in UTC of the prior cardholder authentication.voidsetThreeDSReqPriorRef(String threeDSReqPriorRef)This data element provides additional information to the ACS to determine the best approach for handing a request.ThreeDSRequestorPriorAuthenticationInfothreeDSReqPriorAuthData(String threeDSReqPriorAuthData)ThreeDSRequestorPriorAuthenticationInfothreeDSReqPriorAuthMethod(ThreeDSRequestorPriorAuthenticationInfo.ThreeDSReqPriorAuthMethodEnum threeDSReqPriorAuthMethod)ThreeDSRequestorPriorAuthenticationInfothreeDSReqPriorAuthTimestamp(String threeDSReqPriorAuthTimestamp)ThreeDSRequestorPriorAuthenticationInfothreeDSReqPriorRef(String threeDSReqPriorRef)StringtoJson()Convert an instance of ThreeDSRequestorPriorAuthenticationInfo to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_DATA
public static final String JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_METHOD
public static final String JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_METHOD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_TIMESTAMP
public static final String JSON_PROPERTY_THREE_D_S_REQ_PRIOR_AUTH_TIMESTAMP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S_REQ_PRIOR_REF
public static final String JSON_PROPERTY_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)
Data that documents and supports a specific authentication process. Maximum length: 2048 bytes.- Parameters:
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)
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.- Parameters:
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)
Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM- Parameters:
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)
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.- Parameters:
threeDSReqPriorRef-
-
equals
public boolean equals(Object o)
Return true if this ThreeDSRequestorPriorAuthenticationInfo object is equal to o.
-
fromJson
public static ThreeDSRequestorPriorAuthenticationInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ThreeDSRequestorPriorAuthenticationInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ThreeDSRequestorPriorAuthenticationInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ThreeDSRequestorPriorAuthenticationInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ThreeDSRequestorPriorAuthenticationInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-