BankAccount constructor
const
BankAccount({
- AccountOrId? account,
- String? accountHolderName,
- String? accountHolderType,
- String? accountType,
- List<
BankAccountAvailablePayoutMethodsItem> ? availablePayoutMethods, - String? bankName,
- required String country,
- required String currency,
- BankAccountCustomerOrId? customer,
- bool? defaultForCurrency,
- String? fingerprint,
- BankAccountFutureRequirements? futureRequirements,
- required String id,
- required String last4,
- Map<
String, String> ? metadata, - BankAccountFutureRequirements? requirements,
- String? routingNumber,
- required String status,
BankAccount
These bank accounts are payment methods on `Customer` objects. On the other hand [External Accounts](https://stripe.com/docs/api#external_accounts) are transfer destinations on `Account` objects for [Custom accounts](https://stripe.com/docs/connect/custom-accounts). They can be bank accounts or debit cards as well, and are documented in the links above. Related guide: [Bank debits and transfers](https://stripe.com/docs/payments/bank-debits-transfers)
Implementation
const BankAccount({
this.account,
this.accountHolderName,
this.accountHolderType,
this.accountType,
this.availablePayoutMethods,
this.bankName,
required this.country,
required this.currency,
this.customer,
this.defaultForCurrency,
this.fingerprint,
this.futureRequirements,
required this.id,
required this.last4,
this.metadata,
this.requirements,
this.routingNumber,
required this.status,
});