Order constructor
Order({
- int? id,
- int? parentId,
- String? number,
- String? orderKey,
- String? createdVia,
- String? version,
- String? status,
- String? currency,
- String? dateCreated,
- String? dateCreatedGmt,
- String? dateModified,
- String? dateModifiedGmt,
- String? discountTotal,
- String? discountTax,
- String? shippingTotal,
- String? shippingTax,
- String? cartTax,
- String? total,
- String? totalTax,
- bool? pricesIncludeTax,
- int? customerId,
- String? customerIpAddress,
- String? customerUserAgent,
- String? customerNote,
- Billing? billing,
- Shipping? shipping,
- String? paymentMethod,
- String? paymentMethodTitle,
- String? transactionId,
- String? datePaid,
- String? datePaidGmt,
- String? dateCompleted,
- String? dateCompletedGmt,
- String? cartHash,
- List<
MetaData> ? metaData, - List<
LineItems> ? lineItems, - List<
TaxLines> ? taxLines, - List<
ShippingLines> ? shippingLines, - List<
FeeLine> ? feeLines, - List<
CouponLine> ? couponLines, - List<
Refunds> ? refunds, - Links? links,
Implementation
Order(
{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});