Class ProductFixedPricePromotionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.promotions.model.AbstractPromotionModel
de.hybris.platform.promotions.model.ProductPromotionModel
de.hybris.platform.promotions.model.ProductFixedPricePromotionModel
- All Implemented Interfaces:
Serializable
Generated model class for type ProductFixedPricePromotion first defined at extension promotions.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofProductFixedPricePromotion.messageFiredattribute defined at extensionpromotions.static final StringGenerated constant - Attribute key ofProductFixedPricePromotion.productFixedUnitPriceattribute defined at extensionpromotions.Fields inherited from class de.hybris.platform.promotions.model.ProductPromotionModel
_CATEGORYPROMOTIONRELATION, _PRODUCTPROMOTIONRELATION, CATEGORIES, PRODUCTBANNER, PRODUCTSFields inherited from class de.hybris.platform.promotions.model.AbstractPromotionModel
_PROMOTIONGROUPPROMOTIONSRELATION, CODE, DESCRIPTION, DETAILSURL, ENABLED, ENDDATE, IMMUTABLEKEY, IMMUTABLEKEYHASH, NAME, PRIORITY, PROMOTIONGROUP, PROMOTIONTYPE, RESTRICTIONS, STARTDATE, TITLEFields 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.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 parametersProductFixedPricePromotionModel(String _code, 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 theProductFixedPricePromotion.messageFiredattribute defined at extensionpromotions.getMessageFired(Locale loc) Generated method - Getter of theProductFixedPricePromotion.messageFiredattribute defined at extensionpromotions.Generated method - Getter of theProductFixedPricePromotion.productFixedUnitPriceattribute defined at extensionpromotions.voidsetMessageFired(String value) Generated method - Setter ofProductFixedPricePromotion.messageFiredattribute defined at extensionpromotions.voidsetMessageFired(String value, Locale loc) Generated method - Setter ofProductFixedPricePromotion.messageFiredattribute defined at extensionpromotions.voidGenerated method - Setter ofProductFixedPricePromotion.productFixedUnitPriceattribute defined at extensionpromotions.Methods inherited from class de.hybris.platform.promotions.model.ProductPromotionModel
getCategories, getProductBanner, getProducts, setCategories, setProductBanner, setProductsMethods inherited from class de.hybris.platform.promotions.model.AbstractPromotionModel
getCode, getDescription, getDetailsURL, getEnabled, getEndDate, getImmutableKey, getImmutableKeyHash, getName, getName, getPriority, getPromotionGroup, getPromotionType, getPromotionType, getRestrictions, getStartDate, getTitle, setCode, setDescription, setDetailsURL, setEnabled, setEndDate, setImmutableKey, setImmutableKeyHash, setName, setName, setPriority, setPromotionGroup, setRestrictions, setStartDate, setTitleMethods 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:
-
PRODUCTFIXEDUNITPRICE
Generated constant - Attribute key ofProductFixedPricePromotion.productFixedUnitPriceattribute defined at extensionpromotions.- See Also:
-
MESSAGEFIRED
Generated constant - Attribute key ofProductFixedPricePromotion.messageFiredattribute defined at extensionpromotions.- See Also:
-
-
Constructor Details
-
ProductFixedPricePromotionModel
public ProductFixedPricePromotionModel()Generated constructor - Default constructor for generic creation. -
ProductFixedPricePromotionModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ProductFixedPricePromotionModel
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:
_code- initial attribute declared by typeAbstractPromotionat extensionpromotions
-
ProductFixedPricePromotionModel
@Deprecated(since="4.1.1", forRemoval=true) public ProductFixedPricePromotionModel(String _code, 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:
_code- initial attribute declared by typeAbstractPromotionat extensionpromotions_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getMessageFired
Generated method - Getter of theProductFixedPricePromotion.messageFiredattribute defined at extensionpromotions.- Returns:
- the messageFired - The message to show when the promotion has fired.
-
getMessageFired
Generated method - Getter of theProductFixedPricePromotion.messageFiredattribute defined at extensionpromotions.- Parameters:
loc- the value localization key- Returns:
- the messageFired - The message to show when the promotion has fired.
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getProductFixedUnitPrice
@Accessor(qualifier="productFixedUnitPrice", type=GETTER) public Collection<PromotionPriceRowModel> getProductFixedUnitPrice()Generated method - Getter of theProductFixedPricePromotion.productFixedUnitPriceattribute defined at extensionpromotions. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the productFixedUnitPrice - Fixed price to sell the product at in specific currencies.
-
setMessageFired
Generated method - Setter ofProductFixedPricePromotion.messageFiredattribute defined at extensionpromotions.- Parameters:
value- the messageFired - The message to show when the promotion has fired.
-
setMessageFired
@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(String value, Locale loc) Generated method - Setter ofProductFixedPricePromotion.messageFiredattribute defined at extensionpromotions.- Parameters:
value- the messageFired - The message to show when the promotion has fired.loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setProductFixedUnitPrice
@Accessor(qualifier="productFixedUnitPrice", type=SETTER) public void setProductFixedUnitPrice(Collection<PromotionPriceRowModel> value) Generated method - Setter ofProductFixedPricePromotion.productFixedUnitPriceattribute defined at extensionpromotions.- Parameters:
value- the productFixedUnitPrice - Fixed price to sell the product at in specific currencies.
-