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.Editors
Assembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax
C#
INewOrderServiceItemStub AddOrderServiceItem(
	IProduct service,
	IOrderStub order,
	IOrderGuestItemStub guest,
	TimeSpan? timeLimit = null
)

Parameters

service  IProduct
Assortment position. Must exist in Syrve POS assortment.
order  IOrderStub
Order to which position will be added
guest  IOrderGuestItemStub
Guest to which position will be added
timeLimit  NullableTimeSpan  (Optional)
Total amount of time after which the service will be stopped or null for default limit (12 hours). Includes all periods.

Return Value

INewOrderServiceItemStub
See Also