Click or drag to resize

IEditSession.DeletePrintedOrderItems Method

Deletes order items that is already printed. User must have rights to edit orders.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
void DeletePrintedOrderItems(
	string comment,
	WriteoffOptions writeoffOptions,
	IOrderStub order,
	IReadOnlyList<IOrderRootItemStub> orderItems
)

Parameters

comment
Type: System.String
Comment to the charge-off. Max length - 255 chars.
writeoffOptions
Type: Resto.Front.Api.Data.Orders.WriteoffOptions
Object that describes how item should be removed and charged-off.
order
Type: Resto.Front.Api.Editors.Stubs.IOrderStub
Order that contains the items to be removed.
orderItems
Type: System.Collections.Generic.IReadOnlyList<IOrderRootItemStub>
Order items to be removed. Items must be printed.
See Also