Click or drag to resize

IEditSessionMoveOrderItemToAnotherOrder Method

Moves product item between orders.

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

Parameters

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