CardData class

Данные карты

CardData

Implemented types
Annotations
  • @immutable

Constructors

CardData({required String pan, required String expDate, String? cvv, String? cardHolder, String? eci, String? cavv})
Создает экземпляр данных кард

Properties

cardHolder String?
Имя и фамилия держателя карты (как на карте)
final
cavv String?
Cardholder Authentication Verification Value или Accountholder Authentication Value
final
cvv String?
Код защиты (с обратной стороны карты). Для платежей по Apple Pay (с расшифровкой токена на своей стороне) не является обязательным.
final
eci String?
Electronic Commerce Indicator. Индикатор, показывающий степень защиты, применяемую при предоставлении покупателем своих данных ТСП.
final
equals Map<String, Object?>
Comparison objects
no setter
expDate String
Месяц и год срока действия карты
final
hashCode int
The hash code for this object.
no setterinherited
pan String
Номер карты
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cardData(String publicKey) String
Зашифрованные данные карты
override
compareLists<R>(List<R>? list1, List<R>? list2) bool
Determines whether list1 and list2 are equal.
inherited
copyWith({String? pan, String? expDate, String? cvv, String? cardHolder, String? eci, String? cavv}) CardData
Создает экземпляр с заданными параметрами
encode(String publicKey) String
Метод шифрует данные карты
override
genHash<R>(Iterable<R>? values) int
Returns a hashCode for equals.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate() → void
Метод проверяет валидность данных
override

Operators

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