Click or drag to resize

IEditSession.ChangeOrderModifierItemAmount Method (Int32, IOrderStub, IOrderCompoundItemStub, IOrderModifierItemStub)

Changes the amount of the compound item common modifier. User must have rights to edit orders.

Namespace:  Resto.Front.Api.V5.Editors
Assembly:  Resto.Front.Api.V5 (in Resto.Front.Api.V5.dll)
Syntax
C#
void ChangeOrderModifierItemAmount(
	int amount,
	IOrderStub order,
	IOrderCompoundItemStub orderItem,
	IOrderModifierItemStub modifier
)

Parameters

amount
Type: System.Int32
New amount of the modifier. Can be from 1 to 999.
order
Type: Resto.Front.Api.V5.Editors.Stubs.IOrderStub
Order that contains element with changing modifier.
orderItem
Type: Resto.Front.Api.V5.Editors.Stubs.IOrderCompoundItemStub
Order item with changing modifier.
modifier
Type: Resto.Front.Api.V5.Editors.Stubs.IOrderModifierItemStub
Modifier which amount will be changed.
See Also