IOperationServiceIsProductSellingRestricted Method |
Checks remaining amount of the product and determines whether selling of that product is restricted.
Namespace:
Resto.Front.Api
Assembly:
Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax bool IsProductSellingRestricted(
IProduct product
)
Parameters
- product
- Type: Resto.Front.Api.Data.AssortmentIProduct
Product to check remaining amount.
Return Value
Type:
Booleantrue if the product has too low amount and selling is restricted, otherwise
false.
Remarks
If product selling is restricted, it can be sold only by user with permission to edit menu.
See Also