Companion

object Companion

Functions

create
Link copied to clipboard
Create a ConfirmPaymentIntentParams without a payment method.
fun create(clientSecret: String, returnUrl: String?, extraParams: Map<String, Any>?, shipping: ConfirmPaymentIntentParams.Shipping?): ConfirmPaymentIntentParams
createAlipay
Link copied to clipboard
Create the parameters necessary for confirming a PaymentIntent with Alipay
fun createAlipay(clientSecret: String): ConfirmPaymentIntentParams
createWithPaymentMethodCreateParams
Link copied to clipboard
Create the parameters necessary for confirming a PaymentIntent while attaching PaymentMethodCreateParams data
fun createWithPaymentMethodCreateParams(paymentMethodCreateParams: PaymentMethodCreateParams, clientSecret: String, returnUrl: String?, savePaymentMethod: Boolean?, extraParams: Map<String, Any>?, mandateId: String?, mandateData: MandateDataParams?, setupFutureUsage: ConfirmPaymentIntentParams.SetupFutureUsage?, shipping: ConfirmPaymentIntentParams.Shipping?): ConfirmPaymentIntentParams
createWithPaymentMethodId
Link copied to clipboard
Create the parameters necessary for confirming a PaymentIntent while attaching a PaymentMethod that already exits.
fun createWithPaymentMethodId(paymentMethodId: String, clientSecret: String, returnUrl: String?, savePaymentMethod: Boolean?, extraParams: Map<String, Any>?, paymentMethodOptions: PaymentMethodOptionsParams?, mandateId: String?, mandateData: MandateDataParams?, setupFutureUsage: ConfirmPaymentIntentParams.SetupFutureUsage?, shipping: ConfirmPaymentIntentParams.Shipping?): ConfirmPaymentIntentParams
createWithSourceId
Link copied to clipboard
Create the parameters necessary for confirming a PaymentIntent with an existing Source.
fun createWithSourceId(sourceId: String, clientSecret: String, returnUrl: String, savePaymentMethod: Boolean?, extraParams: Map<String, Any>?, shipping: ConfirmPaymentIntentParams.Shipping?): ConfirmPaymentIntentParams
createWithSourceParams
Link copied to clipboard
Create the parameters necessary for confirming a PaymentIntent with SourceParams
fun createWithSourceParams(sourceParams: SourceParams, clientSecret: String, returnUrl: String, savePaymentMethod: Boolean?, extraParams: Map<String, Any>?, shipping: ConfirmPaymentIntentParams.Shipping?): ConfirmPaymentIntentParams
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String