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 - A token needed to authorise a payment.
        Returns:
        the current CheckoutThreeDS2Action instance, allowing for method chaining
      • getAuthorisationToken

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

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

        public CheckoutThreeDS2Action paymentData​(String paymentData)
        Encoded payment data.
        Parameters:
        paymentData - Encoded payment data.
        Returns:
        the current CheckoutThreeDS2Action instance, allowing for method chaining
      • getPaymentData

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

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

        public CheckoutThreeDS2Action paymentMethodType​(String paymentMethodType)
        Specifies the payment method.
        Parameters:
        paymentMethodType - Specifies the payment method.
        Returns:
        the current CheckoutThreeDS2Action instance, allowing for method chaining
      • getPaymentMethodType

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

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

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

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

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

        public CheckoutThreeDS2Action token​(String token)
        A token to pass to the 3DS2 Component to get the fingerprint.
        Parameters:
        token - A token to pass to the 3DS2 Component to get the fingerprint.
        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 A token to pass to the 3DS2 Component to get the fingerprint.
      • setToken

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

        public CheckoutThreeDS2Action url​(String url)
        Specifies the URL to redirect to.
        Parameters:
        url - Specifies the URL to redirect to.
        Returns:
        the current CheckoutThreeDS2Action instance, allowing for method chaining
      • getUrl

        public String getUrl()
        Specifies the URL to redirect to.
        Returns:
        url Specifies the URL to redirect to.
      • setUrl

        public void setUrl​(String url)
        Specifies the URL to redirect to.
        Parameters:
        url - Specifies the URL to redirect to.
      • includeNullValues

        public CheckoutThreeDS2Action includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • 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
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • 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