Click or drag to resize
SKUNotInStockValidationError Class
Represents a validation error resulting from store not having enough units of product in stock.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceShoppingCartItemValidationError
    CMS.EcommerceSKUNotInStockValidationError

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

The SKUNotInStockValidationError type exposes the following members.

Constructors
  NameDescription
Public methodSKUNotInStockValidationError
Creates instance of SKUNotInStockValidationError.
Top
Fields
  NameDescription
Protected fieldmMessageKey
Key which can be used to retrieve a localized error message.
(Inherited from ShoppingCartItemValidationError.)
Top
Properties
  NameDescription
Public propertyInventoryUnits
Number of units available in stock.
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 units in stock 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