Class ProductAddConfigToCartComponentModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class ProductAddConfigToCartComponentModel
    extends CMSParagraphComponentModel
    Generated model class for type ProductAddConfigToCartComponent first defined at extension ysapproductconfigaddon.

    Add configuration to cart button for product configuration addon.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String SHOWONLYFORLONGCONFIGURATIONS
        Generated constant - Attribute key of ProductAddConfigToCartComponent.showOnlyForLongConfigurations attribute defined at extension ysapproductconfigaddon.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProductAddConfigToCartComponentModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ProductAddConfigToCartComponentModel​(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
      • ProductAddConfigToCartComponentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ProductAddConfigToCartComponentModel​(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
    • Method Detail

      • getShowOnlyForLongConfigurations

        @Accessor(qualifier="showOnlyForLongConfigurations",
                  type=GETTER)
        public java.lang.Boolean getShowOnlyForLongConfigurations()
        Generated method - Getter of the ProductAddConfigToCartComponent.showOnlyForLongConfigurations attribute defined at extension ysapproductconfigaddon.
        Returns:
        the showOnlyForLongConfigurations
      • setShowOnlyForLongConfigurations

        @Accessor(qualifier="showOnlyForLongConfigurations",
                  type=SETTER)
        public void setShowOnlyForLongConfigurations​(java.lang.Boolean value)
        Generated method - Setter of ProductAddConfigToCartComponent.showOnlyForLongConfigurations attribute defined at extension ysapproductconfigaddon.
        Parameters:
        value - the showOnlyForLongConfigurations