public class ProductFixedPricePromotionModel extends ProductPromotionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
MESSAGEFIRED
Generated constant - Attribute key of
ProductFixedPricePromotion.messageFired attribute defined at extension promotions. |
static java.lang.String |
PRODUCTFIXEDUNITPRICE
Generated constant - Attribute key of
ProductFixedPricePromotion.productFixedUnitPrice 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 |
|---|
ProductFixedPricePromotionModel()
Generated constructor - Default constructor for generic creation.
|
ProductFixedPricePromotionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
ProductFixedPricePromotionModel(java.lang.String _code)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ProductFixedPricePromotionModel(java.lang.String _code,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessageFired()
Generated method - Getter of the
ProductFixedPricePromotion.messageFired attribute defined at extension promotions. |
java.lang.String |
getMessageFired(java.util.Locale loc)
Generated method - Getter of the
ProductFixedPricePromotion.messageFired attribute defined at extension promotions. |
java.util.Collection<PromotionPriceRowModel> |
getProductFixedUnitPrice()
Generated method - Getter of the
ProductFixedPricePromotion.productFixedUnitPrice attribute defined at extension promotions. |
void |
setMessageFired(java.lang.String value)
Generated method - Setter of
ProductFixedPricePromotion.messageFired attribute defined at extension promotions. |
void |
setMessageFired(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
ProductFixedPricePromotion.messageFired attribute defined at extension promotions. |
void |
setProductFixedUnitPrice(java.util.Collection<PromotionPriceRowModel> value)
Generated method - Setter of
ProductFixedPricePromotion.productFixedUnitPrice 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 PRODUCTFIXEDUNITPRICE
ProductFixedPricePromotion.productFixedUnitPrice attribute defined at extension promotions.public static final java.lang.String MESSAGEFIRED
ProductFixedPricePromotion.messageFired attribute defined at extension promotions.public ProductFixedPricePromotionModel()
public ProductFixedPricePromotionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ProductFixedPricePromotionModel(java.lang.String _code)
_code - initial attribute declared by type AbstractPromotion at extension promotions@Deprecated
public ProductFixedPricePromotionModel(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="messageFired", type=GETTER) public java.lang.String getMessageFired()
ProductFixedPricePromotion.messageFired attribute defined at extension promotions.@Accessor(qualifier="messageFired", type=GETTER) public java.lang.String getMessageFired(java.util.Locale loc)
ProductFixedPricePromotion.messageFired attribute defined at extension promotions.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="productFixedUnitPrice", type=GETTER) public java.util.Collection<PromotionPriceRowModel> getProductFixedUnitPrice()
ProductFixedPricePromotion.productFixedUnitPrice attribute defined at extension promotions.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(java.lang.String value)
ProductFixedPricePromotion.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)
ProductFixedPricePromotion.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="productFixedUnitPrice", type=SETTER) public void setProductFixedUnitPrice(java.util.Collection<PromotionPriceRowModel> value)
ProductFixedPricePromotion.productFixedUnitPrice attribute defined at extension promotions.value - the productFixedUnitPrice - Fixed price to sell the product at in specific currencies.Copyright © 2018 SAP SE. All Rights Reserved.