Click or drag to resize

IOperationServiceGetIncludedInMenu 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.AssortmentIProduct
Product to get menu inclusion for.
productSize
Type: Resto.Front.Api.Data.AssortmentIProductSize
Product size to get menu inclusion for or null if the product doesn't have a scale.
restaurantSection
Type: Resto.Front.Api.Data.Organization.SectionsIRestaurantSection
Restaurant section to get menu inclusion for.
priceCategory
Type: Resto.Front.Api.Data.OrdersIPriceCategory
Price category to get menu inclusion according to.
pricingTime
Type: SystemDateTime
Time for which calculated menu inclusion.

Return Value

Type: Boolean
See Also