Class CheckoutAwaitAction


  • public class CheckoutAwaitAction
    extends Object
    CheckoutAwaitAction
    • Constructor Detail

      • CheckoutAwaitAction

        public CheckoutAwaitAction()
    • Method Detail

      • paymentData

        public CheckoutAwaitAction paymentData​(String paymentData)
        Encoded payment data.
        Parameters:
        paymentData -
        Returns:
        the current CheckoutAwaitAction instance, allowing for method chaining
      • 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)
        Specifies the payment method.
        Parameters:
        paymentMethodType -
        Returns:
        the current CheckoutAwaitAction instance, allowing for method chaining
      • getPaymentMethodType

        public String getPaymentMethodType()
        Specifies the payment method.
        Returns:
        paymentMethodType
      • setPaymentMethodType

        public void setPaymentMethodType​(String paymentMethodType)
        Specifies the payment method.
        Parameters:
        paymentMethodType -
      • url

        public CheckoutAwaitAction url​(String url)
        Specifies the URL to redirect to.
        Parameters:
        url -
        Returns:
        the current CheckoutAwaitAction instance, allowing for method chaining
      • 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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