Class ProductAddToCartComponentModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    SubscriptionProductAddToCartComponentModel

    public class ProductAddToCartComponentModel
    extends SimpleCMSComponentModel
    Generated model class for type ProductAddToCartComponent first defined at extension acceleratorcms.

    Represents product add to cart component that displays available stock quantity and addToCart button.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProductAddToCartComponentModel

        public ProductAddToCartComponentModel()
        Generated constructor - Default constructor for generic creation.
      • ProductAddToCartComponentModel

        public ProductAddToCartComponentModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • ProductAddToCartComponentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ProductAddToCartComponentModel​(CatalogVersionModel _catalogVersion,
                                              java.lang.String _uid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _uid - initial attribute declared by type CMSItem at extension cms2
      • ProductAddToCartComponentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ProductAddToCartComponentModel​(CatalogVersionModel _catalogVersion,
                                              ItemModel _owner,
                                              java.lang.String _uid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _owner - initial attribute declared by type Item at extension core
        _uid - initial attribute declared by type CMSItem at extension cms2