Package com.adyen.model.payment
Class ThreeDS2ResultRequest
- java.lang.Object
-
- com.adyen.model.payment.ThreeDS2ResultRequest
-
public class ThreeDS2ResultRequest extends Object
ThreeDS2ResultRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MERCHANT_ACCOUNTstatic StringJSON_PROPERTY_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)Return true if this ThreeDS2ResultRequest object is equal to 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)The merchant account identifier, with which you want to process the transaction.ThreeDS2ResultRequestpspReference(String pspReference)The pspReference returned in the /authorise call.voidsetMerchantAccount(String merchantAccount)The merchant account identifier, with which you want to process the transaction.voidsetPspReference(String pspReference)The pspReference returned in the /authorise call.StringtoJson()Convert an instance of ThreeDS2ResultRequest 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 ThreeDS2ResultRequest merchantAccount(String merchantAccount)
The merchant account identifier, with which you want to process the transaction.- Parameters:
merchantAccount-- Returns:
- the current
ThreeDS2ResultRequestinstance, allowing for method chaining
-
getMerchantAccount
public String getMerchantAccount()
The merchant account identifier, with which you want to process the transaction.- Returns:
- merchantAccount
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
The merchant account identifier, with which you want to process the transaction.- Parameters:
merchantAccount-
-
pspReference
public ThreeDS2ResultRequest pspReference(String pspReference)
The pspReference returned in the /authorise call.- Parameters:
pspReference-- Returns:
- the current
ThreeDS2ResultRequestinstance, allowing for method chaining
-
getPspReference
public String getPspReference()
The pspReference returned in the /authorise call.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
The pspReference returned in the /authorise call.- Parameters:
pspReference-
-
equals
public boolean equals(Object o)
Return true if this ThreeDS2ResultRequest object is equal to o.
-
fromJson
public static ThreeDS2ResultRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ThreeDS2ResultRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ThreeDS2ResultRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ThreeDS2ResultRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ThreeDS2ResultRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-