Click or drag to resize

IEditSessionAddOrderGuest Method (String, IOrderStub)

Adds new guest to existing order. User must have rights to edit orders.

Namespace:  Resto.Front.Api.V4.Editors
Assembly:  Resto.Front.Api.V4 (in Resto.Front.Api.V4.dll)
Syntax
C#
INewOrderItemGuestStub AddOrderGuest(
	string name,
	IOrderStub order
)

Parameters

name
Type: SystemString
Name of the new guest. If name is null, then it will be generated automatically.
order
Type: Resto.Front.Api.V4.Editors.StubsIOrderStub
Existing order

Return Value

Type: INewOrderItemGuestStub
See Also