OrderPayments class

Детали заказа

Inheritance
Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

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

Properties

amount int?
Сумма операции в копейках
final
equals Map<String, Object?>
Comparison objects
no setteroverride
errorCode String?
Код ошибки, «0» - если успешно
final
hashCode int
The hash code for this object.
no setterinherited
message String?
Краткое описание ошибки
final
paymentId String?
Уникальный идентификатор транзакции в системе Банка
final
rrn String?
RRN операции
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Status?
Статус транзакции
final
success bool?
Успешность операции (true/false)
final

Methods

compareLists<R>(List<R>? list1, List<R>? list2) bool
Determines whether list1 and list2 are equal.
inherited
copyWith({String? paymentId, int? amount, Status? status, String? rrn, bool? success, String? errorCode, String? message}) OrderPayments
Создает экземпляр с заданными параметрами
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