public class ProductThresholdPriceDiscountPromotionModel extends ProductPromotionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
MESSAGECOULDHAVEFIRED
Generated constant - Attribute key of
ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute defined at extension b2bacceleratorservices. |
static String |
MESSAGEFIRED
Generated constant - Attribute key of
ProductThresholdPriceDiscountPromotion.messageFired attribute defined at extension b2bacceleratorservices. |
static String |
PRODUCTPRICEDISCOUNT
Generated constant - Attribute key of
ProductThresholdPriceDiscountPromotion.productPriceDiscount attribute defined at extension b2bacceleratorservices. |
static String |
PRODUCTTHRESHOLDPRICE
Generated constant - Attribute key of
ProductThresholdPriceDiscountPromotion.productThresholdPrice attribute defined at extension b2bacceleratorservices. |
_CATEGORYPROMOTIONRELATION, _PRODUCTPROMOTIONRELATION, CATEGORIES, PRODUCTBANNER, PRODUCTS, SPECIALDISCOUNT_PROMOTIONGROUPPROMOTIONSRELATION, CODE, DESCRIPTION, DETAILSURL, ENABLED, ENDDATE, IMMUTABLEKEY, IMMUTABLEKEYHASH, NAME, PRIORITY, PROMOTIONGROUP, PROMOTIONTYPE, RESTRICTIONS, STARTDATE, TITLE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ProductThresholdPriceDiscountPromotionModel()
Generated constructor - Default constructor for generic creation.
|
ProductThresholdPriceDiscountPromotionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
ProductThresholdPriceDiscountPromotionModel(String _code)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ProductThresholdPriceDiscountPromotionModel(String _code,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessageCouldHaveFired()
Generated method - Getter of the
ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute defined at extension b2bacceleratorservices. |
String |
getMessageCouldHaveFired(Locale loc)
Generated method - Getter of the
ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute defined at extension b2bacceleratorservices. |
String |
getMessageFired()
Generated method - Getter of the
ProductThresholdPriceDiscountPromotion.messageFired attribute defined at extension b2bacceleratorservices. |
String |
getMessageFired(Locale loc)
Generated method - Getter of the
ProductThresholdPriceDiscountPromotion.messageFired attribute defined at extension b2bacceleratorservices. |
Collection<PromotionPriceRowModel> |
getProductPriceDiscount()
Generated method - Getter of the
ProductThresholdPriceDiscountPromotion.productPriceDiscount attribute defined at extension b2bacceleratorservices. |
Collection<PromotionPriceRowModel> |
getProductThresholdPrice()
Generated method - Getter of the
ProductThresholdPriceDiscountPromotion.productThresholdPrice attribute defined at extension b2bacceleratorservices. |
void |
setMessageCouldHaveFired(String value)
Generated method - Setter of
ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute defined at extension b2bacceleratorservices. |
void |
setMessageCouldHaveFired(String value,
Locale loc)
Generated method - Setter of
ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute defined at extension b2bacceleratorservices. |
void |
setMessageFired(String value)
Generated method - Setter of
ProductThresholdPriceDiscountPromotion.messageFired attribute defined at extension b2bacceleratorservices. |
void |
setMessageFired(String value,
Locale loc)
Generated method - Setter of
ProductThresholdPriceDiscountPromotion.messageFired attribute defined at extension b2bacceleratorservices. |
void |
setProductPriceDiscount(Collection<PromotionPriceRowModel> value)
Generated method - Setter of
ProductThresholdPriceDiscountPromotion.productPriceDiscount attribute defined at extension b2bacceleratorservices. |
void |
setProductThresholdPrice(Collection<PromotionPriceRowModel> value)
Generated method - Setter of
ProductThresholdPriceDiscountPromotion.productThresholdPrice attribute defined at extension b2bacceleratorservices. |
getCategories, getProductBanner, getProducts, getSpecialDiscount, setCategories, setProductBanner, setProducts, setSpecialDiscountgetCode, 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, 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 String _TYPECODE
public static final String PRODUCTTHRESHOLDPRICE
ProductThresholdPriceDiscountPromotion.productThresholdPrice attribute defined at extension b2bacceleratorservices.public static final String PRODUCTPRICEDISCOUNT
ProductThresholdPriceDiscountPromotion.productPriceDiscount attribute defined at extension b2bacceleratorservices.public static final String MESSAGEFIRED
ProductThresholdPriceDiscountPromotion.messageFired attribute defined at extension b2bacceleratorservices.public static final String MESSAGECOULDHAVEFIRED
ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute defined at extension b2bacceleratorservices.public ProductThresholdPriceDiscountPromotionModel()
public ProductThresholdPriceDiscountPromotionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ProductThresholdPriceDiscountPromotionModel(String _code)
_code - initial attribute declared by type AbstractPromotion at extension promotions@Deprecated public ProductThresholdPriceDiscountPromotionModel(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="messageCouldHaveFired", type=GETTER) public String getMessageCouldHaveFired()
ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute defined at extension b2bacceleratorservices.@Accessor(qualifier="messageCouldHaveFired", type=GETTER) public String getMessageCouldHaveFired(Locale loc)
ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute defined at extension b2bacceleratorservices.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="messageFired", type=GETTER) public String getMessageFired()
ProductThresholdPriceDiscountPromotion.messageFired attribute defined at extension b2bacceleratorservices.@Accessor(qualifier="messageFired", type=GETTER) public String getMessageFired(Locale loc)
ProductThresholdPriceDiscountPromotion.messageFired attribute defined at extension b2bacceleratorservices.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="productPriceDiscount", type=GETTER) public Collection<PromotionPriceRowModel> getProductPriceDiscount()
ProductThresholdPriceDiscountPromotion.productPriceDiscount attribute defined at extension b2bacceleratorservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="productThresholdPrice", type=GETTER) public Collection<PromotionPriceRowModel> getProductThresholdPrice()
ProductThresholdPriceDiscountPromotion.productThresholdPrice attribute defined at extension b2bacceleratorservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="messageCouldHaveFired", type=SETTER) public void setMessageCouldHaveFired(String value)
ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute defined at extension b2bacceleratorservices.value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.@Accessor(qualifier="messageCouldHaveFired", type=SETTER) public void setMessageCouldHaveFired(String value, Locale loc)
ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute defined at extension b2bacceleratorservices.value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(String value)
ProductThresholdPriceDiscountPromotion.messageFired attribute defined at extension b2bacceleratorservices.value - the messageFired - The message to show when the promotion has fired.@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(String value, Locale loc)
ProductThresholdPriceDiscountPromotion.messageFired attribute defined at extension b2bacceleratorservices.value - the messageFired - The message to show when the promotion has fired.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="productPriceDiscount", type=SETTER) public void setProductPriceDiscount(Collection<PromotionPriceRowModel> value)
ProductThresholdPriceDiscountPromotion.productPriceDiscount attribute defined at extension b2bacceleratorservices.value - the productPriceDiscount - Fixed price for discount in specific currencies.@Accessor(qualifier="productThresholdPrice", type=SETTER) public void setProductThresholdPrice(Collection<PromotionPriceRowModel> value)
ProductThresholdPriceDiscountPromotion.productThresholdPrice attribute defined at extension b2bacceleratorservices.value - the productThresholdPrice - The cart total value threshold in specific currencies.Copyright © 2017 SAP SE. All Rights Reserved.