Click or drag to resize

OrderExtensionsGetProduct Method

Returns product by id from the specified order.

Namespace:  Resto.Front.Api.V4.Data.Orders
Assembly:  Resto.Front.Api.V4 (in Resto.Front.Api.V4.dll)
Syntax
C#
public static IOrderItemProduct GetProduct(
	this IOrder order,
	IOperationService operationService,
	Guid id
)

Parameters

order
Type: Resto.Front.Api.V4.Data.OrdersIOrder
operationService
Type: Resto.Front.Api.V4IOperationService
id
Type: SystemGuid

Return Value

Type: IOrderItemProduct

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IOrder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also