BankAccountTokenParams class

parameters needed to create a token for bank account

Annotations
  • @freezed

Constructors

BankAccountTokenParams({@Default(TokenType.BankAccount) TokenType type, required String accountNumber, required String country, required String currency, String? accountHolderName, BankAccountHolderType? accountHolderType, String? routingNumber})
const
factory
BankAccountTokenParams.fromJson(Map<String, dynamic> json)
factory

Properties

accountHolderName String?
Full name of the account holder
no setterinherited
accountHolderType BankAccountHolderType?
Entity that is holder of the account.
no setterinherited
accountNumber String
unique number of the account.
no setterinherited
copyWith → $BankAccountTokenParamsCopyWith<BankAccountTokenParams>
no setterinherited
country String
2 letter code of the country where the account is located
no setterinherited
currency String
The three letter ISO 4217 code for the currency.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
routingNumber String?
The routing number of the bank account (e.g. needer for US accounts).
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type TokenType
Type of token.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited