Click or drag to resize

OrderExtensions Class

Provides a set of static methods to access child entities.
Inheritance Hierarchy
SystemObject
  Resto.Front.Api.V4.Data.OrdersOrderExtensions

Namespace:  Resto.Front.Api.V4.Data.Orders
Assembly:  Resto.Front.Api.V4 (in Resto.Front.Api.V4.dll)
Syntax
C#
public static class OrderExtensions

The OrderExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetGuest
Returns guest by id from the specified order.
Public methodStatic memberGetGuests
Returns guests of the specified order.
Public methodStatic memberGetPayment
Returns payment by id from the specified order.
Public methodStatic memberGetPayments
Returns payments of the specified order.
Public methodStatic memberGetProduct
Returns product by id from the specified order.
Public methodStatic memberGetProducts
Returns products of the specified order.
Public methodStatic memberTryGetGuest
Returns guest by id from the specified order or null if order doesn't exist or doesn't contain guest with that id.
Public methodStatic memberTryGetGuests
Returns guests of the specified order or null if order doesn't exist.
Public methodStatic memberTryGetPayment
Returns payment by id from the specified order or null if order doesn't exist or doesn't contain payment with that id.
Public methodStatic memberTryGetPayments
Returns payments of the specified order or null if order doesn't exist.
Public methodStatic memberTryGetProduct
Returns product by id from the specified order or null if order doesn't exist or doesn't contain product with that id.
Public methodStatic memberTryGetProducts
Returns products of the specified order or null if order doesn't exist.
Top
See Also