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