Click or drag to resize
SKUMaxUnitsExceededValidationError Class
Represents a validation error resulting from an excess of product units in cart.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceShoppingCartItemValidationError
    CMS.EcommerceSKUMaxUnitsExceededValidationError

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public class SKUMaxUnitsExceededValidationError : ShoppingCartItemValidationError

The SKUMaxUnitsExceededValidationError type exposes the following members.

Constructors
  NameDescription
Public methodSKUMaxUnitsExceededValidationError
Creates instance of SKUMaxUnitsExceededValidationError.
Top
Fields
  NameDescription
Protected fieldmMessageKey
Key which can be used to retrieve a localized error message.
(Inherited from ShoppingCartItemValidationError.)
Top
Properties
  NameDescription
Public propertyMaxUnits
Maximum allowed units for the product.
Public propertyMessageKey
Gets a key which can be used to retrieve a localized error message.
(Inherited from ShoppingCartItemValidationError.)
Public propertyMessageParameters
Returns an array containing SKU name and maximum units for the SKU.
(Overrides ShoppingCartItemValidationErrorMessageParameters.)
Public propertySKUId
SKU Id of product associated with the error.
(Inherited from ShoppingCartItemValidationError.)
Public propertySKUName
SKU name of product associated with the error.
(Inherited from ShoppingCartItemValidationError.)
Top
See Also