Package de.hybris.platform.europe1.model
Class AbstractDiscountRowModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.europe1.model.PDTRowModel
de.hybris.platform.europe1.model.AbstractDiscountRowModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DiscountRowModel,GlobalDiscountRowModel
Generated model class for type AbstractDiscountRow first defined at extension europe1.
- 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 relation code constant for relationSubscriptionTerm2DiscountRowRelationdefining source attributesubscriptionTermsin extensiontuadatacommonsservices.static final StringGenerated relation code constant for relationTmaProductOfferingPrice2DiscountRowRelationdefining source attributeappliedToPopsin extensiontuadatacommonsservices.static final StringGenerated relation code constant for relationTmaProductPriceClass2DiscountRowRelationdefining source attributerequiredProductClassesin extensiontuadatacommonsservices.static final StringGenerated relation code constant for relationTmaRequiredProductOffering2DiscountRowRelationdefining source attributerequiredProductOfferingsin extensiontuadatacommonsservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.absoluteattribute defined at extensioneurope1.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.appliedToPopsattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.currencyattribute defined at extensioneurope1.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.discountattribute defined at extensioneurope1.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.discountStringattribute defined at extensioneurope1.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.popAlterationattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.requiredProductClassesattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.requiredProductOfferingsattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.subscriptionTermsattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofAbstractDiscountRow.valueattribute defined at extensioneurope1.Fields inherited from class de.hybris.platform.europe1.model.PDTRowModel
AFFECTEDPRODUCTOFFERING, CODE, DATERANGE, DISTRIBUTIONCHANNELS, ENDTIME, PG, PRIORITY, PROCESSTYPES, PRODUCT, PRODUCTID, PRODUCTMATCHQUALIFIER, REGIONS, STARTTIME, UG, USER, USERMATCHQUALIFIERFields 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.AbstractDiscountRowModel(DiscountModel _discount) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersAbstractDiscountRowModel(DiscountModel _discount, ItemModel _owner, ProductDiscountGroup _pg, ProductModel _product, String _productId) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersAbstractDiscountRowModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theAbstractDiscountRow.absolutedynamic attribute defined at extensioneurope1.Generated method - Getter of theAbstractDiscountRow.appliedToPopsattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theAbstractDiscountRow.currencyattribute defined at extensioneurope1.Generated method - Getter of theAbstractDiscountRow.discountattribute defined at extensioneurope1.Generated method - Getter of theAbstractDiscountRow.discountStringdynamic attribute defined at extensioneurope1.Generated method - Getter of theAbstractDiscountRow.popAlterationattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theAbstractDiscountRow.requiredProductClassesattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theAbstractDiscountRow.requiredProductOfferingsattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theAbstractDiscountRow.subscriptionTermsattribute defined at extensiontuadatacommonsservices.getValue()Generated method - Getter of theAbstractDiscountRow.valueattribute defined at extensioneurope1.voidGenerated method - Setter ofAbstractDiscountRow.appliedToPopsattribute defined at extensiontuadatacommonsservices.voidsetCurrency(CurrencyModel value) Generated method - Setter ofAbstractDiscountRow.currencyattribute defined at extensioneurope1.voidsetDiscount(DiscountModel value) Generated method - Initial setter ofAbstractDiscountRow.discountattribute defined at extensioneurope1.voidsetPg(de.hybris.platform.core.HybrisEnumValue value) Generated method - Initial setter ofPDTRow.pgattribute defined at extensioneurope1and redeclared at extensioneurope1.voidGenerated method - Setter ofAbstractDiscountRow.popAlterationattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofAbstractDiscountRow.requiredProductClassesattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofAbstractDiscountRow.requiredProductOfferingsattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofAbstractDiscountRow.subscriptionTermsattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofAbstractDiscountRow.valueattribute defined at extensioneurope1.Methods inherited from class de.hybris.platform.europe1.model.PDTRowModel
getAffectedProductOffering, getCode, getDateRange, getDistributionChannels, getEndTime, getPg, getPriority, getProcessTypes, getProduct, getProductId, getProductMatchQualifier, getRegions, getStartTime, getUg, getUser, getUserMatchQualifier, setAffectedProductOffering, setCode, setDateRange, setDistributionChannels, setEndTime, setPriority, setProcessTypes, setProduct, setProductId, setProductMatchQualifier, setRegions, setStartTime, setUg, setUser, setUserMatchQualifierMethods 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:
-
_TMAPRODUCTPRICECLASS2DISCOUNTROWRELATION
Generated relation code constant for relationTmaProductPriceClass2DiscountRowRelationdefining source attributerequiredProductClassesin extensiontuadatacommonsservices.- See Also:
-
_TMAREQUIREDPRODUCTOFFERING2DISCOUNTROWRELATION
Generated relation code constant for relationTmaRequiredProductOffering2DiscountRowRelationdefining source attributerequiredProductOfferingsin extensiontuadatacommonsservices.- See Also:
-
_SUBSCRIPTIONTERM2DISCOUNTROWRELATION
Generated relation code constant for relationSubscriptionTerm2DiscountRowRelationdefining source attributesubscriptionTermsin extensiontuadatacommonsservices.- See Also:
-
_TMAPRODUCTOFFERINGPRICE2DISCOUNTROWRELATION
Generated relation code constant for relationTmaProductOfferingPrice2DiscountRowRelationdefining source attributeappliedToPopsin extensiontuadatacommonsservices.- See Also:
-
CURRENCY
Generated constant - Attribute key ofAbstractDiscountRow.currencyattribute defined at extensioneurope1.- See Also:
-
DISCOUNT
Generated constant - Attribute key ofAbstractDiscountRow.discountattribute defined at extensioneurope1.- See Also:
-
ABSOLUTE
Generated constant - Attribute key ofAbstractDiscountRow.absoluteattribute defined at extensioneurope1.- See Also:
-
VALUE
Generated constant - Attribute key ofAbstractDiscountRow.valueattribute defined at extensioneurope1.- See Also:
-
DISCOUNTSTRING
Generated constant - Attribute key ofAbstractDiscountRow.discountStringattribute defined at extensioneurope1.- See Also:
-
POPALTERATION
Generated constant - Attribute key ofAbstractDiscountRow.popAlterationattribute defined at extensiontuadatacommonsservices.- See Also:
-
REQUIREDPRODUCTCLASSES
Generated constant - Attribute key ofAbstractDiscountRow.requiredProductClassesattribute defined at extensiontuadatacommonsservices.- See Also:
-
REQUIREDPRODUCTOFFERINGS
Generated constant - Attribute key ofAbstractDiscountRow.requiredProductOfferingsattribute defined at extensiontuadatacommonsservices.- See Also:
-
SUBSCRIPTIONTERMS
Generated constant - Attribute key ofAbstractDiscountRow.subscriptionTermsattribute defined at extensiontuadatacommonsservices.- See Also:
-
APPLIEDTOPOPS
Generated constant - Attribute key ofAbstractDiscountRow.appliedToPopsattribute defined at extensiontuadatacommonsservices.- See Also:
-
-
Constructor Details
-
AbstractDiscountRowModel
public AbstractDiscountRowModel()Generated constructor - Default constructor for generic creation. -
AbstractDiscountRowModel
public AbstractDiscountRowModel(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
-
AbstractDiscountRowModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractDiscountRowModel(DiscountModel _discount) 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:
_discount- initial attribute declared by typeAbstractDiscountRowat extensioneurope1
-
AbstractDiscountRowModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractDiscountRowModel(DiscountModel _discount, ItemModel _owner, ProductDiscountGroup _pg, ProductModel _product, String _productId) 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:
_discount- initial attribute declared by typeAbstractDiscountRowat extensioneurope1_owner- initial attribute declared by typeItemat extensioncore_pg- initial attribute declared by typeAbstractDiscountRowat extensioneurope1_product- initial attribute declared by typePDTRowat extensioneurope1_productId- initial attribute declared by typePDTRowat extensioneurope1
-
-
Method Details
-
getAbsolute
Generated method - Getter of theAbstractDiscountRow.absolutedynamic attribute defined at extensioneurope1.- Returns:
- the absolute
-
getAppliedToPops
@Accessor(qualifier="appliedToPops", type=GETTER) public Set<TmaProductOfferingPriceModel> getAppliedToPops()Generated method - Getter of theAbstractDiscountRow.appliedToPopsattribute defined at extensiontuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the appliedToPops - Product Offering Prices for which the discount row is applicable
-
getCurrency
Generated method - Getter of theAbstractDiscountRow.currencyattribute defined at extensioneurope1.- Returns:
- the currency
-
getDiscount
Generated method - Getter of theAbstractDiscountRow.discountattribute defined at extensioneurope1.- Returns:
- the discount
-
getDiscountString
Generated method - Getter of theAbstractDiscountRow.discountStringdynamic attribute defined at extensioneurope1.- Returns:
- the discountString
-
getPopAlteration
@Accessor(qualifier="popAlteration", type=GETTER) public TmaDiscountProdOfferPriceAlterationModel getPopAlteration()Generated method - Getter of theAbstractDiscountRow.popAlterationattribute defined at extensiontuadatacommonsservices.- Returns:
- the popAlteration - Product Offering Price Alteration.
-
getRequiredProductClasses
@Accessor(qualifier="requiredProductClasses", type=GETTER) public Set<TmaProductPriceClassModel> getRequiredProductClasses()Generated method - Getter of theAbstractDiscountRow.requiredProductClassesattribute defined at extensiontuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the requiredProductClasses - Product Price Classes required in order for the Discount Rows to apply.
-
getRequiredProductOfferings
@Accessor(qualifier="requiredProductOfferings", type=GETTER) public Set<ProductModel> getRequiredProductOfferings()Generated method - Getter of theAbstractDiscountRow.requiredProductOfferingsattribute defined at extensiontuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the requiredProductOfferings - Products required in order for the Discount Rows to apply.
-
getSubscriptionTerms
@Accessor(qualifier="subscriptionTerms", type=GETTER) public Set<SubscriptionTermModel> getSubscriptionTerms()Generated method - Getter of theAbstractDiscountRow.subscriptionTermsattribute defined at extensiontuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the subscriptionTerms - Subscription Terms for which the Discount is available.
-
getValue
Generated method - Getter of theAbstractDiscountRow.valueattribute defined at extensioneurope1.- Returns:
- the value
-
setAppliedToPops
@Accessor(qualifier="appliedToPops", type=SETTER) public void setAppliedToPops(Set<TmaProductOfferingPriceModel> value) Generated method - Setter ofAbstractDiscountRow.appliedToPopsattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the appliedToPops - Product Offering Prices for which the discount row is applicable
-
setCurrency
Generated method - Setter ofAbstractDiscountRow.currencyattribute defined at extensioneurope1.- Parameters:
value- the currency
-
setDiscount
Generated method - Initial setter ofAbstractDiscountRow.discountattribute defined at extensioneurope1. Can only be used at creation of model - before first save.- Parameters:
value- the discount
-
setPg
@Accessor(qualifier="pg", type=SETTER) public void setPg(de.hybris.platform.core.HybrisEnumValue value) Generated method - Initial setter ofPDTRow.pgattribute defined at extensioneurope1and redeclared at extensioneurope1. Can only be used at creation of model - before first save. Will only accept values of typeProductDiscountGroup.- Overrides:
setPgin classPDTRowModel- Parameters:
value- the pg
-
setPopAlteration
@Accessor(qualifier="popAlteration", type=SETTER) public void setPopAlteration(TmaDiscountProdOfferPriceAlterationModel value) Generated method - Setter ofAbstractDiscountRow.popAlterationattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the popAlteration - Product Offering Price Alteration.
-
setRequiredProductClasses
@Accessor(qualifier="requiredProductClasses", type=SETTER) public void setRequiredProductClasses(Set<TmaProductPriceClassModel> value) Generated method - Setter ofAbstractDiscountRow.requiredProductClassesattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the requiredProductClasses - Product Price Classes required in order for the Discount Rows to apply.
-
setRequiredProductOfferings
@Accessor(qualifier="requiredProductOfferings", type=SETTER) public void setRequiredProductOfferings(Set<ProductModel> value) Generated method - Setter ofAbstractDiscountRow.requiredProductOfferingsattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the requiredProductOfferings - Products required in order for the Discount Rows to apply.
-
setSubscriptionTerms
@Accessor(qualifier="subscriptionTerms", type=SETTER) public void setSubscriptionTerms(Set<SubscriptionTermModel> value) Generated method - Setter ofAbstractDiscountRow.subscriptionTermsattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the subscriptionTerms - Subscription Terms for which the Discount is available.
-
setValue
Generated method - Setter ofAbstractDiscountRow.valueattribute defined at extensioneurope1.- Parameters:
value- the value
-