Card
data class Card @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP] ) constructor(val brand: CardBrand = CardBrand.Unknown, val checks: PaymentMethod.Card.Checks? = null, val country: String? = null, val expiryMonth: Int? = null, val expiryYear: Int? = null, val fingerprint: String? = null, val funding: String? = null, val last4: String? = null, val threeDSecureUsage: PaymentMethod.Card.ThreeDSecureUsage? = null, val wallet: Wallet? = null, val networks: PaymentMethod.Card.Networks? = null) : PaymentMethod.TypeData
If this is a card
PaymentMethod, this hash contains details about the card.
Constructors
Link copied to clipboard
constructor(brand: CardBrand = CardBrand.Unknown, checks: PaymentMethod.Card.Checks? = null, country: String? = null, expiryMonth: Int? = null, expiryYear: Int? = null, fingerprint: String? = null, funding: String? = null, last4: String? = null, threeDSecureUsage: PaymentMethod.Card.ThreeDSecureUsage? = null, wallet: Wallet? = null, networks: PaymentMethod.Card.Networks? = null)
Types
Link copied to clipboard
data class Checks @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP] ) constructor(val addressLine1Check: String?, val addressPostalCodeCheck: String?, val cvcCheck: String?) : StripeModel
Checks on Card address and CVC if provided
Link copied to clipboard
data class ThreeDSecureUsage @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP] ) constructor(val isSupported: Boolean) : StripeModel
Contains details on how this Card maybe be used for 3D Secure authentication.
Functions
Properties
Link copied to clipboard
Link copied to clipboard
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.