Open antonio8101 opened 3 years ago
The event OrderRateSelected must be defined for both red service and yellow service that is coupled to it.
OrderRateSelected
The OrderRateSelected must contain at least a Rate and a OrderId.
Rate
OrderId
A Rate should contain:
My proposal is:
class Price { public decimal CancellationFee { get; set; } public decimal Amount { get; set; } } class Rate { public Price Price{ get; set; } // other properties }
looks good. I will implement it this way for the red service
The event
OrderRateSelected
must be defined for both red service and yellow service that is coupled to it.The
OrderRateSelected
must contain at least aRate
and aOrderId
.A Rate should contain:
My proposal is: