iikoFront Api V8 Code Reference
iikoFront Api V8 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, IOrderProductItemStub, IOrderModifierItemStub)

Sets the custom name of the product item modifier. User must have rights to edit orders.

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

    void SetOrderModifierItemCustomName(
    	string customName,
    	IOrderStub order,
    	IOrderProductItemStub orderItem,
    	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.
orderItem
  Type: Resto.Front.Api.Editors.Stubs
  IOrderProductItemStub
  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