Package com.adyen.model.payment
Class ThreeDS2ResultRequest
- java.lang.Object
-
- com.adyen.model.payment.ThreeDS2ResultRequest
-
public class ThreeDS2ResultRequest extends Object
ThreeDS2ResultRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreeDS2ResultRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_MERCHANT_ACCOUNTstatic StringSERIALIZED_NAME_PSP_REFERENCE
-
Constructor Summary
Constructors Constructor Description ThreeDS2ResultRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ThreeDS2ResultRequestfromJson(String jsonString)Create an instance of ThreeDS2ResultRequest given an JSON stringStringgetMerchantAccount()The merchant account identifier, with which you want to process the transaction.StringgetPspReference()The pspReference returned in the /authorise call.inthashCode()ThreeDS2ResultRequestmerchantAccount(String merchantAccount)ThreeDS2ResultRequestpspReference(String pspReference)voidsetMerchantAccount(String merchantAccount)voidsetPspReference(String pspReference)StringtoJson()Convert an instance of ThreeDS2ResultRequest 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_MERCHANT_ACCOUNT
public static final String SERIALIZED_NAME_MERCHANT_ACCOUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PSP_REFERENCE
public static final String SERIALIZED_NAME_PSP_REFERENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
merchantAccount
public ThreeDS2ResultRequest merchantAccount(String merchantAccount)
-
getMerchantAccount
public String getMerchantAccount()
The merchant account identifier, with which you want to process the transaction.- Returns:
- merchantAccount
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
-
pspReference
public ThreeDS2ResultRequest pspReference(String pspReference)
-
getPspReference
public String getPspReference()
The pspReference returned in the /authorise call.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
-
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 ThreeDS2ResultRequest
-
fromJson
public static ThreeDS2ResultRequest fromJson(String jsonString) throws IOException
Create an instance of ThreeDS2ResultRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ThreeDS2ResultRequest
- Throws:
IOException- if the JSON string is invalid with respect to ThreeDS2ResultRequest
-
toJson
public String toJson()
Convert an instance of ThreeDS2ResultRequest to an JSON string- Returns:
- JSON string
-
-