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
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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTmaProductPriceClass.discountRowsattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaProductPriceClass.idattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaProductPriceClass.pricePlansattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaProductPriceClass.productOfferingsattribute defined at extensiontuadatacommonsservices.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.TmaProductPriceClassModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextDeprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTmaProductPriceClassModel(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
Modifier and TypeMethodDescriptionGenerated method - Getter of theTmaProductPriceClass.discountRowsattribute defined at extensiontuadatacommonsservices.getId()Generated method - Getter of theTmaProductPriceClass.idattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaProductPriceClass.pricePlansattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaProductPriceClass.productOfferingsattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaProductPriceClass.discountRowsattribute defined at extensiontuadatacommonsservices.voidGenerated method - Initial setter ofTmaProductPriceClass.idattribute defined at extensiontuadatacommonsservices.voidsetPricePlans(Set<PriceRowModel> value) Generated method - Setter ofTmaProductPriceClass.pricePlansattribute defined at extensiontuadatacommonsservices.voidsetProductOfferings(Set<ProductModel> value) Generated method - Setter ofTmaProductPriceClass.productOfferingsattribute defined at extensiontuadatacommonsservices.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
ID
Generated constant - Attribute key ofTmaProductPriceClass.idattribute defined at extensiontuadatacommonsservices.- See Also:
-
PRICEPLANS
Generated constant - Attribute key ofTmaProductPriceClass.pricePlansattribute defined at extensiontuadatacommonsservices.- See Also:
-
DISCOUNTROWS
Generated constant - Attribute key ofTmaProductPriceClass.discountRowsattribute defined at extensiontuadatacommonsservices.- See Also:
-
PRODUCTOFFERINGS
Generated constant - Attribute key ofTmaProductPriceClass.productOfferingsattribute defined at extensiontuadatacommonsservices.- 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, 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 extensiontuadatacommonsservices
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_id- initial attribute declared by typeTmaProductPriceClassat extensiontuadatacommonsservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getDiscountRows
@Accessor(qualifier="discountRows", type=GETTER) public Set<AbstractDiscountRowModel> getDiscountRows()Generated method - Getter of theTmaProductPriceClass.discountRowsattribute defined at extensiontuadatacommonsservices. 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
Generated method - Getter of theTmaProductPriceClass.idattribute defined at extensiontuadatacommonsservices.- Returns:
- the id - Unique identifier of the Product Price Class.
-
getPricePlans
Generated method - Getter of theTmaProductPriceClass.pricePlansattribute defined at extensiontuadatacommonsservices. 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
Generated method - Getter of theTmaProductPriceClass.productOfferingsattribute defined at extensiontuadatacommonsservices. 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 ofTmaProductPriceClass.discountRowsattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the discountRows - Discount Rows valid when the required Product Price Classes are configured.
-
setId
Generated method - Initial setter ofTmaProductPriceClass.idattribute defined at extensiontuadatacommonsservices. Can only be used at creation of model - before first save.- Parameters:
value- the id - Unique identifier of the Product Price Class.
-
setPricePlans
Generated method - Setter ofTmaProductPriceClass.pricePlansattribute defined at extensiontuadatacommonsservices.- 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 ofTmaProductPriceClass.productOfferingsattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the productOfferings - Products which belong to this Product Price Class.
-