Click or drag to resize

IOrderServiceItemPeriod Interface

Period of a service item.

Namespace:  Resto.Front.Api.Data.Orders
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
public interface IOrderServiceItemPeriod : ISerializable, 
	IEntity, IOrderServiceItemPeriodStub

The IOrderServiceItemPeriod type exposes the following members.

Properties
  NameDescription
Public propertyCost
Cost of the service period.
Public propertyElapsedTime
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.
Public propertyId (Inherited from IEntity.)
Public propertyPrice
Price of the service period per timing step (TimingStep).
Public propertyService
Product that specifies price of the period. Expected to be of types Service or Rate.
Top
Methods
  NameDescription
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
(Inherited from ISerializable.)
Top
See Also