WooOrder constructor

WooOrder({
  1. required int id,
  2. int? parentId,
  3. String? number,
  4. String? orderKey,
  5. String? createdVia,
  6. String? version,
  7. String? status,
  8. String? currency,
  9. String? dateCreated,
  10. String? dateCreatedGmt,
  11. String? dateModified,
  12. String? dateModifiedGmt,
  13. String? discountTotal,
  14. String? discountTax,
  15. String? shippingTotal,
  16. String? shippingTax,
  17. String? cartTax,
  18. String? total,
  19. String? totalTax,
  20. bool? pricesIncludeTax,
  21. int? customerId,
  22. String? customerIpAddress,
  23. String? customerUserAgent,
  24. String? customerNote,
  25. Billing? billing,
  26. Shipping? shipping,
  27. String? paymentMethod,
  28. String? paymentMethodTitle,
  29. String? transactionId,
  30. String? datePaid,
  31. String? datePaidGmt,
  32. String? dateCompleted,
  33. String? dateCompletedGmt,
  34. String? cartHash,
  35. List<MetaData>? metaData,
  36. List<LineItems>? lineItems,
  37. List<TaxLines>? taxLines,
  38. List<ShippingLines>? shippingLines,
  39. List<WooOrderFeeLine>? feeLines,
  40. List<WooOrderCouponLine>? couponLines,
  41. List<Refunds>? refunds,
  42. Links? links,
})

Implementation

WooOrder(
    {required int this.id,
    this.parentId,
    this.number,
    this.orderKey,
    this.createdVia,
    this.version,
    this.status,
    this.currency,
    this.dateCreated,
    this.dateCreatedGmt,
    this.dateModified,
    this.dateModifiedGmt,
    this.discountTotal,
    this.discountTax,
    this.shippingTotal,
    this.shippingTax,
    this.cartTax,
    this.total,
    this.totalTax,
    this.pricesIncludeTax,
    this.customerId,
    this.customerIpAddress,
    this.customerUserAgent,
    this.customerNote,
    this.billing,
    this.shipping,
    this.paymentMethod,
    this.paymentMethodTitle,
    this.transactionId,
    this.datePaid,
    this.datePaidGmt,
    this.dateCompleted,
    this.dateCompletedGmt,
    this.cartHash,
    this.metaData,
    this.lineItems,
    this.taxLines,
    this.shippingLines,
    this.feeLines,
    this.couponLines,
    this.refunds,
    this.links});