IEditSessionAddOrderCompoundItem(IProduct, IOrderStub, IOrderGuestItemStub, IProductSize, OrderItemCourse) Method |
Adds compound item to the guest in existing order. User must have permission to edit orders.
Namespace: Resto.Front.Api.EditorsAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
SyntaxINewOrderCompoundItemStub AddOrderCompoundItem(
IProduct product,
IOrderStub order,
IOrderGuestItemStub guest,
IProductSize size,
OrderItemCourse course = OrderItemCourse.Default
)
Parameters
- product IProduct
- Assortment position used to fix modifiers. Must exist in Syrve POS assortment.
- order IOrderStub
- Order to which position will be added.
- guest IOrderGuestItemStub
- Guest to which position will be added.
- size IProductSize
- Size of the order item if it's template has scale, otherwise null.
- course OrderItemCourse (Optional)
- Cooking and serving priority of the order item.
Return Value
INewOrderCompoundItemStub
Remarks
See Also