Class CreateHostedCheckoutResponse

java.lang.Object
com.onlinepayments.domain.CreateHostedCheckoutResponse

public class CreateHostedCheckoutResponse extends Object
  • Constructor Details

    • CreateHostedCheckoutResponse

      public CreateHostedCheckoutResponse()
  • Method Details

    • getRETURNMAC

      public String getRETURNMAC()
      When the customer is returned to your site we will append this property and value to the query-string. You should store this data, so you can identify the returning customer.
    • setRETURNMAC

      public void setRETURNMAC(String value)
      When the customer is returned to your site we will append this property and value to the query-string. You should store this data, so you can identify the returning customer.
    • withRETURNMAC

      public CreateHostedCheckoutResponse withRETURNMAC(String value)
      When the customer is returned to your site we will append this property and value to the query-string. You should store this data, so you can identify the returning customer.
    • getHostedCheckoutId

      public String getHostedCheckoutId()
      The ID of the Hosted Checkout Session in which the payment was made.
    • setHostedCheckoutId

      public void setHostedCheckoutId(String value)
      The ID of the Hosted Checkout Session in which the payment was made.
    • withHostedCheckoutId

      public CreateHostedCheckoutResponse withHostedCheckoutId(String value)
      The ID of the Hosted Checkout Session in which the payment was made.
    • getInvalidTokens

      public List<String> getInvalidTokens()
    • setInvalidTokens

      public void setInvalidTokens(List<String> value)
    • withInvalidTokens

      public CreateHostedCheckoutResponse withInvalidTokens(List<String> value)
    • getMerchantReference

      public String getMerchantReference()
      Your unique reference of the transaction that is also returned in our report files. This is almost always used for your reconciliation of our report files. It is highly recommended to provide a single MerchantReference per unique order on your side
    • setMerchantReference

      public void setMerchantReference(String value)
      Your unique reference of the transaction that is also returned in our report files. This is almost always used for your reconciliation of our report files. It is highly recommended to provide a single MerchantReference per unique order on your side
    • withMerchantReference

      public CreateHostedCheckoutResponse withMerchantReference(String value)
      Your unique reference of the transaction that is also returned in our report files. This is almost always used for your reconciliation of our report files. It is highly recommended to provide a single MerchantReference per unique order on your side
    • getPartialRedirectUrl

      public String getPartialRedirectUrl()
      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

      public void setPartialRedirectUrl(String value)
      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

      public CreateHostedCheckoutResponse withPartialRedirectUrl(String value)
      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.
    • getRedirectUrl

      public String getRedirectUrl()
      The full hosted checkout URL as generated by our system. Use this URL to redirect your customer to the hosted checkout page.
    • setRedirectUrl

      public void setRedirectUrl(String value)
      The full hosted checkout URL as generated by our system. Use this URL to redirect your customer to the hosted checkout page.
    • withRedirectUrl

      public CreateHostedCheckoutResponse withRedirectUrl(String value)
      The full hosted checkout URL as generated by our system. Use this URL to redirect your customer to the hosted checkout page.