Click or drag to resize

IEditSessionSetOrderModifierItemCustomName 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.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
void SetOrderModifierItemCustomName(
	string customName,
	IOrderStub order,
	IOrderCompoundItemComponentStub compoundComponent,
	IOrderModifierItemStub modifier
)

Parameters

customName
Type: SystemString
New custom name of the modifier or null to use default name.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order that contains element with changing modifier.
compoundComponent
Type: Resto.Front.Api.Editors.StubsIOrderCompoundItemComponentStub
Order item with changing modifier.
modifier
Type: Resto.Front.Api.Editors.StubsIOrderModifierItemStub
Modifier which custom name will be changed.
See Also