Click or drag to resize

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.Editors
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
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.Editors.StubsIReserveStub
Reserve to edit.
See Also