Order constructor
Order({
- String? id,
- OrderOrigin? origin,
- OrderStatusEnum? status,
- Money? total,
- OrderPayment? payment,
- OrderActions? actions,
- List<
OrderItem> items = const [], - List<
OrderTimelineEntry> timeline = const [], - DateTime? createdAt,
- DateTime? updatedAt,
- int? fulfillmentVersion,
- String? referenceId,
Returns a new Order instance.
Implementation
Order({
this.id,
this.origin,
this.status,
this.total,
this.payment,
this.actions,
this.items = const [],
this.timeline = const [],
this.createdAt,
this.updatedAt,
this.fulfillmentVersion,
this.referenceId,
});