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: 12.0.0
Syntax
C#
public AddItemToCartValidator(
	ShoppingCartInfo cart,
	ShoppingCartItemParameters itemParameters
)

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.
See Also