Package com.adyen.model.payment
Class ThreeDS1Result
- java.lang.Object
-
- com.adyen.model.payment.ThreeDS1Result
-
public class ThreeDS1Result extends Object
ThreeDS1Result
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CAVVstatic StringJSON_PROPERTY_CAVV_ALGORITHMstatic StringJSON_PROPERTY_ECIstatic StringJSON_PROPERTY_THREE_D_AUTHENTICATED_RESPONSEstatic StringJSON_PROPERTY_THREE_D_OFFERED_RESPONSEstatic StringJSON_PROPERTY_XID
-
Constructor Summary
Constructors Constructor Description ThreeDS1Result()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreeDS1Resultcavv(String cavv)The cardholder authentication value (base64 encoded).ThreeDS1ResultcavvAlgorithm(String cavvAlgorithm)The CAVV algorithm used.ThreeDS1Resulteci(String eci)3D Secure Electronic Commerce Indicator (ECI).booleanequals(Object o)Return true if this ThreeDS1Result object is equal to o.static ThreeDS1ResultfromJson(String jsonString)Create an instance of ThreeDS1Result given an JSON stringStringgetCavv()The cardholder authentication value (base64 encoded).StringgetCavvAlgorithm()The CAVV algorithm used.StringgetEci()3D Secure Electronic Commerce Indicator (ECI).StringgetThreeDAuthenticatedResponse()The authentication response from the ACS.StringgetThreeDOfferedResponse()Whether 3D Secure was offered or not.StringgetXid()A unique transaction identifier generated by the MPI on behalf of the merchant to identify the 3D Secure transaction, in `Base64` encoding.inthashCode()voidsetCavv(String cavv)The cardholder authentication value (base64 encoded).voidsetCavvAlgorithm(String cavvAlgorithm)The CAVV algorithm used.voidsetEci(String eci)3D Secure Electronic Commerce Indicator (ECI).voidsetThreeDAuthenticatedResponse(String threeDAuthenticatedResponse)The authentication response from the ACS.voidsetThreeDOfferedResponse(String threeDOfferedResponse)Whether 3D Secure was offered or not.voidsetXid(String xid)A unique transaction identifier generated by the MPI on behalf of the merchant to identify the 3D Secure transaction, in `Base64` encoding.ThreeDS1ResultthreeDAuthenticatedResponse(String threeDAuthenticatedResponse)The authentication response from the ACS.ThreeDS1ResultthreeDOfferedResponse(String threeDOfferedResponse)Whether 3D Secure was offered or not.StringtoJson()Convert an instance of ThreeDS1Result to an JSON stringStringtoString()ThreeDS1Resultxid(String xid)A unique transaction identifier generated by the MPI on behalf of the merchant to identify the 3D Secure transaction, in `Base64` encoding.
-
-
-
Field Detail
-
JSON_PROPERTY_CAVV
public static final String JSON_PROPERTY_CAVV
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAVV_ALGORITHM
public static final String JSON_PROPERTY_CAVV_ALGORITHM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ECI
public static final String JSON_PROPERTY_ECI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_AUTHENTICATED_RESPONSE
public static final String JSON_PROPERTY_THREE_D_AUTHENTICATED_RESPONSE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_OFFERED_RESPONSE
public static final String JSON_PROPERTY_THREE_D_OFFERED_RESPONSE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_XID
public static final String JSON_PROPERTY_XID
- See Also:
- Constant Field Values
-
-
Method Detail
-
cavv
public ThreeDS1Result cavv(String cavv)
The cardholder authentication value (base64 encoded).- Parameters:
cavv-- Returns:
- the current
ThreeDS1Resultinstance, allowing for method chaining
-
getCavv
public String getCavv()
The cardholder authentication value (base64 encoded).- Returns:
- cavv
-
setCavv
public void setCavv(String cavv)
The cardholder authentication value (base64 encoded).- Parameters:
cavv-
-
cavvAlgorithm
public ThreeDS1Result cavvAlgorithm(String cavvAlgorithm)
The CAVV algorithm used.- Parameters:
cavvAlgorithm-- Returns:
- the current
ThreeDS1Resultinstance, allowing for method chaining
-
getCavvAlgorithm
public String getCavvAlgorithm()
The CAVV algorithm used.- Returns:
- cavvAlgorithm
-
setCavvAlgorithm
public void setCavvAlgorithm(String cavvAlgorithm)
The CAVV algorithm used.- Parameters:
cavvAlgorithm-
-
eci
public ThreeDS1Result eci(String eci)
3D Secure Electronic Commerce Indicator (ECI).- Parameters:
eci-- Returns:
- the current
ThreeDS1Resultinstance, allowing for method chaining
-
getEci
public String getEci()
3D Secure Electronic Commerce Indicator (ECI).- Returns:
- eci
-
setEci
public void setEci(String eci)
3D Secure Electronic Commerce Indicator (ECI).- Parameters:
eci-
-
threeDAuthenticatedResponse
public ThreeDS1Result threeDAuthenticatedResponse(String threeDAuthenticatedResponse)
The authentication response from the ACS.- Parameters:
threeDAuthenticatedResponse-- Returns:
- the current
ThreeDS1Resultinstance, allowing for method chaining
-
getThreeDAuthenticatedResponse
public String getThreeDAuthenticatedResponse()
The authentication response from the ACS.- Returns:
- threeDAuthenticatedResponse
-
setThreeDAuthenticatedResponse
public void setThreeDAuthenticatedResponse(String threeDAuthenticatedResponse)
The authentication response from the ACS.- Parameters:
threeDAuthenticatedResponse-
-
threeDOfferedResponse
public ThreeDS1Result threeDOfferedResponse(String threeDOfferedResponse)
Whether 3D Secure was offered or not.- Parameters:
threeDOfferedResponse-- Returns:
- the current
ThreeDS1Resultinstance, allowing for method chaining
-
getThreeDOfferedResponse
public String getThreeDOfferedResponse()
Whether 3D Secure was offered or not.- Returns:
- threeDOfferedResponse
-
setThreeDOfferedResponse
public void setThreeDOfferedResponse(String threeDOfferedResponse)
Whether 3D Secure was offered or not.- Parameters:
threeDOfferedResponse-
-
xid
public ThreeDS1Result xid(String xid)
A unique transaction identifier generated by the MPI on behalf of the merchant to identify the 3D Secure transaction, in `Base64` encoding.- Parameters:
xid-- Returns:
- the current
ThreeDS1Resultinstance, allowing for method chaining
-
getXid
public String getXid()
A unique transaction identifier generated by the MPI on behalf of the merchant to identify the 3D Secure transaction, in `Base64` encoding.- Returns:
- xid
-
setXid
public void setXid(String xid)
A unique transaction identifier generated by the MPI on behalf of the merchant to identify the 3D Secure transaction, in `Base64` encoding.- Parameters:
xid-
-
equals
public boolean equals(Object o)
Return true if this ThreeDS1Result object is equal to o.
-
fromJson
public static ThreeDS1Result fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ThreeDS1Result given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ThreeDS1Result
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ThreeDS1Result
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ThreeDS1Result to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-