Click or drag to resize

IEditSessionSetProductItemCustomName Method

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

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
void SetProductItemCustomName(
	string customName,
	IOrderStub order,
	IOrderProductItemStub orderItem
)

Parameters

customName
Type: SystemString
New custom name of the product item or null to use default name.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order that contains element with changing product item.
orderItem
Type: Resto.Front.Api.Editors.StubsIOrderProductItemStub
Product item which custom name will be changed.
See Also