Package com.adyen.model.checkout
Class PaymentVerificationRequest
- java.lang.Object
-
- com.adyen.model.checkout.PaymentVerificationRequest
-
public class PaymentVerificationRequest extends Object
PaymentVerificationRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_PAYLOAD
-
Constructor Summary
Constructors Constructor Description PaymentVerificationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this PaymentVerificationRequest object is equal to o.static PaymentVerificationRequestfromJson(String jsonString)Create an instance of PaymentVerificationRequest given an JSON stringStringgetPayload()Encrypted and signed payment result data.inthashCode()PaymentVerificationRequestpayload(String payload)voidsetPayload(String payload)Encrypted and signed payment result data.StringtoJson()Convert an instance of PaymentVerificationRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_PAYLOAD
public static final String JSON_PROPERTY_PAYLOAD
- See Also:
- Constant Field Values
-
-
Method Detail
-
payload
public PaymentVerificationRequest payload(String payload)
-
getPayload
public String getPayload()
Encrypted and signed payment result data. You should receive this value from the Checkout SDK after the shopper completes the payment.- Returns:
- payload
-
setPayload
public void setPayload(String payload)
Encrypted and signed payment result data. You should receive this value from the Checkout SDK after the shopper completes the payment.- Parameters:
payload-
-
equals
public boolean equals(Object o)
Return true if this PaymentVerificationRequest object is equal to o.
-
fromJson
public static PaymentVerificationRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentVerificationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentVerificationRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentVerificationRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaymentVerificationRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-