Class CheckoutRedirectAction


  • public class CheckoutRedirectAction
    extends Object
    CheckoutRedirectAction
    • Constructor Detail

      • CheckoutRedirectAction

        public CheckoutRedirectAction()
    • Method Detail

      • getData

        public Map<String,​String> getData()
        When the redirect URL must be accessed via POST, use this data to post to the redirect URL.
        Returns:
        data
      • setData

        public void setData​(Map<String,​String> data)
        When the redirect URL must be accessed via POST, use this data to post to the redirect URL.
        Parameters:
        data -
      • getMethod

        public String getMethod()
        Specifies the HTTP method, for example GET or POST.
        Returns:
        method
      • setMethod

        public void setMethod​(String method)
        Specifies the HTTP method, for example GET or POST.
        Parameters:
        method -
      • getPaymentMethodType

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

        public void setPaymentMethodType​(String paymentMethodType)
        Specifies the payment method.
        Parameters:
        paymentMethodType -
      • 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 CheckoutRedirectAction object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static CheckoutRedirectAction fromJson​(String jsonString)
                                               throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of CheckoutRedirectAction given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CheckoutRedirectAction
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to CheckoutRedirectAction
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of CheckoutRedirectAction to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException