IOperationServiceGetIncludedInMenu Method |
Returns menu inclusion for the product according to the given client price category.
Namespace: Resto.Front.ApiAssembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntaxbool GetIncludedInMenu(
IProduct product,
IProductSize productSize,
IRestaurantSection restaurantSection,
IPriceCategory priceCategory,
DateTime pricingTime
)
Parameters
- product IProduct
-
Product to get menu inclusion for.
- productSize IProductSize
-
Product size to get menu inclusion for or null if the product doesn't have a scale.
- restaurantSection IRestaurantSection
-
Restaurant section to get menu inclusion for.
- priceCategory IPriceCategory
-
Price category to get menu inclusion according to.
- pricingTime DateTime
-
Time for which calculated menu inclusion.
Return Value
Boolean
See Also