TerminalInfoResponse class
Метод получает информацию о терминале
- Inheritance
-
- Object
- BaseResponse
- AcquiringResponse
- TerminalInfoResponse
- Annotations
-
- @JsonSerializable.new(includeIfNull: false)
Constructors
- TerminalInfoResponse({Status? status, bool? success, String? errorCode, String? message, String? details, required String name, required String id, required String link, required TerminalType type, String? description, required num defaultPrice})
-
TerminalInfoResponse.fromJson(Map<
String, dynamic> json) -
Преобразование json в модель
factory
Properties
- defaultPrice → num
-
Сумма по-умолчанию
final
- description → String?
-
description терминала
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
- link → String
-
link терминала
final
- message → String?
-
Краткое описание ошибки
finalinherited
- name → String
-
name терминала
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → Status?
-
Статус в ответе на запрос методов
finalinherited
- success → bool?
-
Выполнение операции
finalinherited
- type → TerminalType
-
type терминала
final
Methods
-
compareLists<
R> (List< R> ? list1, List<R> ? list2) → bool -
Determines whether
list1andlist2are equal.inherited -
copyWith(
{String? name, String? id, String? link, String? description, TerminalType? type, num? defaultPrice}) → TerminalInfoResponse -
genHash<
R> (Iterable< R> ? values) → int -
Returns a
hashCodeforequals.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