public class ProductPerfectPartnerBundlePromotionModel extends ProductPromotionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
BASEPRODUCT
Generated constant - Attribute key of
ProductPerfectPartnerBundlePromotion.baseProduct attribute defined at extension promotions. |
static java.lang.String |
BUNDLEPRICES
Generated constant - Attribute key of
ProductPerfectPartnerBundlePromotion.bundlePrices attribute defined at extension promotions. |
static java.lang.String |
MESSAGECOULDHAVEFIRED
Generated constant - Attribute key of
ProductPerfectPartnerBundlePromotion.messageCouldHaveFired attribute defined at extension promotions. |
static java.lang.String |
MESSAGEFIRED
Generated constant - Attribute key of
ProductPerfectPartnerBundlePromotion.messageFired attribute defined at extension promotions. |
static java.lang.String |
PARTNERPRODUCTS
Generated constant - Attribute key of
ProductPerfectPartnerBundlePromotion.partnerProducts attribute defined at extension promotions. |
static java.lang.String |
QUALIFYINGCOUNT
Generated constant - Attribute key of
ProductPerfectPartnerBundlePromotion.qualifyingCount attribute defined at extension promotions. |
_CATEGORYPROMOTIONRELATION, _PRODUCTPROMOTIONRELATION, CATEGORIES, PRODUCTBANNER, PRODUCTS_PROMOTIONGROUPPROMOTIONSRELATION, CODE, DESCRIPTION, DETAILSURL, ENABLED, ENDDATE, IMMUTABLEKEY, IMMUTABLEKEYHASH, NAME, PRIORITY, PROMOTIONGROUP, PROMOTIONTYPE, RESTRICTIONS, STARTDATE, TITLE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ProductPerfectPartnerBundlePromotionModel()
Generated constructor - Default constructor for generic creation.
|
ProductPerfectPartnerBundlePromotionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
ProductPerfectPartnerBundlePromotionModel(java.lang.String _code)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ProductPerfectPartnerBundlePromotionModel(java.lang.String _code,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
ProductModel |
getBaseProduct()
Generated method - Getter of the
ProductPerfectPartnerBundlePromotion.baseProduct attribute defined at extension promotions. |
java.util.Collection<PromotionPriceRowModel> |
getBundlePrices()
Generated method - Getter of the
ProductPerfectPartnerBundlePromotion.bundlePrices attribute defined at extension promotions. |
java.lang.String |
getMessageCouldHaveFired()
Generated method - Getter of the
ProductPerfectPartnerBundlePromotion.messageCouldHaveFired attribute defined at extension promotions. |
java.lang.String |
getMessageCouldHaveFired(java.util.Locale loc)
Generated method - Getter of the
ProductPerfectPartnerBundlePromotion.messageCouldHaveFired attribute defined at extension promotions. |
java.lang.String |
getMessageFired()
Generated method - Getter of the
ProductPerfectPartnerBundlePromotion.messageFired attribute defined at extension promotions. |
java.lang.String |
getMessageFired(java.util.Locale loc)
Generated method - Getter of the
ProductPerfectPartnerBundlePromotion.messageFired attribute defined at extension promotions. |
java.util.Collection<ProductModel> |
getPartnerProducts()
Generated method - Getter of the
ProductPerfectPartnerBundlePromotion.partnerProducts attribute defined at extension promotions. |
java.lang.Integer |
getQualifyingCount()
Generated method - Getter of the
ProductPerfectPartnerBundlePromotion.qualifyingCount attribute defined at extension promotions. |
void |
setBaseProduct(ProductModel value)
Generated method - Setter of
ProductPerfectPartnerBundlePromotion.baseProduct attribute defined at extension promotions. |
void |
setBundlePrices(java.util.Collection<PromotionPriceRowModel> value)
Generated method - Setter of
ProductPerfectPartnerBundlePromotion.bundlePrices attribute defined at extension promotions. |
void |
setMessageCouldHaveFired(java.lang.String value)
Generated method - Setter of
ProductPerfectPartnerBundlePromotion.messageCouldHaveFired attribute defined at extension promotions. |
void |
setMessageCouldHaveFired(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
ProductPerfectPartnerBundlePromotion.messageCouldHaveFired attribute defined at extension promotions. |
void |
setMessageFired(java.lang.String value)
Generated method - Setter of
ProductPerfectPartnerBundlePromotion.messageFired attribute defined at extension promotions. |
void |
setMessageFired(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
ProductPerfectPartnerBundlePromotion.messageFired attribute defined at extension promotions. |
void |
setPartnerProducts(java.util.Collection<ProductModel> value)
Generated method - Setter of
ProductPerfectPartnerBundlePromotion.partnerProducts attribute defined at extension promotions. |
void |
setQualifyingCount(java.lang.Integer value)
Generated method - Setter of
ProductPerfectPartnerBundlePromotion.qualifyingCount attribute defined at extension promotions. |
getCategories, getProductBanner, getProducts, setCategories, setProductBanner, setProductsgetCode, 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, setTitlegetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String BASEPRODUCT
ProductPerfectPartnerBundlePromotion.baseProduct attribute defined at extension promotions.public static final java.lang.String PARTNERPRODUCTS
ProductPerfectPartnerBundlePromotion.partnerProducts attribute defined at extension promotions.public static final java.lang.String QUALIFYINGCOUNT
ProductPerfectPartnerBundlePromotion.qualifyingCount attribute defined at extension promotions.public static final java.lang.String BUNDLEPRICES
ProductPerfectPartnerBundlePromotion.bundlePrices attribute defined at extension promotions.public static final java.lang.String MESSAGEFIRED
ProductPerfectPartnerBundlePromotion.messageFired attribute defined at extension promotions.public static final java.lang.String MESSAGECOULDHAVEFIRED
ProductPerfectPartnerBundlePromotion.messageCouldHaveFired attribute defined at extension promotions.public ProductPerfectPartnerBundlePromotionModel()
public ProductPerfectPartnerBundlePromotionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ProductPerfectPartnerBundlePromotionModel(java.lang.String _code)
_code - initial attribute declared by type AbstractPromotion at extension promotions@Deprecated
public ProductPerfectPartnerBundlePromotionModel(java.lang.String _code,
ItemModel _owner)
_code - initial attribute declared by type AbstractPromotion at extension promotions_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="baseProduct", type=GETTER) public ProductModel getBaseProduct()
ProductPerfectPartnerBundlePromotion.baseProduct attribute defined at extension promotions.@Accessor(qualifier="bundlePrices", type=GETTER) public java.util.Collection<PromotionPriceRowModel> getBundlePrices()
ProductPerfectPartnerBundlePromotion.bundlePrices attribute defined at extension promotions.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="messageCouldHaveFired", type=GETTER) public java.lang.String getMessageCouldHaveFired()
ProductPerfectPartnerBundlePromotion.messageCouldHaveFired attribute defined at extension promotions.@Accessor(qualifier="messageCouldHaveFired", type=GETTER) public java.lang.String getMessageCouldHaveFired(java.util.Locale loc)
ProductPerfectPartnerBundlePromotion.messageCouldHaveFired attribute defined at extension promotions.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="messageFired", type=GETTER) public java.lang.String getMessageFired()
ProductPerfectPartnerBundlePromotion.messageFired attribute defined at extension promotions.@Accessor(qualifier="messageFired", type=GETTER) public java.lang.String getMessageFired(java.util.Locale loc)
ProductPerfectPartnerBundlePromotion.messageFired attribute defined at extension promotions.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="partnerProducts", type=GETTER) public java.util.Collection<ProductModel> getPartnerProducts()
ProductPerfectPartnerBundlePromotion.partnerProducts attribute defined at extension promotions.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="qualifyingCount", type=GETTER) public java.lang.Integer getQualifyingCount()
ProductPerfectPartnerBundlePromotion.qualifyingCount attribute defined at extension promotions.@Accessor(qualifier="baseProduct", type=SETTER) public void setBaseProduct(ProductModel value)
ProductPerfectPartnerBundlePromotion.baseProduct attribute defined at extension promotions.value - the baseProduct - The base product.@Accessor(qualifier="bundlePrices", type=SETTER) public void setBundlePrices(java.util.Collection<PromotionPriceRowModel> value)
ProductPerfectPartnerBundlePromotion.bundlePrices attribute defined at extension promotions.value - the bundlePrices - Fixed bundle price for the base product and selected partner products in specific currencies.@Accessor(qualifier="messageCouldHaveFired", type=SETTER) public void setMessageCouldHaveFired(java.lang.String value)
ProductPerfectPartnerBundlePromotion.messageCouldHaveFired attribute defined at extension promotions.value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.@Accessor(qualifier="messageCouldHaveFired", type=SETTER) public void setMessageCouldHaveFired(java.lang.String value, java.util.Locale loc)
ProductPerfectPartnerBundlePromotion.messageCouldHaveFired attribute defined at extension promotions.value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(java.lang.String value)
ProductPerfectPartnerBundlePromotion.messageFired attribute defined at extension promotions.value - the messageFired - The message to show when the promotion has fired.@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(java.lang.String value, java.util.Locale loc)
ProductPerfectPartnerBundlePromotion.messageFired attribute defined at extension promotions.value - the messageFired - The message to show when the promotion has fired.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="partnerProducts", type=SETTER) public void setPartnerProducts(java.util.Collection<ProductModel> value)
ProductPerfectPartnerBundlePromotion.partnerProducts attribute defined at extension promotions.value - the partnerProducts - The collections of potential partner products.@Accessor(qualifier="qualifyingCount", type=SETTER) public void setQualifyingCount(java.lang.Integer value)
ProductPerfectPartnerBundlePromotion.qualifyingCount attribute defined at extension promotions.value - the qualifyingCount - The number of partner products required to qualify for the promotion.Copyright © 2018 SAP SE. All Rights Reserved.