IOrder Interface |
Namespace: Resto.Front.Api.Data.Orders
public interface IOrder : ISerializable, IEntity, IVersionedEntity, IOrderStub
The IOrder type exposes the following members.
Name | Description | |
---|---|---|
BillTime | Gets the bill cheque print time of the current order. | |
Cashier | Gets the user closed the current order. | |
CloseTime | Gets the payment time of the current order. | |
Combos | ||
CookingPriority | 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. | |
CustomerIds | ||
Discounts | ||
Donations | ||
EstimatedGuestsCount | 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. | |
FiscalChequeNumber | Fiscal cheque number. | |
FullSum | Subtotal, sum of all not deleted order items with included vat, but without excluded vat and discounts. | |
Guests | ||
Id | (Inherited from IEntity.) | |
IikoCard51Info | Specific data for iikoCard51. | |
IsBanquetOrder | Order is banquet. | |
IsTopCookingPriority | 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. | |
Items | ||
Number | ||
OpenTime | ||
OrderType | ||
OriginName | 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. | |
Payments | ||
PriceCategory | Price category. | |
PricingTime | Time, which determines the price of products. By default time is taken from items print time. | |
ProcessedPaymentsSum | Sum of all processed payment items in order. | |
ResultSum | Total sum to be paid, sum of all not deleted order items with discounts and both included and excluded vat. | |
Revision | (Inherited from IVersionedEntity.) | |
Status | ||
Tables | ||
Waiter | ||
WasPrepaid | Whether order was prepaid. Any processed or deleted prepay. |
Name | Description | |
---|---|---|
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from ISerializable.) |