Payments class

Объект с информацией о видах оплаты заказа

Payments

Inheritance
Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

Payments({required int electronic, int? cash, int? advancePayment, int? credit, int? provision})
Создает экземпляр объекта с информацией о видах оплаты заказа
Payments.fromJson(Map<String, dynamic> json)
Преобразование json в модель
factory

Properties

advancePayment int?
Вид оплаты "Предварительная оплата (Аванс)".
final
cash int?
Вид оплаты "Наличные". Сумма к оплате в копейках не более 14 знаков.
final
credit int?
Вид оплаты "Постоплата (Кредит)"
final
electronic int
Вид оплаты "Безналичный".
final
equals Map<String, Object?>
Comparison objects
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
provision int?
Вид оплаты "Иная форма оплаты".
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareLists<R>(List<R>? list1, List<R>? list2) bool
Determines whether list1 and list2 are equal.
inherited
copyWith({int? cash, int? electronic, int? advancePayment, int? credit, int? provision}) Payments
Создает экземпляр с заданными параметрами
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