BankAccount constructor
const
BankAccount({
- required String id,
- BankAccountHolderType? accountHolderType,
- String? bankName,
- String? accountHolderName,
- String? country,
- String? currency,
- String? routingNumber,
- BankAccountStatus? status,
- String? fingerprint,
- String? last4,
Implementation
const factory BankAccount({
/// Unique id for this bank account
required String id,
/// Entity that is holder of the account.
BankAccountHolderType? accountHolderType,
/// Name of the bank where the account is registered.
String? bankName,
/// Full name of the account holder
String? accountHolderName,
/// 2 letter code of the country where the account is located
String? country,
/// The three letter ISO 4217 code for the currency.
String? currency,
/// The routing number of the bank account (e.g. needer for US accounts).
String? routingNumber,
/// Status of the bank account.
BankAccountStatus? status,
/// Uniquely identifies the particular bank account.
///
/// You can use this to check whether or not two bank accounts are the same.
String? fingerprint,
/// Last four numbers of the bank account number
String? last4,
}) = _BankAccount;