Class CheckoutSDKAction


  • public class CheckoutSDKAction
    extends Object
    CheckoutSDKAction
    • Constructor Detail

      • CheckoutSDKAction

        public CheckoutSDKAction()
    • Method Detail

      • getPaymentData

        public String getPaymentData()
        Encoded payment data.
        Returns:
        paymentData
      • setPaymentData

        public void setPaymentData​(String paymentData)
        Encoded payment data.
        Parameters:
        paymentData -
      • getPaymentMethodType

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

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

        public Map<String,​String> getSdkData()
        The data to pass to the SDK.
        Returns:
        sdkData
      • setSdkData

        public void setSdkData​(Map<String,​String> sdkData)
        The data to pass to the SDK.
        Parameters:
        sdkData -
      • 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 CheckoutSDKAction object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

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

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