OrderDTO constructor
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,
Implementation
OrderDTO({
super.id,
super.createdAt,
super.updatedAt,
super.isActive,
super.isDeleted,
this.status,
this.type,
this.isPaid,
this.isTest,
this.customerNote,
this.storeNote,
this.paymentMethod,
this.store,
this.campaigns,
this.customer,
this.billingAddress,
this.shippingAddress,
this.items,
this.invoices,
this.deliveryDate,
});