OrderEntity constructor

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

Implementation

OrderEntity({
  required this.appId,
  this.customerId,
  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,
});