IEditSessionAddOrderServiceItem Method |
Adds time pay service item to the guest in existing order. User must have permission to edit orders.
Namespace: Resto.Front.Api.EditorsAssembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
SyntaxINewOrderServiceItemStub 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