UsBankAccount constructor

  1. @JsonSerializable(explicitToJson: true)
const UsBankAccount({
  1. String? routingNumber,
  2. String? last4,
  3. BankAccountHolderType? accountHolderType,
  4. UsBankAccountType? accountType,
  5. String? bankName,
  6. String? fingerprint,
  7. String? linkedAccount,
  8. String? preferredNetwork,
  9. List<String>? supportedNetworks,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory UsBankAccount({
  /// Routing number of the bank account
  String? routingNumber,

  /// Last 4  digits of the account
  String? last4,

  /// The bank account type of the holder
  BankAccountHolderType? accountHolderType,

  /// The account type
  UsBankAccountType? accountType,

  /// The name of the bank of the account
  String? bankName,

  /// Unique identifier for the bankaccount.
  String? fingerprint,

  /// Number of linkedaccount
  String? linkedAccount,

  /// list of preferred network
  String? preferredNetwork,

  /// list of preferred network names
  List<String>? supportedNetworks,
}) = _UsBankAccount;