Amendment constructor
Amendment({
- String? id,
- String? orderId,
- String? orderItemId,
- AmendmentProductTypeEnum? productType,
- AmendmentAmendmentModeEnum? amendmentMode,
- AmendmentStatusEnum? status,
- DateTime? createdAt,
- Money? amountToPay,
- 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,
});