Package com.onlinepayments.domain
Class HostedCheckoutSpecificInput
java.lang.Object
com.onlinepayments.domain.HostedCheckoutSpecificInput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe maximum number of times a customer can try to pay before the payment is definitely declined.Object containing card payment specific data for hosted checkouttrue - Only payment products that support recurring payments will be shown.Locale used in the GUI towards the consumer.Contains the payment product ids and payment product groups that will be used for manipulating the payment products available for the payment to the customer.The URL that the customer is redirect to after the payment flow has finished.The number of minutes after which the session will expire.true - Default - Hosted Checkout will show a result page to the customer when applicable. false - Hosted Checkout will redirect the customer back to the provided returnUrl when this is possible.String containing comma separated tokens (no spaces) associated with the customer of this hosted session.It is possible to upload multiple templates of your payment pages using the Merchant Portal.voidThe maximum number of times a customer can try to pay before the payment is definitely declined.voidObject containing card payment specific data for hosted checkoutvoidsetIsRecurring(Boolean value) true - Only payment products that support recurring payments will be shown.voidLocale used in the GUI towards the consumer.voidContains the payment product ids and payment product groups that will be used for manipulating the payment products available for the payment to the customer.voidsetReturnUrl(String value) The URL that the customer is redirect to after the payment flow has finished.voidsetSessionTimeout(Integer value) The number of minutes after which the session will expire.voidsetShowResultPage(Boolean value) true - Default - Hosted Checkout will show a result page to the customer when applicable. false - Hosted Checkout will redirect the customer back to the provided returnUrl when this is possible.voidString containing comma separated tokens (no spaces) associated with the customer of this hosted session.voidsetVariant(String value) It is possible to upload multiple templates of your payment pages using the Merchant Portal.The maximum number of times a customer can try to pay before the payment is definitely declined.Object containing card payment specific data for hosted checkoutwithIsRecurring(Boolean value) true - Only payment products that support recurring payments will be shown.withLocale(String value) Locale used in the GUI towards the consumer.Contains the payment product ids and payment product groups that will be used for manipulating the payment products available for the payment to the customer.withReturnUrl(String value) The URL that the customer is redirect to after the payment flow has finished.withSessionTimeout(Integer value) The number of minutes after which the session will expire.withShowResultPage(Boolean value) true - Default - Hosted Checkout will show a result page to the customer when applicable. false - Hosted Checkout will redirect the customer back to the provided returnUrl when this is possible.withTokens(String value) String containing comma separated tokens (no spaces) associated with the customer of this hosted session.withVariant(String value) It is possible to upload multiple templates of your payment pages using the Merchant Portal.
-
Constructor Details
-
HostedCheckoutSpecificInput
public HostedCheckoutSpecificInput()
-
-
Method Details
-
getAllowedNumberOfPaymentAttempts
The maximum number of times a customer can try to pay before the payment is definitely declined. The value must be between 1 and 10. By default, the value is set to 10 attempts. -
setAllowedNumberOfPaymentAttempts
The maximum number of times a customer can try to pay before the payment is definitely declined. The value must be between 1 and 10. By default, the value is set to 10 attempts. -
withAllowedNumberOfPaymentAttempts
The maximum number of times a customer can try to pay before the payment is definitely declined. The value must be between 1 and 10. By default, the value is set to 10 attempts. -
getCardPaymentMethodSpecificInput
Object containing card payment specific data for hosted checkout -
setCardPaymentMethodSpecificInput
public void setCardPaymentMethodSpecificInput(CardPaymentMethodSpecificInputForHostedCheckout value) Object containing card payment specific data for hosted checkout -
withCardPaymentMethodSpecificInput
public HostedCheckoutSpecificInput withCardPaymentMethodSpecificInput(CardPaymentMethodSpecificInputForHostedCheckout value) Object containing card payment specific data for hosted checkout -
getIsRecurring
- true - Only payment products that support recurring payments will be shown. Any transactions created will also be tagged as being a first of a recurring sequence.
- false - Only payment products that support one-off payments will be shown. The default value for this property is false.
-
setIsRecurring
- true - Only payment products that support recurring payments will be shown. Any transactions created will also be tagged as being a first of a recurring sequence.
- false - Only payment products that support one-off payments will be shown. The default value for this property is false.
-
withIsRecurring
- true - Only payment products that support recurring payments will be shown. Any transactions created will also be tagged as being a first of a recurring sequence.
- false - Only payment products that support one-off payments will be shown. The default value for this property is false.
-
getLocale
Locale used in the GUI towards the consumer. -
setLocale
Locale used in the GUI towards the consumer. -
withLocale
Locale used in the GUI towards the consumer. -
getPaymentProductFilters
Contains the payment product ids and payment product groups that will be used for manipulating the payment products available for the payment to the customer. -
setPaymentProductFilters
Contains the payment product ids and payment product groups that will be used for manipulating the payment products available for the payment to the customer. -
withPaymentProductFilters
public HostedCheckoutSpecificInput withPaymentProductFilters(PaymentProductFiltersHostedCheckout value) Contains the payment product ids and payment product groups that will be used for manipulating the payment products available for the payment to the customer. -
getReturnUrl
The URL that the customer is redirect to after the payment flow has finished. You can add any number of key value pairs in the query string that, for instance help you to identify the customer when they return to your site. Please note that we will also append some additional key value pairs that will also help you with this identification process. Note: The provided URL should be absolute and contain the protocol to use, e.g. http:// or https://. For use on mobile devices a custom protocol can be used in the form of protocol://. This protocol must be registered on the device first. URLs without a protocol will be rejected. -
setReturnUrl
The URL that the customer is redirect to after the payment flow has finished. You can add any number of key value pairs in the query string that, for instance help you to identify the customer when they return to your site. Please note that we will also append some additional key value pairs that will also help you with this identification process. Note: The provided URL should be absolute and contain the protocol to use, e.g. http:// or https://. For use on mobile devices a custom protocol can be used in the form of protocol://. This protocol must be registered on the device first. URLs without a protocol will be rejected. -
withReturnUrl
The URL that the customer is redirect to after the payment flow has finished. You can add any number of key value pairs in the query string that, for instance help you to identify the customer when they return to your site. Please note that we will also append some additional key value pairs that will also help you with this identification process. Note: The provided URL should be absolute and contain the protocol to use, e.g. http:// or https://. For use on mobile devices a custom protocol can be used in the form of protocol://. This protocol must be registered on the device first. URLs without a protocol will be rejected. -
getSessionTimeout
The number of minutes after which the session will expire. By default, the value is set to 180 minutes. -
setSessionTimeout
The number of minutes after which the session will expire. By default, the value is set to 180 minutes. -
withSessionTimeout
The number of minutes after which the session will expire. By default, the value is set to 180 minutes. -
getShowResultPage
- true - Default - Hosted Checkout will show a result page to the customer when applicable.
- false - Hosted Checkout will redirect the customer back to the provided returnUrl when this is possible.
-
setShowResultPage
- true - Default - Hosted Checkout will show a result page to the customer when applicable.
- false - Hosted Checkout will redirect the customer back to the provided returnUrl when this is possible.
-
withShowResultPage
- true - Default - Hosted Checkout will show a result page to the customer when applicable.
- false - Hosted Checkout will redirect the customer back to the provided returnUrl when this is possible.
-
getTokens
String containing comma separated tokens (no spaces) associated with the customer of this hosted session. Valid tokens will be used to present the customer the option to re-use previously used payment details. This means the customer for instance does not have to re-enter their card details again, which a big plus when the customer is using their mobile phone to complete the operation. -
setTokens
String containing comma separated tokens (no spaces) associated with the customer of this hosted session. Valid tokens will be used to present the customer the option to re-use previously used payment details. This means the customer for instance does not have to re-enter their card details again, which a big plus when the customer is using their mobile phone to complete the operation. -
withTokens
String containing comma separated tokens (no spaces) associated with the customer of this hosted session. Valid tokens will be used to present the customer the option to re-use previously used payment details. This means the customer for instance does not have to re-enter their card details again, which a big plus when the customer is using their mobile phone to complete the operation. -
getVariant
It is possible to upload multiple templates of your payment pages using the Merchant Portal. You can force the use of a custom template by specifying it in the variant field. This allows you to test out the effect of certain changes to your payment pages in a controlled manner. Please note that you need to specify the filename of the template or customization. -
setVariant
It is possible to upload multiple templates of your payment pages using the Merchant Portal. You can force the use of a custom template by specifying it in the variant field. This allows you to test out the effect of certain changes to your payment pages in a controlled manner. Please note that you need to specify the filename of the template or customization. -
withVariant
It is possible to upload multiple templates of your payment pages using the Merchant Portal. You can force the use of a custom template by specifying it in the variant field. This allows you to test out the effect of certain changes to your payment pages in a controlled manner. Please note that you need to specify the filename of the template or customization.
-