BankAccountTokenParams constructor

const BankAccountTokenParams({
  1. @Default(TokenType.BankAccount) TokenType type,
  2. required String accountNumber,
  3. required String country,
  4. required String currency,
  5. String? accountHolderName,
  6. BankAccountHolderType? accountHolderType,
  7. String? routingNumber,
})

Implementation

const factory BankAccountTokenParams({
  /// Type of token.
  @Default(TokenType.BankAccount) TokenType type,

  /// unique number of the account.
  required String accountNumber,

  /// 2 letter code of the country where the account is located
  required String country,

  /// The three letter ISO 4217 code for the currency.
  required String currency,

  /// Full name of the account holder
  String? accountHolderName,

  /// Entity that is holder of the account.
  BankAccountHolderType? accountHolderType,

  /// The routing number of the bank account (e.g. needer for US accounts).
  String? routingNumber,
}) = _BankAccountTokenParams;