IEditSessionAddOrderGuest(Guid, String, IOrderStub) Method |
Adds new guest with the given ID to existing order. User must have rights to edit orders.
Namespace: Resto.Front.Api.EditorsAssembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
SyntaxINewOrderGuestItemStub AddOrderGuest(
Guid id,
string name,
IOrderStub order
)
Parameters
- id Guid
- Unique identifier of the new guest in the order. MUST be unique not only for the order, but for the whole system. Therefore it must be taken from some synchronization operation or generated with Guid.NewGuid().
- name String
- Name of the new guest. If name is null, then it will be generated automatically.
- order IOrderStub
- Existing order
Return Value
INewOrderGuestItemStub
See Also