create
Create the parameters necessary for confirming a PaymentIntent based on its clientSecret and paymentMethodType
Use this initializer for PaymentIntents that already have a PaymentMethod attached.
Parameters
clientSecret
client secret from the PaymentIntent that is to be confirmed
paymentMethodType
the known type of the PaymentIntent's attached PaymentMethod
fun create(clientSecret: String, shipping: ConfirmPaymentIntentParams.Shipping? = null, setupFutureUsage: ConfirmPaymentIntentParams.SetupFutureUsage? = null): ConfirmPaymentIntentParams
Create a ConfirmPaymentIntentParams without a payment method.