PointOfSalesCreateRequest class

Метод инициирует новую точку продаж

CreatePointOfSale

Inheritance
Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

PointOfSalesCreateRequest({required String name, String? website, PointOfSalesType? type, String? alias, String? address, String? mail, String? phone, String? signToken})
PointOfSalesCreateRequest.fromJson(Map<String, dynamic> json)
Преобразование json в модель
factory

Properties

address String?
Адрес точки продаж (для онлайн-магазинов юр. адрес) Default: "{Адрес юр. лица}"
final
alias String?
Уникальный идентификатор точки продаж в системе Продавца
final
apiMethod String
Метод запроса
no setteroverride
apiMethodPath String
Полный путь до метода запроса (версия + метод)
no setterinherited
apiVersion String
Версия метода запроса
no setterinherited
equals Map<String, Object?>
Comparison objects
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
Заголовок метода
no setterinherited
ignoredFields Set<String>
Список игнорируемых полей при создании токена запроса
no setterinherited
mail String?
Email точки продаж
final
name String
Название точки продаж
final
phone String?
Контактный телефон точки продаж
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signToken String?
Опциональный параметр: готовая подпись запроса
finalinherited
type PointOfSalesType?
Наземная точка продаж или онлайн-магазин
final
website String?
Адрес онлайн-магазина (для online точек продаж)
final

Methods

compareLists<R>(List<R>? list1, List<R>? list2) bool
Determines whether list1 and list2 are equal.
inherited
copyWith({String? signToken, String? website, String? address, PointOfSalesType? type, String? alias, String? phone, String? mail, String? name}) PointOfSalesCreateRequest
Создает экземпляр с заданными параметрами
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