InitResponse class

Ответ от сервера на создание платежа

InitResponse

Inheritance
Annotations
  • @JsonSerializable()

Constructors

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

Properties

amount int?
Сумма в копейках
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
message String?
Краткое описание ошибки
finalinherited
orderId String?
Идентификатор заказа в системе продавца
final
paymentId String?
Идентификатор платежа в системе банка
final
paymentURL 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