Click or drag to resize

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
C#
INewOrderStub 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