PrintifyOrderModel constructor

PrintifyOrderModel({
  1. String? id,
  2. required PrintifyAddress? address_to,
  3. required List<PrintifyOrderLineItem>? line_items,
  4. required int? method,
  5. Map<String, dynamic>? metadata,
  6. int? total_price,
  7. int? total_shipping,
  8. int? total_tax,
  9. String? status,
  10. List<PrintifyShipmentModel>? shipments,
  11. String? created_at,
  12. String? sent_to_production_at,
  13. String? fulfilled_at,
})

This resource could be used, to get all Orders.

Implementation

PrintifyOrderModel({
  this.id,
  required this.address_to,
  required this.line_items,

  /// Method of shipping selected for the order, "1" is for standard shipping and "2" is for express shipping.
  required this.method,
  this.metadata,
  this.total_price,
  this.total_shipping,
  this.total_tax,
  this.status,
  this.shipments,
  this.created_at,
  this.sent_to_production_at,
  this.fulfilled_at,
});