Package com.adyen.model.management
Class PaymentMethodWrapper
- java.lang.Object
-
- com.adyen.model.management.PaymentMethodWrapper
-
public class PaymentMethodWrapper extends Object
PaymentMethodWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_PAYMENT_METHOD
-
Constructor Summary
Constructors Constructor Description PaymentMethodWrapper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this PaymentMethodWrapper object is equal to o.static PaymentMethodWrapperfromJson(String jsonString)Create an instance of PaymentMethodWrapper given an JSON stringPaymentMethodgetPaymentMethod()Get paymentMethodinthashCode()PaymentMethodWrapperpaymentMethod(PaymentMethod paymentMethod)voidsetPaymentMethod(PaymentMethod paymentMethod)StringtoJson()Convert an instance of PaymentMethodWrapper to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_PAYMENT_METHOD
public static final String JSON_PROPERTY_PAYMENT_METHOD
- See Also:
- Constant Field Values
-
-
Method Detail
-
paymentMethod
public PaymentMethodWrapper paymentMethod(PaymentMethod paymentMethod)
-
getPaymentMethod
public PaymentMethod getPaymentMethod()
Get paymentMethod- Returns:
- paymentMethod
-
setPaymentMethod
public void setPaymentMethod(PaymentMethod paymentMethod)
-
equals
public boolean equals(Object o)
Return true if this PaymentMethodWrapper object is equal to o.
-
fromJson
public static PaymentMethodWrapper fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentMethodWrapper given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentMethodWrapper
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentMethodWrapper
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaymentMethodWrapper to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-