Click or drag to resize

IEditSessionMoveOrderItemsToAnotherOrder Method

Moves product items (including combos) between orders.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax
C#
void MoveOrderItemsToAnotherOrder(
	IReadOnlyList<IOrderRootItemStub> orderItems,
	IOrderStub sourceOrder,
	IOrderGuestItemStub destinationGuest,
	IOrderStub destinationOrder
)

Parameters

orderItems
Type: System.Collections.GenericIReadOnlyListIOrderRootItemStub
Product items to be moved. To move a combo, all its items must be included in this list.
sourceOrder
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order which currently contains the products.
destinationGuest
Type: Resto.Front.Api.Editors.StubsIOrderGuestItemStub
Guest the product items will be assigned to.
destinationOrder
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order to move to.
See Also