Package com.adyen.model.checkout
Class CheckoutAwaitAction
- java.lang.Object
-
- com.adyen.model.checkout.CheckoutAwaitAction
-
public class CheckoutAwaitAction extends Object
CheckoutAwaitAction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckoutAwaitAction.TypeEnum**await**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_PAYMENT_DATAstatic StringJSON_PROPERTY_PAYMENT_METHOD_TYPEstatic StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_URL
-
Constructor Summary
Constructors Constructor Description CheckoutAwaitAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this CheckoutAwaitAction object is equal to o.static CheckoutAwaitActionfromJson(String jsonString)Create an instance of CheckoutAwaitAction given an JSON stringStringgetPaymentData()Encoded payment data.StringgetPaymentMethodType()Specifies the payment method.CheckoutAwaitAction.TypeEnumgetType()**await**StringgetUrl()Specifies the URL to redirect to.inthashCode()CheckoutAwaitActionpaymentData(String paymentData)CheckoutAwaitActionpaymentMethodType(String paymentMethodType)voidsetPaymentData(String paymentData)Encoded payment data.voidsetPaymentMethodType(String paymentMethodType)Specifies the payment method.voidsetType(CheckoutAwaitAction.TypeEnum type)**await**voidsetUrl(String url)Specifies the URL to redirect to.StringtoJson()Convert an instance of CheckoutAwaitAction to an JSON stringStringtoString()CheckoutAwaitActiontype(CheckoutAwaitAction.TypeEnum type)CheckoutAwaitActionurl(String url)
-
-
-
Field Detail
-
JSON_PROPERTY_PAYMENT_DATA
public static final String JSON_PROPERTY_PAYMENT_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_METHOD_TYPE
public static final String JSON_PROPERTY_PAYMENT_METHOD_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URL
public static final String JSON_PROPERTY_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
paymentData
public CheckoutAwaitAction paymentData(String paymentData)
-
getPaymentData
public String getPaymentData()
Encoded payment data.- Returns:
- paymentData
-
setPaymentData
public void setPaymentData(String paymentData)
Encoded payment data.- Parameters:
paymentData-
-
paymentMethodType
public CheckoutAwaitAction paymentMethodType(String paymentMethodType)
-
getPaymentMethodType
public String getPaymentMethodType()
Specifies the payment method.- Returns:
- paymentMethodType
-
setPaymentMethodType
public void setPaymentMethodType(String paymentMethodType)
Specifies the payment method.- Parameters:
paymentMethodType-
-
type
public CheckoutAwaitAction type(CheckoutAwaitAction.TypeEnum type)
-
getType
public CheckoutAwaitAction.TypeEnum getType()
**await**- Returns:
- type
-
setType
public void setType(CheckoutAwaitAction.TypeEnum type)
**await**- Parameters:
type-
-
url
public CheckoutAwaitAction url(String url)
-
getUrl
public String getUrl()
Specifies the URL to redirect to.- Returns:
- url
-
setUrl
public void setUrl(String url)
Specifies the URL to redirect to.- Parameters:
url-
-
equals
public boolean equals(Object o)
Return true if this CheckoutAwaitAction object is equal to o.
-
fromJson
public static CheckoutAwaitAction fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CheckoutAwaitAction given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CheckoutAwaitAction
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CheckoutAwaitAction
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CheckoutAwaitAction to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-