IEditSessionCreateOrder Method |
Creates new order on specified table. User must have rights to create orders.
Namespace: Resto.Front.Api.EditorsAssembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
SyntaxINewOrderStub CreateOrder(
IReadOnlyList<ITable> tables,
bool? isFastFoodOrder = null,
bool hasFixedIikoCardDiscounts = false,
IUser waiter = null
)
Parameters
- tables IReadOnlyListITable
- Tables on which order will be created. If tables is null or empty, then order will be created on the default table.
- isFastFoodOrder NullableBoolean (Optional)
- 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 Boolean (Optional)
- Order has fixed iikoCard discounts.
- waiter IUser (Optional)
- Waiter for new order. If null, user from credentials will be used.
Return Value
INewOrderStub
See Also