Class GenericVariantProductModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class GenericVariantProductModel
    extends VariantProductModel
    Generated model class for type GenericVariantProduct first defined at extension basecommerce.

    Generic variant product type. It doesn't not contain attributes describing the variant.

    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

      • GenericVariantProductModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public GenericVariantProductModel​(ProductModel _baseProduct,
                                          CatalogVersionModel _catalogVersion,
                                          java.lang.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:
        _baseProduct - initial attribute declared by type VariantProduct at extension catalog
        _catalogVersion - initial attribute declared by type Product at extension catalog
        _code - initial attribute declared by type Product at extension core
      • GenericVariantProductModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public GenericVariantProductModel​(ProductModel _baseProduct,
                                          CatalogVersionModel _catalogVersion,
                                          java.lang.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:
        _baseProduct - initial attribute declared by type VariantProduct at extension catalog
        _catalogVersion - initial attribute declared by type Product at extension catalog
        _code - initial attribute declared by type Product at extension core
        _owner - initial attribute declared by type Item at extension core