iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api.Data.Orders
RateSchedule Class
RateSchedule Properties
Items Property
MinimumDuration Property
TimingMode Property
TimingStep Property

# RateSchedule MinimumDuration Property

Minumum duration of a service or null if there is no lower limit. If the lower limit is set and the actual duration is below of limit, it will be rounded up.

Namespace: Resto.Front.Api.Data.Orders
Assembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    public TimeSpan? MinimumDuration { get; }

#### Property Value

Type: Nullable
TimeSpan
Examples

- 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

RateSchedule Class
Resto.Front.Api.Data.Orders Namespace
RateSchedule
TimingStep