public class OrderThresholdPerfectPartnerPromotionModel extends OrderPromotionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
DISCOUNTPRODUCT
Generated constant - Attribute key of
OrderThresholdPerfectPartnerPromotion.discountProduct attribute defined at extension promotions. |
static java.lang.String |
INCLUDEDISCOUNTEDPRICEINTHRESHOLD
Generated constant - Attribute key of
OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute defined at extension promotions. |
static java.lang.String |
MESSAGECOULDHAVEFIRED
Generated constant - Attribute key of
OrderThresholdPerfectPartnerPromotion.messageCouldHaveFired attribute defined at extension promotions. |
static java.lang.String |
MESSAGEFIRED
Generated constant - Attribute key of
OrderThresholdPerfectPartnerPromotion.messageFired attribute defined at extension promotions. |
static java.lang.String |
MESSAGEPRODUCTNOTHRESHOLD
Generated constant - Attribute key of
OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute defined at extension promotions. |
static java.lang.String |
MESSAGETHRESHOLDNOPRODUCT
Generated constant - Attribute key of
OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute defined at extension promotions. |
static java.lang.String |
PRODUCTPRICES
Generated constant - Attribute key of
OrderThresholdPerfectPartnerPromotion.productPrices attribute defined at extension promotions. |
static java.lang.String |
THRESHOLDTOTALS
Generated constant - Attribute key of
OrderThresholdPerfectPartnerPromotion.thresholdTotals attribute defined at extension promotions. |
_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 |
|---|
OrderThresholdPerfectPartnerPromotionModel()
Generated constructor - Default constructor for generic creation.
|
OrderThresholdPerfectPartnerPromotionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
OrderThresholdPerfectPartnerPromotionModel(java.lang.String _code)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
OrderThresholdPerfectPartnerPromotionModel(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 |
getDiscountProduct()
Generated method - Getter of the
OrderThresholdPerfectPartnerPromotion.discountProduct attribute defined at extension promotions. |
java.lang.Boolean |
getIncludeDiscountedPriceInThreshold()
Generated method - Getter of the
OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute defined at extension promotions. |
java.lang.String |
getMessageCouldHaveFired()
Generated method - Getter of the
OrderThresholdPerfectPartnerPromotion.messageCouldHaveFired attribute defined at extension promotions. |
java.lang.String |
getMessageCouldHaveFired(java.util.Locale loc)
Generated method - Getter of the
OrderThresholdPerfectPartnerPromotion.messageCouldHaveFired attribute defined at extension promotions. |
java.lang.String |
getMessageFired()
Generated method - Getter of the
OrderThresholdPerfectPartnerPromotion.messageFired attribute defined at extension promotions. |
java.lang.String |
getMessageFired(java.util.Locale loc)
Generated method - Getter of the
OrderThresholdPerfectPartnerPromotion.messageFired attribute defined at extension promotions. |
java.lang.String |
getMessageProductNoThreshold()
Generated method - Getter of the
OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute defined at extension promotions. |
java.lang.String |
getMessageProductNoThreshold(java.util.Locale loc)
Generated method - Getter of the
OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute defined at extension promotions. |
java.lang.String |
getMessageThresholdNoProduct()
Generated method - Getter of the
OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute defined at extension promotions. |
java.lang.String |
getMessageThresholdNoProduct(java.util.Locale loc)
Generated method - Getter of the
OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute defined at extension promotions. |
java.util.Collection<PromotionPriceRowModel> |
getProductPrices()
Generated method - Getter of the
OrderThresholdPerfectPartnerPromotion.productPrices attribute defined at extension promotions. |
java.util.Collection<PromotionPriceRowModel> |
getThresholdTotals()
Generated method - Getter of the
OrderThresholdPerfectPartnerPromotion.thresholdTotals attribute defined at extension promotions. |
void |
setDiscountProduct(ProductModel value)
Generated method - Setter of
OrderThresholdPerfectPartnerPromotion.discountProduct attribute defined at extension promotions. |
void |
setIncludeDiscountedPriceInThreshold(java.lang.Boolean value)
Generated method - Setter of
OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute defined at extension promotions. |
void |
setMessageCouldHaveFired(java.lang.String value)
Generated method - Setter of
OrderThresholdPerfectPartnerPromotion.messageCouldHaveFired attribute defined at extension promotions. |
void |
setMessageCouldHaveFired(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
OrderThresholdPerfectPartnerPromotion.messageCouldHaveFired attribute defined at extension promotions. |
void |
setMessageFired(java.lang.String value)
Generated method - Setter of
OrderThresholdPerfectPartnerPromotion.messageFired attribute defined at extension promotions. |
void |
setMessageFired(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
OrderThresholdPerfectPartnerPromotion.messageFired attribute defined at extension promotions. |
void |
setMessageProductNoThreshold(java.lang.String value)
Generated method - Setter of
OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute defined at extension promotions. |
void |
setMessageProductNoThreshold(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute defined at extension promotions. |
void |
setMessageThresholdNoProduct(java.lang.String value)
Generated method - Setter of
OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute defined at extension promotions. |
void |
setMessageThresholdNoProduct(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute defined at extension promotions. |
void |
setProductPrices(java.util.Collection<PromotionPriceRowModel> value)
Generated method - Setter of
OrderThresholdPerfectPartnerPromotion.productPrices attribute defined at extension promotions. |
void |
setThresholdTotals(java.util.Collection<PromotionPriceRowModel> value)
Generated method - Setter of
OrderThresholdPerfectPartnerPromotion.thresholdTotals attribute defined at extension promotions. |
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, 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 THRESHOLDTOTALS
OrderThresholdPerfectPartnerPromotion.thresholdTotals attribute defined at extension promotions.public static final java.lang.String DISCOUNTPRODUCT
OrderThresholdPerfectPartnerPromotion.discountProduct attribute defined at extension promotions.public static final java.lang.String PRODUCTPRICES
OrderThresholdPerfectPartnerPromotion.productPrices attribute defined at extension promotions.public static final java.lang.String INCLUDEDISCOUNTEDPRICEINTHRESHOLD
OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute defined at extension promotions.public static final java.lang.String MESSAGEFIRED
OrderThresholdPerfectPartnerPromotion.messageFired attribute defined at extension promotions.public static final java.lang.String MESSAGECOULDHAVEFIRED
OrderThresholdPerfectPartnerPromotion.messageCouldHaveFired attribute defined at extension promotions.public static final java.lang.String MESSAGEPRODUCTNOTHRESHOLD
OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute defined at extension promotions.public static final java.lang.String MESSAGETHRESHOLDNOPRODUCT
OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute defined at extension promotions.public OrderThresholdPerfectPartnerPromotionModel()
public OrderThresholdPerfectPartnerPromotionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public OrderThresholdPerfectPartnerPromotionModel(java.lang.String _code)
_code - initial attribute declared by type AbstractPromotion at extension promotions@Deprecated
public OrderThresholdPerfectPartnerPromotionModel(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="discountProduct", type=GETTER) public ProductModel getDiscountProduct()
OrderThresholdPerfectPartnerPromotion.discountProduct attribute defined at extension promotions.@Accessor(qualifier="includeDiscountedPriceInThreshold", type=GETTER) public java.lang.Boolean getIncludeDiscountedPriceInThreshold()
OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute defined at extension promotions.@Accessor(qualifier="messageCouldHaveFired", type=GETTER) public java.lang.String getMessageCouldHaveFired()
OrderThresholdPerfectPartnerPromotion.messageCouldHaveFired attribute defined at extension promotions.@Accessor(qualifier="messageCouldHaveFired", type=GETTER) public java.lang.String getMessageCouldHaveFired(java.util.Locale loc)
OrderThresholdPerfectPartnerPromotion.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()
OrderThresholdPerfectPartnerPromotion.messageFired attribute defined at extension promotions.@Accessor(qualifier="messageFired", type=GETTER) public java.lang.String getMessageFired(java.util.Locale loc)
OrderThresholdPerfectPartnerPromotion.messageFired attribute defined at extension promotions.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="messageProductNoThreshold", type=GETTER) public java.lang.String getMessageProductNoThreshold()
OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute defined at extension promotions.@Accessor(qualifier="messageProductNoThreshold", type=GETTER) public java.lang.String getMessageProductNoThreshold(java.util.Locale loc)
OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute defined at extension promotions.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="messageThresholdNoProduct", type=GETTER) public java.lang.String getMessageThresholdNoProduct()
OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute defined at extension promotions.@Accessor(qualifier="messageThresholdNoProduct", type=GETTER) public java.lang.String getMessageThresholdNoProduct(java.util.Locale loc)
OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute defined at extension promotions.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="productPrices", type=GETTER) public java.util.Collection<PromotionPriceRowModel> getProductPrices()
OrderThresholdPerfectPartnerPromotion.productPrices attribute defined at extension promotions.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="thresholdTotals", type=GETTER) public java.util.Collection<PromotionPriceRowModel> getThresholdTotals()
OrderThresholdPerfectPartnerPromotion.thresholdTotals attribute defined at extension promotions.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="discountProduct", type=SETTER) public void setDiscountProduct(ProductModel value)
OrderThresholdPerfectPartnerPromotion.discountProduct attribute defined at extension promotions.value - the discountProduct - The product to discount if it is in the cart.@Accessor(qualifier="includeDiscountedPriceInThreshold", type=SETTER) public void setIncludeDiscountedPriceInThreshold(java.lang.Boolean value)
OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute defined at extension promotions.value - the includeDiscountedPriceInThreshold - Flag to indicate if the discounted price of the product is allowed to count towards the threshold, otherwise it does not count towards the threshold.@Accessor(qualifier="messageCouldHaveFired", type=SETTER) public void setMessageCouldHaveFired(java.lang.String value)
OrderThresholdPerfectPartnerPromotion.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)
OrderThresholdPerfectPartnerPromotion.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)
OrderThresholdPerfectPartnerPromotion.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)
OrderThresholdPerfectPartnerPromotion.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="messageProductNoThreshold", type=SETTER) public void setMessageProductNoThreshold(java.lang.String value)
OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute defined at extension promotions.value - the messageProductNoThreshold - The message to show when there is a partner product but the threshold has not been reached.@Accessor(qualifier="messageProductNoThreshold", type=SETTER) public void setMessageProductNoThreshold(java.lang.String value, java.util.Locale loc)
OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute defined at extension promotions.value - the messageProductNoThreshold - The message to show when there is a partner product but the threshold has not been reached.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="messageThresholdNoProduct", type=SETTER) public void setMessageThresholdNoProduct(java.lang.String value)
OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute defined at extension promotions.value - the messageThresholdNoProduct - The message to show when the threshold is reached, but there is no partner product.@Accessor(qualifier="messageThresholdNoProduct", type=SETTER) public void setMessageThresholdNoProduct(java.lang.String value, java.util.Locale loc)
OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute defined at extension promotions.value - the messageThresholdNoProduct - The message to show when the threshold is reached, but there is no partner product.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="productPrices", type=SETTER) public void setProductPrices(java.util.Collection<PromotionPriceRowModel> value)
OrderThresholdPerfectPartnerPromotion.productPrices attribute defined at extension promotions.value - the productPrices - Fixed price for discounted product in specific currencies.@Accessor(qualifier="thresholdTotals", type=SETTER) public void setThresholdTotals(java.util.Collection<PromotionPriceRowModel> value)
OrderThresholdPerfectPartnerPromotion.thresholdTotals attribute defined at extension promotions.value - the thresholdTotals - The cart total value threshold in specific currencies.Copyright © 2018 SAP SE. All Rights Reserved.