Click or drag to resize

IEditSessionMoveOrderItemsToAnotherGuest Method

Moves product items (including combos) between guests of the same order. To move a combo, include all its items in the list.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax
C#
void MoveOrderItemsToAnotherGuest(
	IReadOnlyList<IOrderRootItemStub> products,
	IOrderGuestItemStub destinationGuest,
	IOrderStub order
)

Parameters

products
Type: System.Collections.GenericIReadOnlyListIOrderRootItemStub
Product items to be moved.
destinationGuest
Type: Resto.Front.Api.Editors.StubsIOrderGuestItemStub
Guest the product items will be assigned to.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order which contains the products.
See Also