iikoFront Api V7Preview7 Code Reference
iikoFront Api V7Preview7 Code Reference
Resto.Front.Api.Editors
IEditSession Interface
IEditSession Methods
SetOrderModifierItemCustomName Method
SetOrderModifierItemCustomName Method (String, IOrderStub, IOrderCompoundItemComponentStub, IOrderModifierItemStub)
SetOrderModifierItemCustomName Method (String, IOrderStub, IOrderCompoundItemStub, IOrderModifierItemStub)
SetOrderModifierItemCustomName Method (String, IOrderStub, IOrderProductItemStub, IOrderModifierItemStub)

# IEditSession SetOrderModifierItemCustomName Method (String, IOrderStub, IOrderCompoundItemComponentStub, IOrderModifierItemStub)

Sets the custom name of the compound component modifier. User must have rights to edit orders.

Namespace: Resto.Front.Api.Editors
Assembly: Resto.Front.Api.V7Preview7 (in Resto.Front.Api.V7Preview7.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    void SetOrderModifierItemCustomName(
    	string customName,
    	IOrderStub order,
    	IOrderCompoundItemComponentStub compoundComponent,
    	IOrderModifierItemStub modifier
    )

#### Parameters

customName
  Type: System
  String
  New custom name of the modifier or null to use default name.
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 custom name will be changed.

See Also

#### Reference

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