Card
data class Card @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP] ) constructor(val expMonth: Int?, val expYear: Int?, val name: String? = null, val addressLine1: String? = null, val addressLine1Check: String? = null, val addressLine2: String? = null, val addressCity: String? = null, val addressState: String? = null, val addressZip: String? = null, val addressZipCheck: String? = null, val addressCountry: String? = null, @Size(value = 4) val last4: String? = null, val brand: CardBrand, val funding: CardFunding? = null, val fingerprint: String? = null, val country: String? = null, val currency: String? = null, val customerId: String? = null, val cvcCheck: String? = null, val id: String?, val tokenizationMethod: TokenizationMethod? = null) : StripeModel, StripePaymentSource
A representation of a Card API object.
Constructors
Link copied to clipboard
fun Card(expMonth: Int?, expYear: Int?, name: String? = null, addressLine1: String? = null, addressLine1Check: String? = null, addressLine2: String? = null, addressCity: String? = null, addressState: String? = null, addressZip: String? = null, addressZipCheck: String? = null, addressCountry: String? = null, @Size(value = 4
Types
Functions
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Three-letter ISO code for currency. Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency.
Link copied to clipboard
Link copied to clipboard
Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
Link copied to clipboard
Link copied to clipboard
If the card number is tokenized, this is the method that was used. See TokenizationMethod.