OrderModel constructor

OrderModel({
  1. required String documentID,
  2. required String appId,
  3. MemberModel? customer,
  4. String? name,
  5. String? email,
  6. String? shipStreet1,
  7. String? shipStreet2,
  8. String? shipCity,
  9. String? shipState,
  10. String? postcode,
  11. String? country,
  12. bool? invoiceSame,
  13. String? invoiceStreet1,
  14. String? invoiceStreet2,
  15. String? invoiceCity,
  16. String? invoiceState,
  17. String? invoicePostcode,
  18. String? invoiceCountry,
  19. List<OrderItemModel>? products,
  20. double? totalPrice,
  21. String? currency,
  22. String? paymentReference,
  23. String? shipmentReference,
  24. String? deliveryReference,
  25. String? paymentNote,
  26. String? shipmentNote,
  27. String? deliveryNote,
  28. OrderStatus? status,
  29. String? timeStamp,
})

Implementation

OrderModel({
  required this.documentID,
  required this.appId,
  this.customer,
  this.name,
  this.email,
  this.shipStreet1,
  this.shipStreet2,
  this.shipCity,
  this.shipState,
  this.postcode,
  this.country,
  this.invoiceSame,
  this.invoiceStreet1,
  this.invoiceStreet2,
  this.invoiceCity,
  this.invoiceState,
  this.invoicePostcode,
  this.invoiceCountry,
  this.products,
  this.totalPrice,
  this.currency,
  this.paymentReference,
  this.shipmentReference,
  this.deliveryReference,
  this.paymentNote,
  this.shipmentNote,
  this.deliveryNote,
  this.status,
  this.timeStamp,
});