Class CheckoutDelegatedAuthenticationAction


  • public class CheckoutDelegatedAuthenticationAction
    extends Object
    CheckoutDelegatedAuthenticationAction
    • Constructor Detail

      • CheckoutDelegatedAuthenticationAction

        public CheckoutDelegatedAuthenticationAction()
    • Method Detail

      • 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 -
      • 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 -
      • getToken

        public String getToken()
        A token to pass to the delegatedAuthentication component.
        Returns:
        token
      • setToken

        public void setToken​(String token)
        A token to pass to the delegatedAuthentication component.
        Parameters:
        token -
      • 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 CheckoutDelegatedAuthenticationAction object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

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

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