Class TmaProductPriceClassModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class TmaProductPriceClassModel
    extends ItemModel
    Generated model class for type TmaProductPriceClass first defined at extension b2ctelcoservices.

    Grouping of the Product Offerings into classes based on their pricing.

    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ID
      Generated constant - Attribute key of TmaProductPriceClass.id attribute defined at extension b2ctelcoservices.
      static java.lang.String PRICEPLANS
      Generated constant - Attribute key of TmaProductPriceClass.pricePlans attribute defined at extension b2ctelcoservices.
      static java.lang.String PRODUCTOFFERINGS
      Generated constant - Attribute key of TmaProductPriceClass.productOfferings attribute defined at extension b2ctelcoservices.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      TmaProductPriceClassModel()
      Generated constructor - Default constructor for generic creation.
      TmaProductPriceClassModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      TmaProductPriceClassModel​(java.lang.String _id)
      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
      TmaProductPriceClassModel​(java.lang.String _id, 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()
      Generated method - Getter of the TmaProductPriceClass.id attribute defined at extension b2ctelcoservices.
      java.util.Set<PriceRowModel> getPricePlans()
      Generated method - Getter of the TmaProductPriceClass.pricePlans attribute defined at extension b2ctelcoservices.
      java.util.Set<ProductModel> getProductOfferings()
      Generated method - Getter of the TmaProductPriceClass.productOfferings attribute defined at extension b2ctelcoservices.
      void setId​(java.lang.String value)
      Generated method - Initial setter of TmaProductPriceClass.id attribute defined at extension b2ctelcoservices.
      void setPricePlans​(java.util.Set<PriceRowModel> value)
      Generated method - Setter of TmaProductPriceClass.pricePlans attribute defined at extension b2ctelcoservices.
      void setProductOfferings​(java.util.Set<ProductModel> value)
      Generated method - Setter of TmaProductPriceClass.productOfferings attribute defined at extension b2ctelcoservices.
      • Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String ID
        Generated constant - Attribute key of TmaProductPriceClass.id attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • PRICEPLANS

        public static final java.lang.String PRICEPLANS
        Generated constant - Attribute key of TmaProductPriceClass.pricePlans attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • PRODUCTOFFERINGS

        public static final java.lang.String PRODUCTOFFERINGS
        Generated constant - Attribute key of TmaProductPriceClass.productOfferings attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TmaProductPriceClassModel

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

        public TmaProductPriceClassModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • TmaProductPriceClassModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TmaProductPriceClassModel​(java.lang.String _id)
        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:
        _id - initial attribute declared by type TmaProductPriceClass at extension b2ctelcoservices
      • TmaProductPriceClassModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TmaProductPriceClassModel​(java.lang.String _id,
                                         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:
        _id - initial attribute declared by type TmaProductPriceClass at extension b2ctelcoservices
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getId

        @Accessor(qualifier="id",
                  type=GETTER)
        public java.lang.String getId()
        Generated method - Getter of the TmaProductPriceClass.id attribute defined at extension b2ctelcoservices.
        Returns:
        the id - Unique identifier of the Product Price Class.
      • getPricePlans

        @Accessor(qualifier="pricePlans",
                  type=GETTER)
        public java.util.Set<PriceRowModel> getPricePlans()
        Generated method - Getter of the TmaProductPriceClass.pricePlans attribute defined at extension b2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the pricePlans - Price Rows valid when the required Product Price Classes are configured.
      • getProductOfferings

        @Accessor(qualifier="productOfferings",
                  type=GETTER)
        public java.util.Set<ProductModel> getProductOfferings()
        Generated method - Getter of the TmaProductPriceClass.productOfferings attribute defined at extension b2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the productOfferings - Products which belong to this Product Price Class.
      • setId

        @Accessor(qualifier="id",
                  type=SETTER)
        public void setId​(java.lang.String value)
        Generated method - Initial setter of TmaProductPriceClass.id attribute defined at extension b2ctelcoservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the id - Unique identifier of the Product Price Class.
      • setPricePlans

        @Accessor(qualifier="pricePlans",
                  type=SETTER)
        public void setPricePlans​(java.util.Set<PriceRowModel> value)
        Generated method - Setter of TmaProductPriceClass.pricePlans attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the pricePlans - Price Rows valid when the required Product Price Classes are configured.
      • setProductOfferings

        @Accessor(qualifier="productOfferings",
                  type=SETTER)
        public void setProductOfferings​(java.util.Set<ProductModel> value)
        Generated method - Setter of TmaProductPriceClass.productOfferings attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the productOfferings - Products which belong to this Product Price Class.