Shops class

Данными Маркетплейса

Shops

Inheritance
Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

Shops({required String shopCode, required int amount, String? name, String? fee})
Создает экземпляр данных Маркетплейса
Shops.fromJson(Map<String, dynamic> json)
Преобразование json в модель
factory

Properties

amount int
Cумма в копейках, которая относится к указанному shopCode
final
equals Map<String, Object?>
Comparison objects
no setteroverride
fee String?
Сумма комиссии в копейках, удерживаемая из возмещения Партнера в пользу Маркетплейса. Если не передано, используется комиссия, указанная при регистрации.
final
hashCode int
The hash code for this object.
no setterinherited
name String?
Наименование позиции
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shopCode String
Код магазина
final

Methods

compareLists<R>(List<R>? list1, List<R>? list2) bool
Determines whether list1 and list2 are equal.
inherited
copyWith({String? shopCode, int? amount, String? name, String? fee}) Shops
Создает экземпляр с заданными параметрами
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