Class VariantCategoryModel

All Implemented Interfaces:
Serializable

public class VariantCategoryModel extends CategoryModel
Generated model class for type VariantCategory first defined at extension basecommerce.

Container category for variant types.

See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • HASIMAGE

      public static final String HASIMAGE
      Generated constant - Attribute key of VariantCategory.hasImage attribute defined at extension basecommerce.
      See Also:
  • Constructor Details

    • VariantCategoryModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public VariantCategoryModel(CatalogVersionModel _catalogVersion, String _code)
      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 Category at extension catalog
      _code - initial attribute declared by type Category at extension catalog
    • VariantCategoryModel

      @Deprecated(since="4.1.1", forRemoval=true) public VariantCategoryModel(CatalogVersionModel _catalogVersion, String _code, ItemModel _owner)
      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 Category at extension catalog
      _code - initial attribute declared by type Category at extension catalog
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getHasImage

      @Accessor(qualifier="hasImage", type=GETTER) public Boolean getHasImage()
      Generated method - Getter of the VariantCategory.hasImage attribute defined at extension basecommerce.
      Returns:
      the hasImage
    • setHasImage

      @Accessor(qualifier="hasImage", type=SETTER) public void setHasImage(Boolean value)
      Generated method - Setter of VariantCategory.hasImage attribute defined at extension basecommerce.
      Parameters:
      value - the hasImage