IOrder InterfaceiikoFront Api V3 Documentation

Namespace: Resto.Front.Api.V3.Data.Orders
Assembly: Resto.Front.Api.V3 (in Resto.Front.Api.V3.dll) Version: 4.1.1236.1 (4.1.1236.1)
Syntax

C#
public interface IOrder : IVersionedEntity, IEntity, 
	ISerializable

The IOrder type exposes the following members.

Methods

  NameDescription
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
(Inherited from ISerializable.)
Top
Extension Methods

  NameDescription
Public Extension MethodGetGuest
Returns guest by id from the specified order.
(Defined by OrderExtensions.)
Public Extension MethodGetGuests
Returns guests of the specified order.
(Defined by OrderExtensions.)
Public Extension MethodGetPayment
Returns payment by id from the specified order.
(Defined by OrderExtensions.)
Public Extension MethodGetPayments
Returns payments of the specified order.
(Defined by OrderExtensions.)
Public Extension MethodGetProduct
Returns product by id from the specified order.
(Defined by OrderExtensions.)
Public Extension MethodGetProducts
Returns products of the specified order.
(Defined by OrderExtensions.)
Public Extension MethodToEntityStub (Defined by IEntityExtensions.)
Public Extension MethodTryGetGuest
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.)
Public Extension MethodTryGetGuests
Returns guests of the specified order or null if order doesn't exist.
(Defined by OrderExtensions.)
Public Extension MethodTryGetPayment
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.)
Public Extension MethodTryGetPayments
Returns payments of the specified order or null if order doesn't exist.
(Defined by OrderExtensions.)
Public Extension MethodTryGetProduct
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.)
Public Extension MethodTryGetProducts
Returns products of the specified order or null if order doesn't exist.
(Defined by OrderExtensions.)
Top
Properties

  NameDescription
Public propertyBillTime
Gets the bill cheque print time of the current order.
Public propertyCashier
Gets the user closed the current order.
Public propertyCloseTime
Gets the bill cheque print time of the current order.
Public propertyDiscounts
Public propertyEstimatedGuestsCount
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.
Public propertyFullSum
Public propertyId (Inherited from IEntity.)
Public propertyIsBanquetOrder
Order is banquet.
Public propertyNumber
Public propertyOpenTime
Public propertyOriginName
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.
Public propertyProcessedPaymentsSum
Sum of all processed payment items in order.
Public propertyResultSum
Public propertyRevision (Inherited from IVersionedEntity.)
Public propertyStatus
Public propertyTable
Public propertyType
Public propertyWaiter
Top
See Also

Reference