IOrderServiceItem Interface |
Namespace: Resto.Front.Api.Data.Orders
public interface IOrderServiceItem : IOrderRootItem, ISerializable, IEntity, IOrderRootItemStub, IOrderServiceItemStub
The IOrderServiceItem type exposes the following members.
Name | Description | |
---|---|---|
Cost | Total cost of the service item, sum of costs of the Periods plus RemainingLimitCost. | |
Deleted | (Inherited from IOrderRootItem.) | |
DeletionMethod | (Inherited from IOrderRootItem.) | |
Guest | (Inherited from IOrderRootItem.) | |
Id | (Inherited from IEntity.) | |
IsStarted | Whether the service is running now. | |
Kitchen | Product cooking place. | |
Periods | Service periods, each period represents some rate. For example, if the schedule has different rates for times before and after 10 o'clock, the service was started at 09:30 and now is 11:00, there will be one period with 30 mins length and another period with 60 mins length, both periods may have different prices and therefore different costs. | |
Price | Default price of the service. Some periods may have own prices, see Price. All prices are per timing step (TimingStep). | |
PrintTime | (Inherited from IOrderRootItem.) | |
RateSchedule | Schedule of the service rates. | |
RemainingLimitCost | Predicted cost of the remaining time limit. Zero, if the TimeLimit is not set. If the time limit is set, but it's less than total time of the Periods, remaining time limit is zero and therefore it's cost is also zero. For example, if timing step is one minute, the time limit was set to 1 hour and 20 minutes already passed, there will be one or more periods with total time of 20 minutes and their respective costs, then the cost of remaining 40 minutes will be predicted using schedule. This cost will go down with the lapse of time, because while time of some period increases, the remaining time limit decreases. After 15 minutes total periods time will be 35 mins (20+15) and RemainingLimitCost will represent cost of the remaining 25 mins. | |
ResultSum | Total sum to be paid, sum with discounts and both included and excluded vat. | |
Service | The service menu item. Expected to be of type Service. | |
ServiceCustomName | Optional marker used to specify custom name of the service item. | |
Status | Gets the status of the current order item. (Inherited from IOrderRootItem.) | |
TaxPercent | Tax percent or null for not taxed order items. | |
TimeLimit | Total amount of time after which the service will be stopped or null for default limit (12 hours). Includes all periods. | |
Waiter | Waiter who made latest changes to the order item. (Inherited from IOrderRootItem.) |
Name | Description | |
---|---|---|
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from ISerializable.) |