IEditSessionCreateOrder Method |
Creates new order on specified table. User must have rights to create orders.
Namespace:
Resto.Front.Api.Editors
Assembly:
Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax INewOrderStub CreateOrder(
IReadOnlyList<ITable> tables,
bool? isFastFoodOrder = null,
bool hasFixedIikoCardDiscounts = false,
IUser waiter = null
)
Parameters
- tables
- Type: System.Collections.GenericIReadOnlyListITable
Tables on which order will be created. If tables is null or empty, then order will be created on the default table. - isFastFoodOrder (Optional)
- Type: SystemNullableBoolean
Set true to create FastFood order, false to create TableService order, null to create either FastFood or TableService order depending on the terminals group service mode. - hasFixedIikoCardDiscounts (Optional)
- Type: SystemBoolean
Order has fixed iikoCard discounts. - waiter (Optional)
- Type: Resto.Front.Api.Data.SecurityIUser
Waiter for new order. If null, user from credentials will be used.
Return Value
Type:
INewOrderStubSee Also