ShoppingCartInfoProviderValidateShoppingCartInternal Method |
Validates shopping cart and all its items. Returns an empty collection in case validation passes.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax protected virtual IEnumerable<IValidationError> ValidateShoppingCartInternal(
ShoppingCartInfo cart
)
Parameters
- cart
- Type: CMS.EcommerceShoppingCartInfo
Shopping cart to validate.
Return Value
Type:
IEnumerableIValidationErrorReturns collection of validation errors that occurred.
See Also