Click or drag to resize

IEditSessionSetServiceItemPeriodCustomName Method

Sets the custom name of the service period. User must have rights to edit orders.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax
C#
void SetServiceItemPeriodCustomName(
	string customName,
	IOrderStub order,
	IOrderServiceItemStub orderItem,
	IOrderServiceItemPeriodStub period
)

Parameters

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