Order constructor

Order({
  1. bool? acknowledged,
  2. List<OrderOrderAnnotation>? annotations,
  3. OrderAddress? billingAddress,
  4. OrderCustomer? customer,
  5. OrderDeliveryDetails? deliveryDetails,
  6. String? id,
  7. String? kind,
  8. List<OrderLineItem>? lineItems,
  9. String? merchantId,
  10. String? merchantOrderId,
  11. Price? netPriceAmount,
  12. Price? netTaxAmount,
  13. String? paymentStatus,
  14. OrderPickupDetails? pickupDetails,
  15. String? placedDate,
  16. List<OrderPromotion>? promotions,
  17. List<OrderRefund>? refunds,
  18. List<OrderShipment>? shipments,
  19. Price? shippingCost,
  20. Price? shippingCostTax,
  21. String? status,
  22. 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,
});