Click or drag to resize

IEditSessionChangeOrderCookingItemAmount Method

Changes the amount of the assortment position in existing order. User must have rights to edit orders.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax
C#
void ChangeOrderCookingItemAmount(
	decimal amount,
	IOrderCookingItemStub cookingItem,
	IOrderStub order
)

Parameters

amount
Type: SystemDecimal
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
Type: Resto.Front.Api.Editors.StubsIOrderCookingItemStub
Order item that represents the assortment position and which amount will be changed.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order which contains the product.
See Also