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.Editors
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
INewOrderGuestItemStub 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.Editors.StubsIOrderStub
Existing order

Return Value

Type: INewOrderGuestItemStub
See Also