Click or drag to resize

IEditSessionChangeOrderItemModifierAmount Method

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

Namespace:  Resto.Front.Api.V4.Editors
Assembly:  Resto.Front.Api.V4 (in Resto.Front.Api.V4.dll)
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.V4.Editors.StubsIOrderStub
Order that contains element with changing modifier.
orderItemProduct
Type: Resto.Front.Api.V4.Editors.StubsIOrderItemProductStub
Order item with changing modifier.
orderItemModifier
Type: Resto.Front.Api.V4.Editors.StubsIOrderItemModifierStub
Modifier which amount will be changed.

Return Value

Type: INewOrderItemModifierStub
See Also