Package com.adyen.model.payment
Class ThreeDS1Result
- java.lang.Object
-
- com.adyen.model.payment.ThreeDS1Result
-
public class ThreeDS1Result extends Object
ThreeDS1Result
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreeDS1Result.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CAVVstatic StringSERIALIZED_NAME_CAVV_ALGORITHMstatic StringSERIALIZED_NAME_ECIstatic StringSERIALIZED_NAME_THREE_D_AUTHENTICATED_RESPONSEstatic StringSERIALIZED_NAME_THREE_D_OFFERED_RESPONSEstatic StringSERIALIZED_NAME_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)ThreeDS1ResultcavvAlgorithm(String cavvAlgorithm)ThreeDS1Resulteci(String eci)booleanequals(Object 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)voidsetCavvAlgorithm(String cavvAlgorithm)voidsetEci(String eci)voidsetThreeDAuthenticatedResponse(String threeDAuthenticatedResponse)voidsetThreeDOfferedResponse(String threeDOfferedResponse)voidsetXid(String xid)ThreeDS1ResultthreeDAuthenticatedResponse(String threeDAuthenticatedResponse)ThreeDS1ResultthreeDOfferedResponse(String threeDOfferedResponse)StringtoJson()Convert an instance of ThreeDS1Result to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundThreeDS1Resultxid(String xid)
-
-
-
Field Detail
-
SERIALIZED_NAME_CAVV
public static final String SERIALIZED_NAME_CAVV
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CAVV_ALGORITHM
public static final String SERIALIZED_NAME_CAVV_ALGORITHM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ECI
public static final String SERIALIZED_NAME_ECI
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THREE_D_AUTHENTICATED_RESPONSE
public static final String SERIALIZED_NAME_THREE_D_AUTHENTICATED_RESPONSE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THREE_D_OFFERED_RESPONSE
public static final String SERIALIZED_NAME_THREE_D_OFFERED_RESPONSE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_XID
public static final String SERIALIZED_NAME_XID
- See Also:
- Constant Field Values
-
-
Method Detail
-
cavv
public ThreeDS1Result cavv(String cavv)
-
getCavv
public String getCavv()
The cardholder authentication value (base64 encoded).- Returns:
- cavv
-
setCavv
public void setCavv(String cavv)
-
cavvAlgorithm
public ThreeDS1Result cavvAlgorithm(String cavvAlgorithm)
-
getCavvAlgorithm
public String getCavvAlgorithm()
The CAVV algorithm used.- Returns:
- cavvAlgorithm
-
setCavvAlgorithm
public void setCavvAlgorithm(String cavvAlgorithm)
-
eci
public ThreeDS1Result eci(String eci)
-
getEci
public String getEci()
3D Secure Electronic Commerce Indicator (ECI).- Returns:
- eci
-
setEci
public void setEci(String eci)
-
threeDAuthenticatedResponse
public ThreeDS1Result threeDAuthenticatedResponse(String threeDAuthenticatedResponse)
-
getThreeDAuthenticatedResponse
public String getThreeDAuthenticatedResponse()
The authentication response from the ACS.- Returns:
- threeDAuthenticatedResponse
-
setThreeDAuthenticatedResponse
public void setThreeDAuthenticatedResponse(String threeDAuthenticatedResponse)
-
threeDOfferedResponse
public ThreeDS1Result threeDOfferedResponse(String threeDOfferedResponse)
-
getThreeDOfferedResponse
public String getThreeDOfferedResponse()
Whether 3D Secure was offered or not.- Returns:
- threeDOfferedResponse
-
setThreeDOfferedResponse
public void setThreeDOfferedResponse(String threeDOfferedResponse)
-
xid
public ThreeDS1Result xid(String xid)
-
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)
-
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 ThreeDS1Result
-
fromJson
public static ThreeDS1Result fromJson(String jsonString) throws IOException
Create an instance of ThreeDS1Result given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ThreeDS1Result
- Throws:
IOException- if the JSON string is invalid with respect to ThreeDS1Result
-
toJson
public String toJson()
Convert an instance of ThreeDS1Result to an JSON string- Returns:
- JSON string
-
-