Token

data class Token : StripeModel, StripePaymentSource

Tokenization is the process Stripe uses to collect sensitive card, bank account details, Stripe account details or personally identifiable information (PII), directly from your customers in a secure manner. A Token representing this information is returned to you to use.

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard

If applicable, the BankAccount for this token

Link copied to clipboard
val card: Card? = null

If applicable, the Card for this token

Link copied to clipboard

The Date this token was created

Link copied to clipboard
open override val id: String

The Token id

Link copied to clipboard

true if this token is valid for a real payment, false if it is only usable for testing

Link copied to clipboard

The Type of this token.

Link copied to clipboard

true if this token has been used, false otherwise

Functions

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