OrderDTO class

Inheritance

Constructors

OrderDTO({String? id, String? createdAt, String? updatedAt, bool? isActive, bool? isDeleted, OrderStatus? status, String? type, bool? isPaid, bool? isTest, String? customerNote, String? storeNote, String? paymentMethod, StoreDTO? store, List<CampaignDTO>? campaigns, Customer? customer, AddressDTO? billingAddress, AddressDTO? shippingAddress, List<Items>? items, List<Invoices>? invoices, String? deliveryDate})
OrderDTO.fromJson(Map<String, dynamic> json)

Properties

billingAddress AddressDTO?
getter/setter pair
campaigns List<CampaignDTO>?
getter/setter pair
createdAt String?
The time when the DTO was created.
getter/setter pairinherited
customer Customer?
getter/setter pair
customerNote String?
getter/setter pair
deliveryDate String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The ID of the DTO.
getter/setter pairinherited
invoices List<Invoices>?
getter/setter pair
isActive bool?
Whether the DTO is active.
getter/setter pairinherited
isDeleted bool?
Whether the DTO has been deleted.
getter/setter pairinherited
isPaid bool?
getter/setter pair
isTest bool?
getter/setter pair
items List<Items>?
getter/setter pair
paymentMethod String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingAddress AddressDTO?
getter/setter pair
status OrderStatus?
getter/setter pair
store StoreDTO?
getter/setter pair
storeNote String?
getter/setter pair
type String?
getter/setter pair
updatedAt String?
The time when the DTO was last updated.
getter/setter pairinherited

Methods

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

Operators

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