Card class final

Card

You can store multiple cards on a customer in order to charge the customer later. You can also store multiple debit cards on a recipient in order to transfer to those cards later. Related guide: [Card payments with Sources](https://stripe.com/docs/sources/cards)

Implemented types

Constructors

Card({AccountOrId? account, String? addressCity, String? addressCountry, String? addressLine1, String? addressLine1Check, String? addressLine2, String? addressState, String? addressZip, String? addressZipCheck, List<BankAccountAvailablePayoutMethodsItem>? availablePayoutMethods, required String brand, String? country, String? currency, BankAccountCustomerOrId? customer, String? cvcCheck, bool? defaultForCurrency, String? description, String? dynamicLast4, required int expMonth, required int expYear, String? fingerprint, required String funding, required String id, String? iin, String? issuer, required String last4, Map<String, String>? metadata, String? name, TokenCardNetworks? networks, String? status, String? tokenizationMethod})
Card
const
Card.fromJson(Object? json)
factory

Properties

account → AccountOrId?
final
addressCity → String?
final
addressCountry → String?
final
addressLine1 → String?
final
addressLine1Check → String?
final
addressLine2 → String?
final
addressState → String?
final
addressZip → String?
final
addressZipCheck → String?
final
availablePayoutMethods → List<BankAccountAvailablePayoutMethodsItem>?
final
brand → String
final
country → String?
final
currency → String?
final
customer → BankAccountCustomerOrId?
final
cvcCheck → String?
final
defaultForCurrency → bool?
final
description → String?
final
dynamicLast4 → String?
final
expMonth → int
final
expYear → int
final
fingerprint → String?
final
funding → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The ID of the PayoutDestination.
final
iin → String?
final
issuer → String?
final
last4 → String
final
metadata → Map<String, String>?
final
name → String?
final
networks → TokenCardNetworks?
final
object → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String?
final
tokenizationMethod → String?
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

encode<V>(Card instance, Encoder<V> encoder) → V
override