Companion
Functions
Link copied to clipboard
fun create(clientSecret: String, paymentMethodType: PaymentMethod.Type): ConfirmSetupIntentParams
Content copied to clipboard
Create the parameters necessary for confirming a SetupIntent based on its clientSecret and paymentMethodType
fun create( paymentMethodCreateParams: PaymentMethodCreateParams, clientSecret: String, mandateData: MandateDataParams? = null, mandateId: String? = null): ConfirmSetupIntentParams
Content copied to clipboard
Create the parameters necessary for confirming a SetupIntent with a new PaymentMethod
fun create( paymentMethodId: String, clientSecret: String, mandateData: MandateDataParams? = null, mandateId: String? = null): ConfirmSetupIntentParams
Content copied to clipboard
Create the parameters necessary for confirming a SetupIntent while attaching a PaymentMethod that already exits.
Link copied to clipboard
fun createWithoutPaymentMethod(clientSecret: String): ConfirmSetupIntentParams
Content copied to clipboard
Create the parameters necessary for confirming a SetupIntent, without specifying a payment method to attach to the SetupIntent. Only use this if a payment method has already been attached to the SetupIntent.