UsBankAccount constructor

  1. @JsonSerializable(explicitToJson: true)
const UsBankAccount({
  1. String? routingNumber,
  2. String? last4,
  3. required UsBankAccountHolderType accountHolderType,
  4. required UsBankAccountType accountType,
  5. String? bankName,
  6. String? fingerprint,
  7. String? linkedAccount,
  8. List<String>? preferredNetworks,
  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
  required UsBankAccountHolderType accountHolderType,

  /// The account type
  required 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 names
  List<String>? preferredNetworks,

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