Click or drag to resize

IOperationServiceCheckProductsSellingRestrictions Method

If current user can add these products with such amounts.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
ProductsSellingRestrictions CheckProductsSellingRestrictions(
	ICredentials credentials,
	Dictionary<IProduct, decimal> productsAndAmount
)

Parameters

credentials
Type: Resto.Front.Api.Data.SecurityICredentials
The credentials returned by AuthenticateByPin(String) method.
productsAndAmount
Type: System.Collections.GenericDictionaryIProduct, Decimal
Products and amount to check. Amount should be between MinimumItemAmount and MaximumItemAmount

Return Value

Type: ProductsSellingRestrictions
See Also