IOperationServiceGetPriceTicketMarkup(IProduct, IBarcodeContainer, IPrintingDeviceInfo) Method |
Builds one price ticket using the native Front template without printing. Stimulsoft falls back to Razor according to native Front behavior. Formatting and its hooks run during Print.
Namespace: Resto.Front.ApiAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
SyntaxPriceTicketMarkup GetPriceTicketMarkup(
IProduct product,
IBarcodeContainer barcodeContainer,
IPrintingDeviceInfo printer
)
Parameters
- product IProduct
-
Product for the price ticket.
- barcodeContainer IBarcodeContainer
-
Packing selected from the product barcode containers. Its current quantity in Front is used.
- printer IPrintingDeviceInfo
-
Target printing device. It need not be assigned to a restaurant section.
Return Value
PriceTicketMarkup
The unformatted document and barcode passed to its template model. A missing barcode does not prevent document generation. A template may omit a non-null barcode. Reuse Document to print identical copies on the specified printer.
Exceptions
See Also