Click or drag to resize

IEditSessionMoveOrderItemToAnotherGuest Method

Moves product item between guests of the same order.

Namespace:  Resto.Front.Api.V5.Editors
Assembly:  Resto.Front.Api.V5 (in Resto.Front.Api.V5.dll)
Syntax
C#
void MoveOrderItemToAnotherGuest(
	IOrderRootItem product,
	IOrderGuestItemStub destinationGuest,
	IOrderStub order
)

Parameters

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