CardTokenParams class

parameters that are used to create a token for a card.

Annotations
  • @freezed

Constructors

CardTokenParams({@Default.new(TokenType.Card) TokenType type, String? name, Address? address, String? currency})
const
factory
CardTokenParams.fromJson(Map<String, dynamic> json)
factory

Properties

address → Address?
Additional address details
no setterinherited
copyWith → $CardTokenParamsCopyWith<CardTokenParams>
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
name → String?
Name of the card holder
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