Order constructor
Order({
- bool? acknowledged,
- List<
OrderOrderAnnotation> ? annotations, - OrderAddress? billingAddress,
- OrderCustomer? customer,
- OrderDeliveryDetails? deliveryDetails,
- String? id,
- String? kind,
- List<
OrderLineItem> ? lineItems, - String? merchantId,
- String? merchantOrderId,
- Price? netPriceAmount,
- Price? netTaxAmount,
- String? paymentStatus,
- OrderPickupDetails? pickupDetails,
- String? placedDate,
- List<
OrderPromotion> ? promotions, - List<
OrderRefund> ? refunds, - List<
OrderShipment> ? shipments, - Price? shippingCost,
- Price? shippingCostTax,
- String? status,
- String? taxCollector,
Implementation
Order({
this.acknowledged,
this.annotations,
this.billingAddress,
this.customer,
this.deliveryDetails,
this.id,
this.kind,
this.lineItems,
this.merchantId,
this.merchantOrderId,
this.netPriceAmount,
this.netTaxAmount,
this.paymentStatus,
this.pickupDetails,
this.placedDate,
this.promotions,
this.refunds,
this.shipments,
this.shippingCost,
this.shippingCostTax,
this.status,
this.taxCollector,
});