IEditSessionChangeOrderItemModifierAmount Method iikoFront Api V3 Documentation
Changes the amount of the order item modifier. User must have rights to edit orders.

Namespace: Resto.Front.Api.V3.Editors
Assembly: Resto.Front.Api.V3 (in Resto.Front.Api.V3.dll) Version: 4.1.1236.1 (4.1.1236.1)
Syntax

C#
INewOrderItemModifierStub ChangeOrderItemModifierAmount(
	int amount,
	IOrderStub order,
	IOrderItemProductStub orderItemProduct,
	IOrderItemModifierStub orderItemModifier
)

Parameters

amount
Type: SystemInt32
New amount of the modifier. Can be from 1 to 999.
order
Type: Resto.Front.Api.V3.EditorsIOrderStub
Order that contains element with changing modifier.
orderItemProduct
Type: Resto.Front.Api.V3.EditorsIOrderItemProductStub
Order item with changing modifier.
orderItemModifier
Type: Resto.Front.Api.V3.EditorsIOrderItemModifierStub
Modifier which amount will be changed.

Return Value

Type: INewOrderItemModifierStub
See Also

Reference