Builder

class Builder

Constructors

Link copied to clipboard
fun Builder(skipTipping: Boolean = false, moto: Boolean = false)

Functions

Link copied to clipboard
fun build(): CollectConfiguration
Link copied to clipboard
fun setMoto(value: Boolean): <ERROR CLASS>

Collect and process the payment as a Mail Order/Telephone Order payment. Contact Stripe support to enable this feature on your account. For more information, see the official Stripe docs: Mail Order Telephone Order transactions

Link copied to clipboard
fun setTippingConfiguration(tippingConfiguration: TippingConfiguration?): CollectConfiguration.Builder

Specify per-transaction tip configurations

Link copied to clipboard
fun skipTipping(value: Boolean): <ERROR CLASS>

Bypass tipping selection if it would have otherwise been shown. For more information, see the official Stripe docs: On Reader Tipping

Link copied to clipboard
fun updatePaymentIntent(value: Boolean): <ERROR CLASS>

Whether to immediately update the PaymentIntent upon collect.

Properties

Link copied to clipboard
var moto: Boolean = false
Link copied to clipboard
var skipTipping: Boolean = false
Link copied to clipboard
var tippingConfiguration: TippingConfiguration? = null
Link copied to clipboard
var updatePaymentIntent: Boolean = false