iikoFront Api V6 Code Reference
iikoFront Api V6 Code Reference
Resto.Front.Api.Editors
IEditSession Interface
IEditSession Methods
ChangeOrderModifierItemAmount Method
ChangeOrderModifierItemAmount Method (Int32, IOrderStub, IOrderCompoundItemComponentStub, IOrderModifierItemStub)
ChangeOrderModifierItemAmount Method (Int32, IOrderStub, IOrderCompoundItemStub, IOrderModifierItemStub)
ChangeOrderModifierItemAmount Method (Int32, IOrderStub, IOrderProductItemStub, IOrderModifierItemStub)

# IEditSession ChangeOrderModifierItemAmount 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) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    void ChangeOrderModifierItemAmount(
    	int amount,
    	IOrderStub order,
    	IOrderCompoundItemComponentStub compoundComponent,
    	IOrderModifierItemStub modifier
    )

#### Parameters

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

See Also

#### Reference

IEditSession Interface
ChangeOrderModifierItemAmount Overload
Resto.Front.Api.Editors Namespace