Package com.adyen.model.payment
Class AuthenticationResultRequest
- java.lang.Object
-
- com.adyen.model.payment.AuthenticationResultRequest
-
public class AuthenticationResultRequest extends Object
AuthenticationResultRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthenticationResultRequest.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 AuthenticationResultRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static AuthenticationResultRequestfromJson(String jsonString)Create an instance of AuthenticationResultRequest given an JSON stringStringgetMerchantAccount()The merchant account identifier, with which the authentication was processed.StringgetPspReference()The pspReference identifier for the transaction.inthashCode()AuthenticationResultRequestmerchantAccount(String merchantAccount)AuthenticationResultRequestpspReference(String pspReference)voidsetMerchantAccount(String merchantAccount)voidsetPspReference(String pspReference)StringtoJson()Convert an instance of AuthenticationResultRequest 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 AuthenticationResultRequest merchantAccount(String merchantAccount)
-
getMerchantAccount
public String getMerchantAccount()
The merchant account identifier, with which the authentication was processed.- Returns:
- merchantAccount
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
-
pspReference
public AuthenticationResultRequest pspReference(String pspReference)
-
getPspReference
public String getPspReference()
The pspReference identifier for the transaction.- 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 AuthenticationResultRequest
-
fromJson
public static AuthenticationResultRequest fromJson(String jsonString) throws IOException
Create an instance of AuthenticationResultRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AuthenticationResultRequest
- Throws:
IOException- if the JSON string is invalid with respect to AuthenticationResultRequest
-
toJson
public String toJson()
Convert an instance of AuthenticationResultRequest to an JSON string- Returns:
- JSON string
-
-