Click or drag to resize

IOrder Interface

Namespace:  Resto.Front.Api.V4.Data.Orders
Assembly:  Resto.Front.Api.V4 (in Resto.Front.Api.V4.dll)
Syntax
C#
public interface IOrder : ISerializable, IEntity, 
	IVersionedEntity

The IOrder type exposes the following members.

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 propertyCustomers
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 propertyFiscalChequeNumber
Fiscal cheque number.
Public propertyFullSum
Subtotal, sum of all not deleted order items with included vat, but without excluded vat and discounts.
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
Total sum to be paid, sum of all not deleted order items with discounts and both included and excluded vat.
Public propertyRevision (Inherited from IVersionedEntity.)
Public propertyStatus
Public propertyTables
Public propertyType
Public propertyWaiter
Top
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
See Also