iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api.Data.Orders
IOrderServiceItemPeriod Interface
IOrderServiceItemPeriod Properties
IOrderServiceItemPeriod Methods

# IOrderServiceItemPeriod Interface

Period of a service item.

Namespace: Resto.Front.Api.Data.Orders
Assembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    public interface IOrderServiceItemPeriod : ISerializable,
    	IEntity, IOrderServiceItemPeriodStub

The IOrderServiceItemPeriod type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| Cost | Cost of the service period.
| ElapsedTime | Exact total elapsed time of the period, includes all runs of the period. Service may be started, then stopped, then started again, or the schedule may switch the service to another rate and then switch back, so this property will accumulate total active time of the period. This is exact unrounded value. For example, if timing step is 10 mins and this period was active only for 2 mins and 42 seconds, the Cost will be calculated for 10 mins anyway, while this property will have an exact value 00:02:42.
| Id | (Inherited from IEntity.)
| Price | Price of the service period per timing step (TimingStep).
| Service | Product that specifies price of the period. Expected to be of types Service or Rate.
| ServiceCustomName | Optional marker used to specify custom name of the service period.

Top
Methods

| Name | Description
--- | --- | ---
| GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from ISerializable.)

Top
See Also

#### Reference

Resto.Front.Api.Data.Orders Namespace