Package com.stripe.param.terminal
Class ReaderProcessPaymentIntentParams.ProcessConfig.Builder
java.lang.Object
com.stripe.param.terminal.ReaderProcessPaymentIntentParams.ProcessConfig.Builder
- Enclosing class:
- ReaderProcessPaymentIntentParams.ProcessConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.This field indicates whether this payment method can be shown again to its customer in a checkout flow.setEnableCustomerCancellation
(Boolean enableCustomerCancellation) Enables cancel button on transaction screens.setReturnUrl
(String returnUrl) The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site.setSkipTipping
(Boolean skipTipping) Override showing a tipping selection screen on this transaction.Tipping configuration for this transaction.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAllowRedisplay
public ReaderProcessPaymentIntentParams.ProcessConfig.Builder setAllowRedisplay(ReaderProcessPaymentIntentParams.ProcessConfig.AllowRedisplay allowRedisplay) This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. -
setEnableCustomerCancellation
public ReaderProcessPaymentIntentParams.ProcessConfig.Builder setEnableCustomerCancellation(Boolean enableCustomerCancellation) Enables cancel button on transaction screens. -
putExtraParam
public ReaderProcessPaymentIntentParams.ProcessConfig.Builder putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeReaderProcessPaymentIntentParams.ProcessConfig.extraParams
for the field documentation. -
putAllExtraParam
public ReaderProcessPaymentIntentParams.ProcessConfig.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeReaderProcessPaymentIntentParams.ProcessConfig.extraParams
for the field documentation. -
setReturnUrl
The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. -
setSkipTipping
Override showing a tipping selection screen on this transaction. -
setTipping
public ReaderProcessPaymentIntentParams.ProcessConfig.Builder setTipping(ReaderProcessPaymentIntentParams.ProcessConfig.Tipping tipping) Tipping configuration for this transaction.
-