Companion
object Companion
Functions
Link copied to clipboard
Create the parameters necessary for confirming a PaymentIntent based on its clientSecret and paymentMethodType
fun create(clientSecret: String, shipping: ConfirmPaymentIntentParams.Shipping? = null, setupFutureUsage: ConfirmPaymentIntentParams.SetupFutureUsage? = null): ConfirmPaymentIntentParams
Create a ConfirmPaymentIntentParams without a payment method.
Link copied to clipboard
Create the parameters necessary for confirming a PaymentIntent with Alipay
Link copied to clipboard
fun createWithPaymentMethodCreateParams(paymentMethodCreateParams: PaymentMethodCreateParams, clientSecret: String, savePaymentMethod: Boolean? = null, mandateId: String? = null, mandateData: MandateDataParams? = null, setupFutureUsage: ConfirmPaymentIntentParams.SetupFutureUsage? = null, shipping: ConfirmPaymentIntentParams.Shipping? = null, paymentMethodOptions: PaymentMethodOptionsParams? = null): ConfirmPaymentIntentParams
Create the parameters necessary for confirming a PaymentIntent while attaching PaymentMethodCreateParams data
Link copied to clipboard
fun createWithPaymentMethodId(paymentMethodId: String, clientSecret: String, savePaymentMethod: Boolean? = null, paymentMethodOptions: PaymentMethodOptionsParams? = null, mandateId: String? = null, mandateData: MandateDataParams? = null, setupFutureUsage: ConfirmPaymentIntentParams.SetupFutureUsage? = null, shipping: ConfirmPaymentIntentParams.Shipping? = null): ConfirmPaymentIntentParams
Create the parameters necessary for confirming a PaymentIntent while attaching a PaymentMethod that already exists.
Link copied to clipboard
fun createWithSourceId(sourceId: String, clientSecret: String, returnUrl: String, savePaymentMethod: Boolean? = null, shipping: ConfirmPaymentIntentParams.Shipping? = null): ConfirmPaymentIntentParams
Create the parameters necessary for confirming a PaymentIntent with an existing Source.
Link copied to clipboard
fun createWithSourceParams(sourceParams: SourceParams, clientSecret: String, returnUrl: String, savePaymentMethod: Boolean? = null, shipping: ConfirmPaymentIntentParams.Shipping? = null): ConfirmPaymentIntentParams
Create the parameters necessary for confirming a PaymentIntent with SourceParams