IOrder Interface |
Namespace: Resto.Front.Api.V4.Data.Orders
public interface IOrder : ISerializable, IEntity, IVersionedEntity
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 bill cheque print time of the current order. | |
Customers | ||
Discounts | ||
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. | |
Id | (Inherited from IEntity.) | |
IsBanquetOrder | Order is banquet. | |
Number | ||
OpenTime | ||
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. | |
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 | ||
Type | ||
Waiter |
Name | Description | |
---|---|---|
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from ISerializable.) |
Name | Description | |
---|---|---|
GetGuest |
Returns guest by id from the specified order.
(Defined by OrderExtensions.) | |
GetGuests |
Returns guests of the specified order.
(Defined by OrderExtensions.) | |
GetPayment |
Returns payment by id from the specified order.
(Defined by OrderExtensions.) | |
GetPayments |
Returns payments of the specified order.
(Defined by OrderExtensions.) | |
GetProduct |
Returns product by id from the specified order.
(Defined by OrderExtensions.) | |
GetProducts |
Returns products of the specified order.
(Defined by OrderExtensions.) | |
ToEntityStub | (Defined by IEntityExtensions.) | |
TryGetGuest |
Returns guest by id from the specified order or null if order doesn't exist or doesn't contain guest with that id.
(Defined by OrderExtensions.) | |
TryGetGuests |
Returns guests of the specified order or null if order doesn't exist.
(Defined by OrderExtensions.) | |
TryGetPayment |
Returns payment by id from the specified order or null if order doesn't exist or doesn't contain payment with that id.
(Defined by OrderExtensions.) | |
TryGetPayments |
Returns payments of the specified order or null if order doesn't exist.
(Defined by OrderExtensions.) | |
TryGetProduct |
Returns product by id from the specified order or null if order doesn't exist or doesn't contain product with that id.
(Defined by OrderExtensions.) | |
TryGetProducts |
Returns products of the specified order or null if order doesn't exist.
(Defined by OrderExtensions.) |