BankAccount constructor

const BankAccount({
  1. AccountOrId? account,
  2. String? accountHolderName,
  3. String? accountHolderType,
  4. String? accountType,
  5. List<BankAccountAvailablePayoutMethodsItem>? availablePayoutMethods,
  6. String? bankName,
  7. required String country,
  8. required String currency,
  9. BankAccountCustomerOrId? customer,
  10. bool? defaultForCurrency,
  11. String? fingerprint,
  12. BankAccountFutureRequirements? futureRequirements,
  13. required String id,
  14. required String last4,
  15. Map<String, String>? metadata,
  16. BankAccountFutureRequirements? requirements,
  17. String? routingNumber,
  18. 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,
});