Click or drag to resize

IOperationService.GetIncludedInMenu Method

Returns menu inclusion for the product according to the given client price category.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
bool GetIncludedInMenu(
	IProduct product,
	IProductSize productSize,
	IRestaurantSection restaurantSection,
	IPriceCategory priceCategory,
	DateTime pricingTime
)

Parameters

product
Type: Resto.Front.Api.Data.Assortment.IProduct
Product to get menu inclusion for.
productSize
Type: Resto.Front.Api.Data.Assortment.IProductSize
Product size to get menu inclusion for or null if the product doesn't have a scale.
restaurantSection
Type: Resto.Front.Api.Data.Organization.Sections.IRestaurantSection
Restaurant section to get menu inclusion for.
priceCategory
Type: Resto.Front.Api.Data.Orders.IPriceCategory
Price category to get menu inclusion according to.
pricingTime
Type: System.DateTime
Time for which calculated menu inclusion.

Return Value

Type: Boolean
See Also