PaymentMethodPreview

class PaymentMethodPreview : StripeModel

Preview of the payment method data collected from Elements. This represents the transactional checkout state, not a reusable PaymentMethod object.

Properties

Link copied to clipboard

This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.

Link copied to clipboard

Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.

Link copied to clipboard

The ID of the Customer to which this PaymentMethod is saved. This will only be set when the PaymentMethod has been saved to a Customer.

Link copied to clipboard

The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)