Builder
class Builder
Functions
Link copied to clipboard
Create a final instance of SetupIntentParameters with the parameters that have been set with this builder.
Link copied to clipboard
Set the ID of the Customer this SetupIntent belongs to, if one exists.
Link copied to clipboard
Set an arbitrary string attached to the object. Often useful for displaying to users.
Link copied to clipboard
Set of key-value pairs that you can attach to an object.
Link copied to clipboard
The Stripe account ID for which this SetupIntent is created.
Link copied to clipboard
fun setPaymentMethodTypes(paymentMethodTypes: List<PaymentMethodType>): SetupIntentParameters.Builder
The list of payment method types (e.g. card_present) that this SetupIntent is allowed to set up. The default value for this is PaymentMethodType.CARD_PRESENT.
Link copied to clipboard
Indicates how the payment method is intended to be used in the future.