Click or drag to resize
AddItemToCartValidator Constructor
Initializes a new instance of the AddItemToCartValidator class for given cart and itemParameters.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public AddItemToCartValidator(
	ShoppingCartInfo cart,
	ShoppingCartItemParameters itemParameters,
	ISKUInfoProvider skuInfoProvider
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart for which to perform the validation.
itemParameters
Type: CMS.EcommerceShoppingCartItemParameters
Parameters representing an item to be validated against.
skuInfoProvider
Type: CMS.EcommerceISKUInfoProvider
Provider for SKUInfo management.
See Also