Click or drag to resize

IOrder Interface

Namespace:  Resto.Front.Api.Data.Orders
Assembly:  Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax
C#
public interface IOrder : ISerializable, IEntity, 
	IVersionedEntity, IOrderStub

The IOrder type exposes the following members.

Properties
  NameDescription
Public propertyAppliedDiscounts
The result of applying discount items from Discounts. Discount items that don't affect the order, aren't included into this collection.
Public propertyBillTime
Gets the bill cheque print time of the current order.
Public propertyCashier
Gets the user closed the current order.
Public propertyCloseTime
Gets the payment time of the current order.
Public propertyCombos
Public propertyComment
Order comment.
Public propertyCookingPriority
Specifies a custom cooking priority. While the application provides built-in prioritization logic for orders based on timing, dish courses, etc., you can override it and enforce custom cooking order based on your external logic. Ideally, all dishes should be cooked timely, but in case of concurrency when kitchen is high-loaded, you have to decide which orders are more important and should be cooked in the first place and which orders are allowed to be delayed. Higher priority values mean that the order, its serve groups and dishes will appear at the kitchen display earlier. Default value is zero. Both positive and negative values are allowed for raising and lowering the priority correspondingly. Orders with the same cooking priority will be sorted using default built-in logic.
Public propertyCustomerIds
Public propertyDiscounts
Discount items that have been added to the order.
Public propertyDonations
Public propertyEstimatedGuestsCount
Gets estimated guests count, that is greater than or equal to added guests count. When single order is used to serve many people and handling each of them as a separate guest may be inconvenient, this property will indicate estimated guests count while guests collection will contain as many guests as needed for waiters.
Public propertyFiscalChequeNumber
Fiscal cheque number.
Public propertyFullSum
Subtotal, sum of all not deleted order items with included vat, but without excluded vat and discounts.
Public propertyGuests
Public propertyId (Inherited from IEntity.)
Public propertyIikoCard51Info
Specific data for iikoCard51.
Public propertyIsBanquetOrder
Order is banquet.
Public propertyIsTopCookingPriority
The flag specifies that this order should be cooked out-of-order at kitchen. All orders which have this flag set on will appear above other orders at the kitchen display. Both groups (top priority and non-top priority) will be sorted separately using usual sorting logic (custom cooking priority, then default built-in criterions. Default value is false.
Public propertyItems
Public propertyLastChangedTerminalId
Id of the terminal (ITerminal) that last changed the order.
Public propertyNumber
Public propertyOpenTime
Public propertyOrderType
Public propertyOriginName
Optional marker used to specify order origin. This property contains either null or name of the source order was received from. Specifying origin allows to analyse efficiency of external order sources such as different web-sites, mobile applications and so on.
Public propertyPayments
Public propertyPriceCategory
Price category.
Public propertyPricingTime
Time, which determines the price of products. By default time is taken from items print time.
Public propertyProcessedPaymentsSum
Sum of all processed payment items in order.
Public propertyRepeatBillNumber
Number of repeated bills.
Public propertyResultSum
Total sum to be paid, sum of all not deleted order items with discounts and both included and excluded vat.
Public propertyRevision
Incremental version of the entity.
(Inherited from IVersionedEntity.)
Public propertyStatus
Public propertyStornedOrderId
Source order's identifier this order copied from during storno operation. null if the order has never storned.
Public propertyTables
Public propertyTabName
Optional marker used to specify that the order is a tab. This property contains name of the tab if the order is marked as tab, otherwise null.
Public propertyWaiter
Public propertyWasPrepaid
Whether order was prepaid. Any processed or deleted prepay.
Top
Methods
  NameDescription
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
(Inherited from ISerializable.)
Top
Extension Methods
  NameDescription
Public Extension MethodTryGetOrderExternalDataByKey
Returns external data by key. Use [!:AddOrderExternalData] to add the data in order.
(Defined by OperationArgumentExtensions.)
Top
See Also