OrderCancelDto class
Краткое описание
Объект OrderCreateDto представляет собой структуру данных, используемую
в API точке /order/.
Описание полей:
- reason - причина отмены в Umbrella.
- orderDeliveryProviderChange - флаг переноса из ДТК в Servientrega.
- 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