Amendment constructor

Amendment({
  1. String? id,
  2. String? orderId,
  3. String? orderItemId,
  4. AmendmentProductTypeEnum? productType,
  5. AmendmentAmendmentModeEnum? amendmentMode,
  6. AmendmentStatusEnum? status,
  7. DateTime? createdAt,
  8. Money? amountToPay,
  9. Money? amountToRefund,
})

Returns a new Amendment instance.

Implementation

Amendment({
  this.id,
  this.orderId,
  this.orderItemId,
  this.productType,
  this.amendmentMode,
  this.status,
  this.createdAt,
  this.amountToPay,
  this.amountToRefund,
});