Click or drag to resize

ICashRegisterDoOpenSession Method

Perform open cafe session operation.

Namespace:  Resto.Front.Api.Devices
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
CashRegisterResult DoOpenSession(
	OpenSessionTask task,
	IUser cashier,
	IViewManager viewManager
)

Parameters

task
Type: Resto.Front.Api.Data.Device.TasksOpenSessionTask
OpenSessionTaskTask to process.
cashier
Type: Resto.Front.Api.Data.SecurityIUser
The cashier performing the operation.
viewManager
Type: Resto.Front.Api.UIIViewManager
IViewManager object to show dialogs. Should not be used after method returns.

Return Value

Type: CashRegisterResult
Exceptions
ExceptionCondition
DeviceExceptionException to notify that device actions was not successful.
See Also