Click or drag to resize

IEditSessionAddOrderServiceItem Method

Adds time pay service item to the guest in existing order. User must have permission to edit orders.

Namespace:  Resto.Front.Api.V5.Editors
Assembly:  Resto.Front.Api.V5 (in Resto.Front.Api.V5.dll)
Syntax
C#
INewOrderServiceItemStub AddOrderServiceItem(
	IProduct service,
	IOrderStub order,
	IOrderGuestItemStub guest
)

Parameters

service
Type: Resto.Front.Api.V5.Data.AssortmentIProduct
Assortment position. Must exist in iikoFront assortment.
order
Type: Resto.Front.Api.V5.Editors.StubsIOrderStub
Order to which position will be added
guest
Type: Resto.Front.Api.V5.Editors.StubsIOrderGuestItemStub
Guest to which position will be added

Return Value

Type: INewOrderServiceItemStub
See Also