PointOfSalesInfoResponse class

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

GetPointOfSale

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

Constructors

PointOfSalesInfoResponse({Status? status, bool? success, String? errorCode, String? message, String? details, required String name, required String id, required String website, required PointOfSalesType type, required String alias, required String address, required String mail, required String phone})
PointOfSalesInfoResponse.fromJson(Map<String, dynamic> json)
Преобразование json в модель
factory

Properties

address String
Адрес точки продаж (для онлайн-магазинов юр. адрес)
final
alias String
alias терминала
final
details String?
Подробное описание ошибки
finalinherited
equals Map<String, Object?>
Comparison objects
no setteroverride
errorCode String?
Код ошибки
finalinherited
hasError bool
Проверка наличии ошибки
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
Id терминала
final
mail String
Email точки продаж
final
message String?
Краткое описание ошибки
finalinherited
name String
Название точки продаж
final
phone String
Контактный телефон точки продаж
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Status?
Статус в ответе на запрос методов
finalinherited
success bool?
Выполнение операции
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? name, String? id, String? website, String? address, PointOfSalesType? type, String? alias, String? phone, String? mail}) PointOfSalesInfoResponse
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

Operators

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