BankAccountToken class
Constructors
BankAccountToken.new ({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 setter inherited
accountHolderType
→ BankAccountHolderType ?
The type of entity that holds the account.
This can be either individual or company.
no setter inherited
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 setter inherited
bankName
→ String ?
Name of the bank associated with the routing number (e.g., WELLS FARGO).
no setter inherited
copyWith
→ $BankAccountTokenCopyWith<BankAccountToken >
Create a copy of BankAccountToken
with the given fields replaced by the non-null parameter values.
no setter inherited
country
→ String ?
Two-letter ISO code representing the country the bank account is
located in.
no setter inherited
currency
→ String ?
Three-letter ISO code for the currency paid out to the bank account.
no setter inherited
fingerprint
→ String ?
Uniquely identifies this particular bank account.
You can use this attribute to check whether two bank accounts are
the same.
no setter inherited
hashCode
→ int
The hash code for this object.
no setter inherited
id
→ String
Unique identifier for the object.
no setter inherited
last4
→ String ?
The last four digits of the bank account number.
no setter inherited
object
→ String
String representing the object’s type.
Objects of the same type share the same value.
Value is "bank_account".
no setter inherited
routingNumber
→ String ?
The routing transit number for the bank account.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
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 setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson ()
→ Map <String , dynamic >
Serializes this BankAccountToken to a JSON map.
inherited
toString ()
→ String
A string representation of this object.
inherited