Click or drag to resize

IOperationServiceTryGetBillPrinter Method

Try get bill printer for specified restaurant section.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
IPrinterRef TryGetBillPrinter(
	IRestaurantSection section = null,
	bool checkIsConfigured = false
)

Parameters

section (Optional)
Type: Resto.Front.Api.Data.Organization.SectionsIRestaurantSection
Printer`s restaurant section. If section not specified uses default table`s section.
checkIsConfigured (Optional)
Type: SystemBoolean
If checkIsConfigured = true returns only configured printer.

Return Value

Type: IPrinterRef
Instance of printer or null if section does not contains bill printer or bill printer not configured (for checkIsConfigured = true).
See Also