Class CreateHostedTokenizationResponse

java.lang.Object
com.onlinepayments.domain.CreateHostedTokenizationResponse

public class CreateHostedTokenizationResponse extends Object
  • Constructor Details

    • CreateHostedTokenizationResponse

      public CreateHostedTokenizationResponse()
  • Method Details

    • getExpiredCardTokens

      public List<String> getExpiredCardTokens()
      Tokens referencing expired cards are returned in this array. These tokens can be used in the hosted tokenization session but you must ensure that the expiry date fields are displayed in the form in order to be updated. If you are using the option "hideTokenFields", these tokens should not be proposed to the customers.
    • setExpiredCardTokens

      public void setExpiredCardTokens(List<String> value)
      Tokens referencing expired cards are returned in this array. These tokens can be used in the hosted tokenization session but you must ensure that the expiry date fields are displayed in the form in order to be updated. If you are using the option "hideTokenFields", these tokens should not be proposed to the customers.
    • withExpiredCardTokens

      public CreateHostedTokenizationResponse withExpiredCardTokens(List<String> value)
      Tokens referencing expired cards are returned in this array. These tokens can be used in the hosted tokenization session but you must ensure that the expiry date fields are displayed in the form in order to be updated. If you are using the option "hideTokenFields", these tokens should not be proposed to the customers.
    • getHostedTokenizationId

      public String getHostedTokenizationId()
      The ID of the Hosted Tokenization Session
    • setHostedTokenizationId

      public void setHostedTokenizationId(String value)
      The ID of the Hosted Tokenization Session
    • withHostedTokenizationId

      public CreateHostedTokenizationResponse withHostedTokenizationId(String value)
      The ID of the Hosted Tokenization Session
    • getHostedTokenizationUrl

      public String getHostedTokenizationUrl()
      The URL you can use in your JavaScript when instantiating the Tokenizer.
    • setHostedTokenizationUrl

      public void setHostedTokenizationUrl(String value)
      The URL you can use in your JavaScript when instantiating the Tokenizer.
    • withHostedTokenizationUrl

      public CreateHostedTokenizationResponse withHostedTokenizationUrl(String value)
      The URL you can use in your JavaScript when instantiating the Tokenizer.
    • getInvalidTokens

      public List<String> getInvalidTokens()
      Tokens that are submitted in the request are validated. Tokens that cannot be used in the current session are returned in this array. These tokens might not be valid anymore. The validity of tokens can be verified using the Get token endpoint.
    • setInvalidTokens

      public void setInvalidTokens(List<String> value)
      Tokens that are submitted in the request are validated. Tokens that cannot be used in the current session are returned in this array. These tokens might not be valid anymore. The validity of tokens can be verified using the Get token endpoint.
    • withInvalidTokens

      public CreateHostedTokenizationResponse withInvalidTokens(List<String> value)
      Tokens that are submitted in the request are validated. Tokens that cannot be used in the current session are returned in this array. These tokens might not be valid anymore. The validity of tokens can be verified using the Get token endpoint.
    • getPartialRedirectUrl

      @Deprecated public String getPartialRedirectUrl()
      Deprecated.
      Deprecated
      Deprecated. Use hostedTokenizationUrl instead.

      The partial URL as generated by our system. You will need to add the protocol and the relevant subdomain to this URL, before redirecting your customer to this URL. A special 'payment' subdomain will always work so you can always add 'https://payment.' at the beginning of this response value to view your hosted pages.

    • setPartialRedirectUrl

      @Deprecated public void setPartialRedirectUrl(String value)
      Deprecated.
      Deprecated
      Deprecated. Use hostedTokenizationUrl instead.

      The partial URL as generated by our system. You will need to add the protocol and the relevant subdomain to this URL, before redirecting your customer to this URL. A special 'payment' subdomain will always work so you can always add 'https://payment.' at the beginning of this response value to view your hosted pages.

    • withPartialRedirectUrl

      @Deprecated public CreateHostedTokenizationResponse withPartialRedirectUrl(String value)
      Deprecated.
      Deprecated
      Deprecated. Use hostedTokenizationUrl instead.

      The partial URL as generated by our system. You will need to add the protocol and the relevant subdomain to this URL, before redirecting your customer to this URL. A special 'payment' subdomain will always work so you can always add 'https://payment.' at the beginning of this response value to view your hosted pages.