Package com.adyen.model.checkout
Class EncryptedOrderData
- java.lang.Object
-
- com.adyen.model.checkout.EncryptedOrderData
-
public class EncryptedOrderData extends Object
EncryptedOrderData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ORDER_DATAstatic StringJSON_PROPERTY_PSP_REFERENCE
-
Constructor Summary
Constructors Constructor Description EncryptedOrderData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this EncryptedOrderData object is equal to o.static EncryptedOrderDatafromJson(String jsonString)Create an instance of EncryptedOrderData given an JSON stringStringgetOrderData()The encrypted order data.StringgetPspReference()The `pspReference` that belongs to the order.inthashCode()EncryptedOrderDataorderData(String orderData)The encrypted order data.EncryptedOrderDatapspReference(String pspReference)The `pspReference` that belongs to the order.voidsetOrderData(String orderData)The encrypted order data.voidsetPspReference(String pspReference)The `pspReference` that belongs to the order.StringtoJson()Convert an instance of EncryptedOrderData to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ORDER_DATA
public static final String JSON_PROPERTY_ORDER_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PSP_REFERENCE
public static final String JSON_PROPERTY_PSP_REFERENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
orderData
public EncryptedOrderData orderData(String orderData)
The encrypted order data.- Parameters:
orderData-- Returns:
- the current
EncryptedOrderDatainstance, allowing for method chaining
-
getOrderData
public String getOrderData()
The encrypted order data.- Returns:
- orderData
-
setOrderData
public void setOrderData(String orderData)
The encrypted order data.- Parameters:
orderData-
-
pspReference
public EncryptedOrderData pspReference(String pspReference)
The `pspReference` that belongs to the order.- Parameters:
pspReference-- Returns:
- the current
EncryptedOrderDatainstance, allowing for method chaining
-
getPspReference
public String getPspReference()
The `pspReference` that belongs to the order.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
The `pspReference` that belongs to the order.- Parameters:
pspReference-
-
equals
public boolean equals(Object o)
Return true if this EncryptedOrderData object is equal to o.
-
fromJson
public static EncryptedOrderData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of EncryptedOrderData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EncryptedOrderData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to EncryptedOrderData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of EncryptedOrderData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-