Click or drag to resize

IOrder Interface


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

The IOrder type exposes the following members.

Properties
 NameDescription
Public propertyAppliedDiscountsThe result of applying discount items from Discounts. Discount items that don't affect the order, aren't included into this collection.
Public propertyBillTimeGets the bill cheque print time of the current order.
Public propertyCashierGets the user closed the current order.
Public propertyChequeAdditionalInfoCheque information of the order.
Public propertyCloseTimeGets the payment time of the current order.
Public propertyCombos 
Public propertyCommentOrder comment.
Public propertyCookingPrioritySpecifies 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 propertyDetailedVatInvoiceParametersVat invoice info for each guest by guest id.
Public propertyDiscountsDiscount items that have been added to the order.
Public propertyDonations 
Public propertyEInvoiceOrganizationIdIdentifier of an organization of the banquet invoice.
Public propertyEstimatedGuestsCountGets 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 propertyExternalNumberOptional order number in the external system. This can be used to match the external order to the Syrve one. This property contains either null or number of the source order was received from. Specifying origin order number allows to analyse efficiency of external order sources such as different web-sites, mobile applications and so on.
Public propertyFiscalChequeNumbersFiscal cheque numbers.
Public propertyFullSumSubtotal, sum of all not deleted order items with included vat, but without excluded vat and discounts.
Public propertyGroupOrderIdGroup order id, if current order is an additional order.
Public propertyGuests 
Public propertyId
(Inherited from IEntity)
Public propertyIikoCard51InfoSpecific data for Syrve Loyalty (legacy).
Public propertyIsBanquetOrderOrder is for banquet.
Public propertyIsFastFoodOrderOrder is FastFood.
Public propertyIsFiscalizedBeforePaymentWhether order was printed fiscal cheque before payment (PrintFiscalChequeBeforePaymentOrder(IOrder, Boolean, ICredentials, ChequeAdditionalInfo)).
Public propertyIsTopCookingPriorityThe 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 propertyLastChangedTerminalIdId of the terminal (ITerminal) that last changed the order.
Public propertyNumber 
Public propertyOpenTime 
Public propertyOrderType 
Public propertyOriginNameOptional 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 propertyParentOrderIdThe Id of the original order, if the current order is the result of a split.
Public propertyPaymentDiscountsThe result of applying payment items from Payments processed or fiscalized as discounts.
Public propertyPayments 
Public propertyPriceCategoryPrice category.
Public propertyPricingTimeTime, which determines the price of products. By default time is taken from items print time.
Public propertyProcessedPaymentsSumSum of all processed payment items in order.
Public propertyRemovedItemsList of items which were deleted before printing.
Public propertyRepeatBillNumberNumber of repeated bills.
Public propertyReserveIdIdentifier of reserve / banquet related to the order.
Public propertyResultSumTotal sum to be paid, sum of all not deleted order items with discounts and both included and excluded vat.
Public propertyRevisionIncremental version of the entity. The revision grows monotonically only within this terminal database (GetHostDatabaseId).
(Inherited from IVersionedEntity)
Public propertyStatus 
Public propertyStornedOrderIdSource order's identifier this order copied from during storno operation. null if the order has never storned.
Public propertyTables 
Public propertyTabNameOptional 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 propertyVatInvoiceParametersOrder vat invoice info.
Public propertyWaiter 
Public propertyWasPrepaidWhether order was prepaid. Any processed or deleted prepay.
Top
Methods
 NameDescription
Public methodGetObjectDataPopulates a SerializationInfo with the data needed to serialize the target object.
(Inherited from ISerializable)
Top
Extension Methods
 NameDescription
Public Extension MethodGetOrderAllExternalData Returns all external data of order. Use [!:AddOrderExternalData] to add the data in order.
(Defined by OperationArgumentExtensions)
Public Extension MethodTryGetOrderExternalDataByKey Returns external data by key. Use [!:AddOrderExternalData] to add the data in order.
(Defined by OperationArgumentExtensions)
Top
See Also