CreatePaymentMethodParams

data class CreatePaymentMethodParams(val clientSecret: String, val customerId: String, val card: PaymentMethod.Card, val billing: Billing?) : AbstractPaymentMethodParams

The params that used for create PaymentMethod

Constructors

Link copied to clipboard
constructor(clientSecret: String, customerId: String, card: PaymentMethod.Card, billing: Billing?)

Properties

Link copied to clipboard

The billing info of the PaymentMethod

Link copied to clipboard

The card info of the PaymentMethod

Link copied to clipboard
open override val clientSecret: String

The client secret of PaymentIntent

Link copied to clipboard
open override val customerId: String

ID of Customer