Click or drag to resize

ICashRegisterDoCheque Method

Perform a cheque printing operation on a cash register.

Namespace:  Resto.Front.Api.Devices
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
CashRegisterResult DoCheque(
	ChequeTask chequeTask,
	IViewManager viewManager,
	IOperationDataContext context,
	IOperationService operationService
)

Parameters

chequeTask
Type: Resto.Front.Api.Data.Device.TasksChequeTask
ChequeTask Information about the order items, payments, discounts, cashier and other.
viewManager
Type: Resto.Front.Api.UIIViewManager
IViewManager object to show dialogs. Should not be used after method returns.
context
Type: Resto.Front.Api.DevicesIOperationDataContext
object to store custom serialized data for current operation.
operationService
Type: Resto.Front.ApiIOperationService
IOperationService which allows to work with bound order.

Return Value

Type: CashRegisterResult
State of the cash register: sums, vat, sale number and other.
Exceptions
ExceptionCondition
DeviceExceptionException to notify that device actions was not successful.
Remarks
Called when the order is closed or storned on the plug-in cash register.
See Also