OrderModel constructor
OrderModel({
- required String documentID,
- required String appId,
- MemberModel? customer,
- String? name,
- String? email,
- String? shipStreet1,
- String? shipStreet2,
- String? shipCity,
- String? shipState,
- String? postcode,
- String? country,
- bool? invoiceSame,
- String? invoiceStreet1,
- String? invoiceStreet2,
- String? invoiceCity,
- String? invoiceState,
- String? invoicePostcode,
- String? invoiceCountry,
- List<
OrderItemModel> ? products, - double? totalPrice,
- String? currency,
- String? paymentReference,
- String? shipmentReference,
- String? deliveryReference,
- String? paymentNote,
- String? shipmentNote,
- String? deliveryNote,
- OrderStatus? status,
- 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,
});