Payment Method
data class PaymentMethod(val id: String?, val customerId: String? = null, val billing: FrameObjects.BillingAddress?, val type: FrameObjects.PaymentMethodType?, val methodObject: String?, val created: Int?, val updated: Int?, val livemode: Boolean?, val card: FrameObjects.PaymentCard?, val ach: FrameObjects.BankAccount?, val status: FrameObjects.PaymentMethodStatus?)
A payment method stored on the Frame platform.
Constructors
Link copied to clipboard
constructor(id: String?, customerId: String? = null, billing: FrameObjects.BillingAddress?, type: FrameObjects.PaymentMethodType?, methodObject: String?, created: Int?, updated: Int?, livemode: Boolean?, card: FrameObjects.PaymentCard?, ach: FrameObjects.BankAccount?, status: FrameObjects.PaymentMethodStatus?)
Properties
Link copied to clipboard
Bank account details when type is PaymentMethodType.ACH.
Link copied to clipboard
Billing address associated with this payment method.
Link copied to clipboard
Card details when type is PaymentMethodType.CARD.
Link copied to clipboard
The customer this payment method belongs to, if customer-scoped.
Link copied to clipboard
The Frame API object type string (e.g. "payment_method").
Link copied to clipboard
Current PaymentMethodStatus of this payment method.
Link copied to clipboard
Whether this is a PaymentMethodType.CARD or PaymentMethodType.ACH method.