Class TmaProductPriceClassModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2ctelcoservices.model.TmaProductPriceClassModel
All Implemented Interfaces:
Serializable

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

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

See Also:
  • 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 final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of TmaProductPriceClass.discountRows attribute defined at extension tuadatacommonsservices.
    static final String
    Generated constant - Attribute key of TmaProductPriceClass.id attribute defined at extension tuadatacommonsservices.
    static final String
    Generated constant - Attribute key of TmaProductPriceClass.pricePlans attribute defined at extension tuadatacommonsservices.
    static final String
    Generated constant - Attribute key of TmaProductPriceClass.productOfferings attribute defined at extension tuadatacommonsservices.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    TmaProductPriceClassModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    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

    Modifier and Type
    Method
    Description
    Generated method - Getter of the TmaProductPriceClass.discountRows attribute defined at extension tuadatacommonsservices.
    Generated method - Getter of the TmaProductPriceClass.id attribute defined at extension tuadatacommonsservices.
    Generated method - Getter of the TmaProductPriceClass.pricePlans attribute defined at extension tuadatacommonsservices.
    Generated method - Getter of the TmaProductPriceClass.productOfferings attribute defined at extension tuadatacommonsservices.
    void
    Generated method - Setter of TmaProductPriceClass.discountRows attribute defined at extension tuadatacommonsservices.
    void
    setId(String value)
    Generated method - Initial setter of TmaProductPriceClass.id attribute defined at extension tuadatacommonsservices.
    void
    Generated method - Setter of TmaProductPriceClass.pricePlans attribute defined at extension tuadatacommonsservices.
    void
    Generated method - Setter of TmaProductPriceClass.productOfferings attribute defined at extension tuadatacommonsservices.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    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 Details

    • _TYPECODE

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

      public static final String ID
      Generated constant - Attribute key of TmaProductPriceClass.id attribute defined at extension tuadatacommonsservices.
      See Also:
    • PRICEPLANS

      public static final String PRICEPLANS
      Generated constant - Attribute key of TmaProductPriceClass.pricePlans attribute defined at extension tuadatacommonsservices.
      See Also:
    • DISCOUNTROWS

      public static final String DISCOUNTROWS
      Generated constant - Attribute key of TmaProductPriceClass.discountRows attribute defined at extension tuadatacommonsservices.
      See Also:
    • PRODUCTOFFERINGS

      public static final String PRODUCTOFFERINGS
      Generated constant - Attribute key of TmaProductPriceClass.productOfferings attribute defined at extension tuadatacommonsservices.
      See Also:
  • Constructor Details

    • 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(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 tuadatacommonsservices
    • TmaProductPriceClassModel

      @Deprecated(since="4.1.1", forRemoval=true) public TmaProductPriceClassModel(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 tuadatacommonsservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getDiscountRows

      @Accessor(qualifier="discountRows", type=GETTER) public Set<AbstractDiscountRowModel> getDiscountRows()
      Generated method - Getter of the TmaProductPriceClass.discountRows attribute defined at extension tuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the discountRows - Discount Rows valid when the required Product Price Classes are configured.
    • getId

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

      @Accessor(qualifier="pricePlans", type=GETTER) public Set<PriceRowModel> getPricePlans()
      Generated method - Getter of the TmaProductPriceClass.pricePlans attribute defined at extension tuadatacommonsservices. 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 Set<ProductModel> getProductOfferings()
      Generated method - Getter of the TmaProductPriceClass.productOfferings attribute defined at extension tuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the productOfferings - Products which belong to this Product Price Class.
    • setDiscountRows

      @Accessor(qualifier="discountRows", type=SETTER) public void setDiscountRows(Set<AbstractDiscountRowModel> value)
      Generated method - Setter of TmaProductPriceClass.discountRows attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the discountRows - Discount Rows valid when the required Product Price Classes are configured.
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Initial setter of TmaProductPriceClass.id attribute defined at extension tuadatacommonsservices. 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(Set<PriceRowModel> value)
      Generated method - Setter of TmaProductPriceClass.pricePlans attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the pricePlans - Price Rows valid when the required Product Price Classes are configured.
    • setProductOfferings

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