iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api.Devices
ICashRegister Interface
ICashRegister Methods
CheckFfd12Marking Method
CustomerDisplayIdle Method
CustomerDisplayText Method
DirectIo Method
DoBillCheque Method
DoCheque Method
DoCorrection Method
DoOpenSession Method
DoPayIn Method
DoPayOut Method
DoXReport Method
DoZReport Method
GetCashRegisterData Method
GetCashRegisterDriverParameters Method
GetCashRegisterStatus Method
GetQueryInfo Method
IsDrawerOpened Method
OpenDrawer Method
PrintText Method

# ICashRegister DoZReport Method

Perform Z-report printing operation at the cafe session closing.

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

    CashRegisterResult DoZReport(
    	ICafeSession cafeSession,
    	IUser cashier,
    	bool printEklzReport,
    	IViewManager viewManager
    )

#### Parameters

cafeSession
  Type: Resto.Front.Api.Data.Device
  ICafeSession
  The cafe session to be closed.
cashier
  Type: Resto.Front.Api.Data.Security
  IUser
  The cashier performing the operation.
printEklzReport
  Type: System
  Boolean
  True, if need to print a cafe session settlement status report.
viewManager
  Type: Resto.Front.Api.UI
  IViewManager
  IViewManager object to show dialogs. Should not be used after method returns.

#### Return Value

Type: CashRegisterResult
State of the cash register: sums, vat, sale number and other.
Exceptions

Exception | Condition
--- | ---
DeviceException | Exception to notify that device actions was not successful.

Remarks
Called at the cafe session closing.
See Also

#### Reference

ICashRegister Interface
Resto.Front.Api.Devices Namespace