UtilityOrderItem constructor

UtilityOrderItem({
  1. String? id,
  2. String? orderId,
  3. required UtilityOrderItemProductTypeEnum productType,
  4. Money? price,
  5. UtilityPurchasedProduct? purchasedProduct,
  6. UtilityFulfillment? fulfillment,
  7. OrderItemActions? actions,
  8. DateTime? createdAt,
  9. Money? effectivePaidAmount,
  10. OrderItemRefund? refund,
})

Returns a new UtilityOrderItem instance.

Implementation

UtilityOrderItem({
  this.id,
  this.orderId,
  required this.productType,
  this.price,
  this.purchasedProduct,
  this.fulfillment,
  this.actions,
  this.createdAt,
  this.effectivePaidAmount,
  this.refund,
});