Package com.stripe.param.terminal
Class ReaderProcessPaymentIntentParams.ProcessConfig.Tipping.Builder
java.lang.Object
com.stripe.param.terminal.ReaderProcessPaymentIntentParams.ProcessConfig.Tipping.Builder
- Enclosing class:
- ReaderProcessPaymentIntentParams.ProcessConfig.Tipping
-
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.setAmountEligible
(Long amountEligible) Amount used to calculate tip suggestions on tipping selection screen for this transaction.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmountEligible
public ReaderProcessPaymentIntentParams.ProcessConfig.Tipping.Builder setAmountEligible(Long amountEligible) Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency). -
putExtraParam
public ReaderProcessPaymentIntentParams.ProcessConfig.Tipping.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.Tipping.extraParams
for the field documentation. -
putAllExtraParam
public ReaderProcessPaymentIntentParams.ProcessConfig.Tipping.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.Tipping.extraParams
for the field documentation.
-