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  IReadOnlyListIOrderRootItemStub
Product items to be moved. To move a combo, all its items must be included in this list.
sourceOrder  IOrderStub
Order which currently contains the products.
destinationGuest  IOrderGuestItemStub
Guest the product items will be assigned to.
destinationOrder  IOrderStub
Order to move to.
See Also