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 stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetThreeDSReqPriorAuthData()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()ThreeDSRequestorPriorAuthenticationInfoincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.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)Data that documents and supports a specific authentication process.ThreeDSRequestorPriorAuthenticationInfothreeDSReqPriorAuthMethod(ThreeDSRequestorPriorAuthenticationInfo.ThreeDSReqPriorAuthMethodEnum threeDSReqPriorAuthMethod)Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor.ThreeDSRequestorPriorAuthenticationInfothreeDSReqPriorAuthTimestamp(String threeDSReqPriorAuthTimestamp)Date and time in UTC of the prior cardholder authentication.ThreeDSRequestorPriorAuthenticationInfothreeDSReqPriorRef(String threeDSReqPriorRef)This data element provides additional information to the ACS to determine the best approach for handing a request.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)
Data that documents and supports a specific authentication process. Maximum length: 2048 bytes.- Parameters:
threeDSReqPriorAuthData- Data that documents and supports a specific authentication process. Maximum length: 2048 bytes.- Returns:
- the current
ThreeDSRequestorPriorAuthenticationInfoinstance, allowing for method chaining
-
getThreeDSReqPriorAuthData
public String getThreeDSReqPriorAuthData()
Data that documents and supports a specific authentication process. Maximum length: 2048 bytes.- Returns:
- threeDSReqPriorAuthData Data that documents and supports a specific authentication process. Maximum length: 2048 bytes.
-
setThreeDSReqPriorAuthData
public void setThreeDSReqPriorAuthData(String threeDSReqPriorAuthData)
Data that documents and supports a specific authentication process. Maximum length: 2048 bytes.- Parameters:
threeDSReqPriorAuthData- Data that documents and supports a specific authentication process. Maximum length: 2048 bytes.
-
threeDSReqPriorAuthMethod
public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorAuthMethod(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- 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:
- the current
ThreeDSRequestorPriorAuthenticationInfoinstance, allowing for method chaining
-
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 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.
-
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- 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.
-
threeDSReqPriorAuthTimestamp
public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorAuthTimestamp(String threeDSReqPriorAuthTimestamp)
Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM- Parameters:
threeDSReqPriorAuthTimestamp- Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM- Returns:
- the current
ThreeDSRequestorPriorAuthenticationInfoinstance, allowing for method chaining
-
getThreeDSReqPriorAuthTimestamp
public String getThreeDSReqPriorAuthTimestamp()
Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM- Returns:
- threeDSReqPriorAuthTimestamp Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM
-
setThreeDSReqPriorAuthTimestamp
public void setThreeDSReqPriorAuthTimestamp(String threeDSReqPriorAuthTimestamp)
Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM- Parameters:
threeDSReqPriorAuthTimestamp- Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM
-
threeDSReqPriorRef
public ThreeDSRequestorPriorAuthenticationInfo threeDSReqPriorRef(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- 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:
- the current
ThreeDSRequestorPriorAuthenticationInfoinstance, allowing for method chaining
-
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 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.
-
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- 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.
-
includeNullValues
public ThreeDSRequestorPriorAuthenticationInfo includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this ThreeDSRequestorPriorAuthenticationInfo object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-