OrderCancelDto class

Краткое описание

Объект OrderCreateDto представляет собой структуру данных, используемую в API точке /order//cancel.

Описание полей:

  1. reason - причина отмены в Umbrella.
  2. orderDeliveryProviderChange - флаг переноса из ДТК в Servientrega.
  3. comment - комментарий с текстом отмены. Подробнее OrderCommentDto.

Методы:

  • fromJson - Создает экземпляр OrderCancelDto из JSON-объекта.
  • toJson - Преобразует экземпляр OrderCancelDto в JSON-объект.
Annotations
  • @JsonSerializable()

Constructors

OrderCancelDto({required String reason, OrderCancelCommentDto? comment})
OrderCancelDto.fromJson(Map<String, dynamic> json)
factory

Properties

comment OrderCancelCommentDto?
final
hashCode → int
The hash code for this object.
no setterinherited
reason → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited