CancelResponse class

Ответ от сервера на отмену платежа

CancelResponse

Inheritance
Annotations
  • @JsonSerializable()

Constructors

CancelResponse({Status? status, bool? success, String? errorCode, String? message, String? details, String? terminalKey, String? orderId, String? paymentId, int? originalAmount, int? newAmount})
Создает экземпляр ответа от сервера на отмену платежа
CancelResponse.fromJson(Map<String, dynamic> json)
Преобразование json в модель
factory

Properties

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
message String?
Краткое описание ошибки
finalinherited
newAmount int?
Сумма после возврата в копейках
final
orderId String?
Идентификатор заказа в системе продавца
final
originalAmount int?
Сумма до возврата в копейках
final
paymentId String?
Идентификатор платежа в системе банка
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Status?
Статус в ответе на запрос методов
finalinherited
success bool?
Выполнение операции
finalinherited
terminalKey String?
Идентификатор терминала. Выдается продавцу банком при заведении терминала
final

Methods

compareLists<R>(List<R>? list1, List<R>? list2) bool
Determines whether list1 and list2 are equal.
inherited
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