Package com.adyen.model.payment
Class AuthenticationResultRequest
- java.lang.Object
-
- com.adyen.model.payment.AuthenticationResultRequest
-
public class AuthenticationResultRequest extends Object
AuthenticationResultRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MERCHANT_ACCOUNTstatic StringJSON_PROPERTY_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)Return true if this AuthenticationResultRequest object is equal to 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)The merchant account identifier, with which the authentication was processed.AuthenticationResultRequestpspReference(String pspReference)The pspReference identifier for the transaction.voidsetMerchantAccount(String merchantAccount)The merchant account identifier, with which the authentication was processed.voidsetPspReference(String pspReference)The pspReference identifier for the transaction.StringtoJson()Convert an instance of AuthenticationResultRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_MERCHANT_ACCOUNT
public static final String JSON_PROPERTY_MERCHANT_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PSP_REFERENCE
public static final String JSON_PROPERTY_PSP_REFERENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
merchantAccount
public AuthenticationResultRequest merchantAccount(String merchantAccount)
The merchant account identifier, with which the authentication was processed.- Parameters:
merchantAccount-- Returns:
- the current
AuthenticationResultRequestinstance, allowing for method chaining
-
getMerchantAccount
public String getMerchantAccount()
The merchant account identifier, with which the authentication was processed.- Returns:
- merchantAccount
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
The merchant account identifier, with which the authentication was processed.- Parameters:
merchantAccount-
-
pspReference
public AuthenticationResultRequest pspReference(String pspReference)
The pspReference identifier for the transaction.- Parameters:
pspReference-- Returns:
- the current
AuthenticationResultRequestinstance, allowing for method chaining
-
getPspReference
public String getPspReference()
The pspReference identifier for the transaction.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
The pspReference identifier for the transaction.- Parameters:
pspReference-
-
equals
public boolean equals(Object o)
Return true if this AuthenticationResultRequest object is equal to o.
-
fromJson
public static AuthenticationResultRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AuthenticationResultRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AuthenticationResultRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AuthenticationResultRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AuthenticationResultRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-