Class CheckoutThreeDS2Action


  • public class CheckoutThreeDS2Action
    extends Object
    CheckoutThreeDS2Action
    • Constructor Detail

      • CheckoutThreeDS2Action

        public CheckoutThreeDS2Action()
    • Method Detail

      • authorisationToken

        public CheckoutThreeDS2Action authorisationToken​(String authorisationToken)
        A token needed to authorise a payment.
        Parameters:
        authorisationToken -
        Returns:
        the current CheckoutThreeDS2Action instance, allowing for method chaining
      • getAuthorisationToken

        public String getAuthorisationToken()
        A token needed to authorise a payment.
        Returns:
        authorisationToken
      • setAuthorisationToken

        public void setAuthorisationToken​(String authorisationToken)
        A token needed to authorise a payment.
        Parameters:
        authorisationToken -
      • paymentData

        public CheckoutThreeDS2Action paymentData​(String paymentData)
        Encoded payment data.
        Parameters:
        paymentData -
        Returns:
        the current CheckoutThreeDS2Action 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 CheckoutThreeDS2Action paymentMethodType​(String paymentMethodType)
        Specifies the payment method.
        Parameters:
        paymentMethodType -
        Returns:
        the current CheckoutThreeDS2Action 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 -
      • subtype

        public CheckoutThreeDS2Action subtype​(String subtype)
        A subtype of the token.
        Parameters:
        subtype -
        Returns:
        the current CheckoutThreeDS2Action instance, allowing for method chaining
      • getSubtype

        public String getSubtype()
        A subtype of the token.
        Returns:
        subtype
      • setSubtype

        public void setSubtype​(String subtype)
        A subtype of the token.
        Parameters:
        subtype -
      • token

        public CheckoutThreeDS2Action token​(String token)
        A token to pass to the 3DS2 Component to get the fingerprint.
        Parameters:
        token -
        Returns:
        the current CheckoutThreeDS2Action instance, allowing for method chaining
      • getToken

        public String getToken()
        A token to pass to the 3DS2 Component to get the fingerprint.
        Returns:
        token
      • setToken

        public void setToken​(String token)
        A token to pass to the 3DS2 Component to get the fingerprint.
        Parameters:
        token -
      • url

        public CheckoutThreeDS2Action url​(String url)
        Specifies the URL to redirect to.
        Parameters:
        url -
        Returns:
        the current CheckoutThreeDS2Action 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 CheckoutThreeDS2Action object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

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

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