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
-
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.setEnableCustomerCancellation
(Boolean enableCustomerCancellation) Enables cancel button on transaction screens.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. -
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. -
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.
-