RateScheduleTimingStep Property |
Length of the service duration increment steps. Actual service duration is always rounded up to a multiple of this value.
Namespace:
Resto.Front.Api.Data.Orders
Assembly:
Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax public TimeSpan TimingStep { get; }
Property Value
Type:
TimeSpanExamples -
Actual service duration is 15 minutes, TimingStep is 10 minutes and MinimumDuration is not set: service duration will just be rounded up to a multiple of TimingStep, the result is 20 minutes.
-
Actual service duration is 15 minutes, TimingStep is 10 minutes and MinimumDuration is 1 hour: at first service duration will be rounded up to 1 hour to meet the MinimumDuration and then will be rounded up to a multiple of TimingStep, the result is 1 hour.
-
Actual service duration is 75 minutes, TimingStep is 10 minutes and MinimumDuration is 1 hour: 75 mins already meets the MinimumDuration, so it will only be rounded up to a multiple of TimingStep, the result is 1 hour 20 mins.
See Also Reference
RateScheduleTimingStep