Click or drag to resize

IEditSessionMoveOrderItemToAnotherOrder Method

Moves product item between orders.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
void MoveOrderItemToAnotherOrder(
	IOrderRootItemStub orderItem,
	IOrderStub sourceOrder,
	IOrderGuestItemStub destinationGuest,
	IOrderStub destinationOrder
)

Parameters

orderItem
Type: Resto.Front.Api.Editors.StubsIOrderRootItemStub
Product item to be moved.
sourceOrder
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order which currently contains the product.
destinationGuest
Type: Resto.Front.Api.Editors.StubsIOrderGuestItemStub
Guest the product item will be assigned to.
destinationOrder
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order to move to.
See Also