Click or drag to resize

IOperationServiceCheckProductsSellingRestrictions Method

If current user can add these products with such amounts.

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

Parameters

credentials
Type: Resto.Front.Api.V5.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