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:
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
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringIDGenerated constant - Attribute key ofTmaProductPriceClass.idattribute defined at extensionb2ctelcoservices.static java.lang.StringPRICEPLANSGenerated constant - Attribute key ofTmaProductPriceClass.pricePlansattribute defined at extensionb2ctelcoservices.static java.lang.StringPRODUCTOFFERINGSGenerated constant - Attribute key ofTmaProductPriceClass.productOfferingsattribute defined at extensionb2ctelcoservices.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
-
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 contextTmaProductPriceClassModel(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 parametersTmaProductPriceClassModel(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.StringgetId()Generated method - Getter of theTmaProductPriceClass.idattribute defined at extensionb2ctelcoservices.java.util.Set<PriceRowModel>getPricePlans()Generated method - Getter of theTmaProductPriceClass.pricePlansattribute defined at extensionb2ctelcoservices.java.util.Set<ProductModel>getProductOfferings()Generated method - Getter of theTmaProductPriceClass.productOfferingsattribute defined at extensionb2ctelcoservices.voidsetId(java.lang.String value)Generated method - Initial setter ofTmaProductPriceClass.idattribute defined at extensionb2ctelcoservices.voidsetPricePlans(java.util.Set<PriceRowModel> value)Generated method - Setter ofTmaProductPriceClass.pricePlansattribute defined at extensionb2ctelcoservices.voidsetProductOfferings(java.util.Set<ProductModel> value)Generated method - Setter ofTmaProductPriceClass.productOfferingsattribute defined at extensionb2ctelcoservices.-
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
-
-
-
-
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 ofTmaProductPriceClass.idattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
PRICEPLANS
public static final java.lang.String PRICEPLANS
Generated constant - Attribute key ofTmaProductPriceClass.pricePlansattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
PRODUCTOFFERINGS
public static final java.lang.String PRODUCTOFFERINGS
Generated constant - Attribute key ofTmaProductPriceClass.productOfferingsattribute defined at extensionb2ctelcoservices.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_id- initial attribute declared by typeTmaProductPriceClassat extensionb2ctelcoservices
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_id- initial attribute declared by typeTmaProductPriceClassat extensionb2ctelcoservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getId
@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()Generated method - Getter of theTmaProductPriceClass.idattribute defined at extensionb2ctelcoservices.- 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 theTmaProductPriceClass.pricePlansattribute defined at extensionb2ctelcoservices. 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 theTmaProductPriceClass.productOfferingsattribute defined at extensionb2ctelcoservices. 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 ofTmaProductPriceClass.idattribute defined at extensionb2ctelcoservices. 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 ofTmaProductPriceClass.pricePlansattribute defined at extensionb2ctelcoservices.- 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 ofTmaProductPriceClass.productOfferingsattribute defined at extensionb2ctelcoservices.- Parameters:
value- the productOfferings - Products which belong to this Product Price Class.
-
-