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

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public CartAddressesValidator(
	ShoppingCartInfo cart,
	ICountryInfoProvider countryInfoProvider,
	IStateInfoProvider stateInfoProvider
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart for which to perform the validation.
countryInfoProvider
Type: CMS.GlobalizationICountryInfoProvider
Provider for CountryInfo management.
stateInfoProvider
Type: CMS.GlobalizationIStateInfoProvider
Provider for StateInfo management.
See Also