Click or drag to resize

IEditSessionChangeOrderModifierItemAmount Method (Int32, IOrderStub, IOrderCompoundItemComponentStub, IOrderModifierItemStub)

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

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

Parameters

amount
Type: SystemInt32
New amount of the modifier. Can be from 1 to 999.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order that contains element with changing modifier.
compoundComponent
Type: Resto.Front.Api.Editors.StubsIOrderCompoundItemComponentStub
Order item with changing modifier.
modifier
Type: Resto.Front.Api.Editors.StubsIOrderModifierItemStub
Modifier which amount will be changed.
See Also