IEditSessionChangeOrderCookingItemAmount Method |
Changes the amount of the assortment position in existing order. User must have rights to edit orders.
Namespace: Resto.Front.Api.EditorsAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntaxvoid ChangeOrderCookingItemAmount(
decimal amount,
IOrderCookingItemStub cookingItem,
IOrderStub order
)
Parameters
- amount Decimal
- For positions with weight: new weight in defined measure unit. For positions without weight: new amount of the position. Can be from 0.001 to 999.999
- cookingItem IOrderCookingItemStub
- Order item that represents the assortment position and which amount will be changed.
- order IOrderStub
- Order which contains the product.
See Also