IEditSessionAddOrderGuest Method (Guid, String, IOrderStub) |
Adds new guest with the given ID to existing order. User must have rights to edit orders.
Namespace:
Resto.Front.Api.Editors
Assembly:
Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax INewOrderGuestItemStub AddOrderGuest(
Guid id,
string name,
IOrderStub order
)
Parameters
- id
- Type: SystemGuid
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
- 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:
INewOrderGuestItemStubSee Also