Orders constructor
Orders({
- int? id,
- int? parentId,
- String? number,
- String? orderKey,
- String? createdVia,
- String? version,
- String? status,
- String? currency,
- DateTime? dateCreated,
- DateTime? dateCreatedGmt,
- DateTime? dateModified,
- DateTime? 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,
- Ing? billing,
- Ing? shipping,
- String? paymentMethod,
- String? paymentMethodTitle,
- String? transactionId,
- DateTime? datePaid,
- DateTime? datePaidGmt,
- DateTime? dateCompleted,
- DateTime? dateCompletedGmt,
- String? cartHash,
- List<
MetaDatum> ? metaData, - List<
LineItem> ? lineItems, - List<
TaxLine> ? taxLines, - List<
ShippingLine> ? shippingLines, - List? feeLines,
- List? couponLines,
- List? refunds,
- CreateLinks? links,
Implementation
Orders({
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,
});