BankAccountToken class

Annotations
  • @freezed

Constructors

BankAccountToken({required String id, @Default("bank_account") String object, @JsonKey(name: "account_holder_name") String? accountHolderName, @JsonKey(name: "account_holder_type") BankAccountHolderType? accountHolderType, @JsonKey(name: "account_type") String? accountType, @JsonKey(name: "bank_name") String? bankName, String? country, String? currency, String? fingerprint, String? last4, @JsonKey(name: "routing_number") String? routingNumber, BankAccountStatus? status})
const
factory
BankAccountToken.fromJson(Map<String, dynamic> json)
factory

Properties

accountHolderName String?
The name of the person or business that owns the bank account.
no setterinherited
accountHolderType BankAccountHolderType?
The type of entity that holds the account. This can be either individual or company.
no setterinherited
accountType String?
The bank account type. This can only be checking or savings in most countries. In Japan, this can only be futsu or toza.
no setterinherited
bankName String?
Name of the bank associated with the routing number (e.g., WELLS FARGO).
no setterinherited
copyWith → $BankAccountTokenCopyWith<BankAccountToken>
no setterinherited
country String?
Two-letter ISO code representing the country the bank account is located in.
no setterinherited
currency String?
Three-letter ISO code for the currency paid out to the bank account.
no setterinherited
fingerprint String?
Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier for the object.
no setterinherited
last4 String?
The last four digits of the bank account number.
no setterinherited
object String
String representing the object’s type. Objects of the same type share the same value. Value is "bank_account".
no setterinherited
routingNumber String?
The routing transit number for the bank account.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status BankAccountStatus?
For bank accounts, possible values are new, validated, verified, verification_failed, or errored. A bank account that hasn’t had any activity or validation performed is new. If Stripe can determine that the bank account exists, its status will be validated. Note that there often isn’t enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be verified. If the verification failed for any reason, such as microdeposit failure, the status will be verification_failed. If a transfer sent to this bank account fails, we’ll set the status to errored and will not continue to send transfers until the bank details are updated.
no setterinherited

Methods

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

Operators

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