Class ProductPerfectPartnerBundlePromotionModel
- 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.ProductPerfectPartnerBundlePromotionModel
-
- All Implemented Interfaces:
java.io.Serializable
public class ProductPerfectPartnerBundlePromotionModel extends ProductPromotionModel
Generated model class for type ProductPerfectPartnerBundlePromotion first defined at extension promotions.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringBASEPRODUCTGenerated constant - Attribute key ofProductPerfectPartnerBundlePromotion.baseProductattribute defined at extensionpromotions.static java.lang.StringBUNDLEPRICESGenerated constant - Attribute key ofProductPerfectPartnerBundlePromotion.bundlePricesattribute defined at extensionpromotions.static java.lang.StringMESSAGECOULDHAVEFIREDGenerated constant - Attribute key ofProductPerfectPartnerBundlePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.static java.lang.StringMESSAGEFIREDGenerated constant - Attribute key ofProductPerfectPartnerBundlePromotion.messageFiredattribute defined at extensionpromotions.static java.lang.StringPARTNERPRODUCTSGenerated constant - Attribute key ofProductPerfectPartnerBundlePromotion.partnerProductsattribute defined at extensionpromotions.static java.lang.StringQUALIFYINGCOUNTGenerated constant - Attribute key ofProductPerfectPartnerBundlePromotion.qualifyingCountattribute defined at extensionpromotions.-
Fields inherited from class de.hybris.platform.promotions.model.ProductPromotionModel
_CATEGORYPROMOTIONRELATION, _PRODUCTPROMOTIONRELATION, CATEGORIES, PRODUCTBANNER, PRODUCTS
-
Fields inherited from class de.hybris.platform.promotions.model.AbstractPromotionModel
_PROMOTIONGROUPPROMOTIONSRELATION, CODE, DESCRIPTION, DETAILSURL, ENABLED, ENDDATE, IMMUTABLEKEY, IMMUTABLEKEYHASH, NAME, PRIORITY, PROMOTIONGROUP, PROMOTIONTYPE, RESTRICTIONS, STARTDATE, TITLE
-
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 ProductPerfectPartnerBundlePromotionModel()Generated constructor - Default constructor for generic creation.ProductPerfectPartnerBundlePromotionModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextProductPerfectPartnerBundlePromotionModel(java.lang.String _code)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersProductPerfectPartnerBundlePromotionModel(java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductModelgetBaseProduct()Generated method - Getter of theProductPerfectPartnerBundlePromotion.baseProductattribute defined at extensionpromotions.java.util.Collection<PromotionPriceRowModel>getBundlePrices()Generated method - Getter of theProductPerfectPartnerBundlePromotion.bundlePricesattribute defined at extensionpromotions.java.lang.StringgetMessageCouldHaveFired()Generated method - Getter of theProductPerfectPartnerBundlePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.java.lang.StringgetMessageCouldHaveFired(java.util.Locale loc)Generated method - Getter of theProductPerfectPartnerBundlePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.java.lang.StringgetMessageFired()Generated method - Getter of theProductPerfectPartnerBundlePromotion.messageFiredattribute defined at extensionpromotions.java.lang.StringgetMessageFired(java.util.Locale loc)Generated method - Getter of theProductPerfectPartnerBundlePromotion.messageFiredattribute defined at extensionpromotions.java.util.Collection<ProductModel>getPartnerProducts()Generated method - Getter of theProductPerfectPartnerBundlePromotion.partnerProductsattribute defined at extensionpromotions.java.lang.IntegergetQualifyingCount()Generated method - Getter of theProductPerfectPartnerBundlePromotion.qualifyingCountattribute defined at extensionpromotions.voidsetBaseProduct(ProductModel value)Generated method - Setter ofProductPerfectPartnerBundlePromotion.baseProductattribute defined at extensionpromotions.voidsetBundlePrices(java.util.Collection<PromotionPriceRowModel> value)Generated method - Setter ofProductPerfectPartnerBundlePromotion.bundlePricesattribute defined at extensionpromotions.voidsetMessageCouldHaveFired(java.lang.String value)Generated method - Setter ofProductPerfectPartnerBundlePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.voidsetMessageCouldHaveFired(java.lang.String value, java.util.Locale loc)Generated method - Setter ofProductPerfectPartnerBundlePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.voidsetMessageFired(java.lang.String value)Generated method - Setter ofProductPerfectPartnerBundlePromotion.messageFiredattribute defined at extensionpromotions.voidsetMessageFired(java.lang.String value, java.util.Locale loc)Generated method - Setter ofProductPerfectPartnerBundlePromotion.messageFiredattribute defined at extensionpromotions.voidsetPartnerProducts(java.util.Collection<ProductModel> value)Generated method - Setter ofProductPerfectPartnerBundlePromotion.partnerProductsattribute defined at extensionpromotions.voidsetQualifyingCount(java.lang.Integer value)Generated method - Setter ofProductPerfectPartnerBundlePromotion.qualifyingCountattribute defined at extensionpromotions.-
Methods inherited from class de.hybris.platform.promotions.model.ProductPromotionModel
getCategories, getProductBanner, getProducts, setCategories, setProductBanner, setProducts
-
Methods 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, setTitle
-
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
-
BASEPRODUCT
public static final java.lang.String BASEPRODUCT
Generated constant - Attribute key ofProductPerfectPartnerBundlePromotion.baseProductattribute defined at extensionpromotions.- See Also:
- Constant Field Values
-
PARTNERPRODUCTS
public static final java.lang.String PARTNERPRODUCTS
Generated constant - Attribute key ofProductPerfectPartnerBundlePromotion.partnerProductsattribute defined at extensionpromotions.- See Also:
- Constant Field Values
-
QUALIFYINGCOUNT
public static final java.lang.String QUALIFYINGCOUNT
Generated constant - Attribute key ofProductPerfectPartnerBundlePromotion.qualifyingCountattribute defined at extensionpromotions.- See Also:
- Constant Field Values
-
BUNDLEPRICES
public static final java.lang.String BUNDLEPRICES
Generated constant - Attribute key ofProductPerfectPartnerBundlePromotion.bundlePricesattribute defined at extensionpromotions.- See Also:
- Constant Field Values
-
MESSAGEFIRED
public static final java.lang.String MESSAGEFIRED
Generated constant - Attribute key ofProductPerfectPartnerBundlePromotion.messageFiredattribute defined at extensionpromotions.- See Also:
- Constant Field Values
-
MESSAGECOULDHAVEFIRED
public static final java.lang.String MESSAGECOULDHAVEFIRED
Generated constant - Attribute key ofProductPerfectPartnerBundlePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProductPerfectPartnerBundlePromotionModel
public ProductPerfectPartnerBundlePromotionModel()
Generated constructor - Default constructor for generic creation.
-
ProductPerfectPartnerBundlePromotionModel
public ProductPerfectPartnerBundlePromotionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ProductPerfectPartnerBundlePromotionModel
@Deprecated(since="4.1.1", forRemoval=true) public ProductPerfectPartnerBundlePromotionModel(java.lang.String _code)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
-
ProductPerfectPartnerBundlePromotionModel
@Deprecated(since="4.1.1", forRemoval=true) public ProductPerfectPartnerBundlePromotionModel(java.lang.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 Detail
-
getBaseProduct
@Accessor(qualifier="baseProduct", type=GETTER) public ProductModel getBaseProduct()
Generated method - Getter of theProductPerfectPartnerBundlePromotion.baseProductattribute defined at extensionpromotions.- Returns:
- the baseProduct - The base product.
-
getBundlePrices
@Accessor(qualifier="bundlePrices", type=GETTER) public java.util.Collection<PromotionPriceRowModel> getBundlePrices()
Generated method - Getter of theProductPerfectPartnerBundlePromotion.bundlePricesattribute defined at extensionpromotions. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the bundlePrices - Fixed bundle price for the base product and selected partner products in specific currencies.
-
getMessageCouldHaveFired
@Accessor(qualifier="messageCouldHaveFired", type=GETTER) public java.lang.String getMessageCouldHaveFired()
Generated method - Getter of theProductPerfectPartnerBundlePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.- Returns:
- the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
-
getMessageCouldHaveFired
@Accessor(qualifier="messageCouldHaveFired", type=GETTER) public java.lang.String getMessageCouldHaveFired(java.util.Locale loc)
Generated method - Getter of theProductPerfectPartnerBundlePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.- Parameters:
loc- the value localization key- Returns:
- the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getMessageFired
@Accessor(qualifier="messageFired", type=GETTER) public java.lang.String getMessageFired()
Generated method - Getter of theProductPerfectPartnerBundlePromotion.messageFiredattribute defined at extensionpromotions.- Returns:
- the messageFired - The message to show when the promotion has fired.
-
getMessageFired
@Accessor(qualifier="messageFired", type=GETTER) public java.lang.String getMessageFired(java.util.Locale loc)
Generated method - Getter of theProductPerfectPartnerBundlePromotion.messageFiredattribute defined at extensionpromotions.- Parameters:
loc- the value localization key- Returns:
- the messageFired - The message to show when the promotion has fired.
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getPartnerProducts
@Accessor(qualifier="partnerProducts", type=GETTER) public java.util.Collection<ProductModel> getPartnerProducts()
Generated method - Getter of theProductPerfectPartnerBundlePromotion.partnerProductsattribute defined at extensionpromotions. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the partnerProducts - The collections of potential partner products.
-
getQualifyingCount
@Accessor(qualifier="qualifyingCount", type=GETTER) public java.lang.Integer getQualifyingCount()
Generated method - Getter of theProductPerfectPartnerBundlePromotion.qualifyingCountattribute defined at extensionpromotions.- Returns:
- the qualifyingCount - The number of partner products required to qualify for the promotion.
-
setBaseProduct
@Accessor(qualifier="baseProduct", type=SETTER) public void setBaseProduct(ProductModel value)
Generated method - Setter ofProductPerfectPartnerBundlePromotion.baseProductattribute defined at extensionpromotions.- Parameters:
value- the baseProduct - The base product.
-
setBundlePrices
@Accessor(qualifier="bundlePrices", type=SETTER) public void setBundlePrices(java.util.Collection<PromotionPriceRowModel> value)
Generated method - Setter ofProductPerfectPartnerBundlePromotion.bundlePricesattribute defined at extensionpromotions.- Parameters:
value- the bundlePrices - Fixed bundle price for the base product and selected partner products in specific currencies.
-
setMessageCouldHaveFired
@Accessor(qualifier="messageCouldHaveFired", type=SETTER) public void setMessageCouldHaveFired(java.lang.String value)
Generated method - Setter ofProductPerfectPartnerBundlePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.- Parameters:
value- the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
-
setMessageCouldHaveFired
@Accessor(qualifier="messageCouldHaveFired", type=SETTER) public void setMessageCouldHaveFired(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofProductPerfectPartnerBundlePromotion.messageCouldHaveFiredattribute defined at extensionpromotions.- Parameters:
value- the messageCouldHaveFired - The message to show when the promotion could have potentially fire.loc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setMessageFired
@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(java.lang.String value)
Generated method - Setter ofProductPerfectPartnerBundlePromotion.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(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofProductPerfectPartnerBundlePromotion.messageFiredattribute defined at extensionpromotions.- Parameters:
value- the messageFired - The message to show when the promotion has fired.loc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setPartnerProducts
@Accessor(qualifier="partnerProducts", type=SETTER) public void setPartnerProducts(java.util.Collection<ProductModel> value)
Generated method - Setter ofProductPerfectPartnerBundlePromotion.partnerProductsattribute defined at extensionpromotions.- Parameters:
value- the partnerProducts - The collections of potential partner products.
-
setQualifyingCount
@Accessor(qualifier="qualifyingCount", type=SETTER) public void setQualifyingCount(java.lang.Integer value)
Generated method - Setter ofProductPerfectPartnerBundlePromotion.qualifyingCountattribute defined at extensionpromotions.- Parameters:
value- the qualifyingCount - The number of partner products required to qualify for the promotion.
-
-