GiftCardOrder constructor

GiftCardOrder({
  1. String? id,
  2. OrderOrigin? origin,
  3. GiftCardOrderStatusEnum? status,
  4. Money? total,
  5. OrderPayment? payment,
  6. OrderActions? actions,
  7. List<GiftCardOrderItem> items = const [],
  8. List<OrderTimelineEntry> timeline = const [],
  9. DateTime? createdAt,
  10. DateTime? updatedAt,
  11. int? fulfillmentVersion,
  12. String? referenceId,
})

Returns a new GiftCardOrder instance.

Implementation

GiftCardOrder({
  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,
});