IOperationServiceTryGetDocumentPrinter Method |
Try get document printer for specified restaurant section.
Namespace:
Resto.Front.Api
Assembly:
Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax IPrinterRef TryGetDocumentPrinter(
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 document printer or document printer not configured (for
checkIsConfigured =
true).
See Also