IEditSessionChangeReserveDuration Method |
Changes estimated reserve duration (amount of time betwen visit's start and end). Default reserve duration is 2 hours, banquet duration is 3 hours.
Namespace:
Resto.Front.Api.V4.Editors
Assembly:
Resto.Front.Api.V4 (in Resto.Front.Api.V4.dll)
Syntax void ChangeReserveDuration(
TimeSpan duration,
IReserveStub reserve
)
Parameters
- duration
- Type: SystemTimeSpan
Reserve duration, minimum value is 15 minutes, maximum value is 23 hours and 59 minutes, maximum precision is 1 minute (so 1h 25m 42s is invalid as too precise value). - reserve
- Type: Resto.Front.Api.V4.Editors.StubsIReserveStub
Reserve to edit.
See Also