ClientInfo class

Информация по покупателю

ClientInfo

Inheritance
Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

ClientInfo({String? birthdate, String? citizenship, String? documentCode, String? documentData, String? address})
Создает экземпляр данных с информацией по покупателю
ClientInfo.fromJson(Map<String, dynamic> json)
Преобразование json в модель
factory

Properties

address String?
Адрес покупателя (клиента), грузополучателя. Максимум 256 символов
final
birthdate String?
Дата рождения покупателя в формате ДД.ММ.ГГГГ
final
citizenship String?
Числовой код страны, гражданином которой является покупатель. Код страны указывается в соответствии с Общероссийским классификатором стран мира ОКСМ
final
documentCode String?
Числовой код вида документа, удостоверяющего личность.
final
documentData String?
Реквизиты документа, удостоверяющего личность (например: серия и номер паспорта)
final
equals Map<String, Object?>
Comparison objects
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareLists<R>(List<R>? list1, List<R>? list2) bool
Determines whether list1 and list2 are equal.
inherited
copyWith({String? birthdate, String? citizenship, String? documentCode, String? documentData, String? address}) ClientInfo
Создает экземпляр с заданными параметрами
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
toJson() Map<String, dynamic>
Преобразование модели в json
override
toString() String
A string representation of this object.
inherited
validate() → void
Метод проверяет валидность данных
override

Operators

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