CreateTokenBankAccountData constructor

const CreateTokenBankAccountData({
  1. required String country,
  2. required String currency,
  3. @JsonKey(name: "routing_number") String? routingNumber,
  4. @JsonKey(name: "account_number") required String accountNumber,
  5. @JsonKey(name: "account_holder_name") String? accountHolderName,
  6. @JsonKey(name: "account_holder_type") BankAccountHolderType? accountHolderType,
  7. @JsonKey(name: "account_type") String? accountType,
})

Implementation

const factory CreateTokenBankAccountData({
  required String country,

  /// Three character currency code (e.g., usd).
  required String currency,
  @JsonKey(name: "routing_number") String? routingNumber,
  @JsonKey(name: "account_number") required String accountNumber,
  @JsonKey(name: "account_holder_name") String? accountHolderName,
  @JsonKey(name: "account_holder_type")
  BankAccountHolderType? accountHolderType,
  @JsonKey(name: "account_type") String? accountType,
}) = _CreateTokenBankAccountData;