public class OrderThresholdFreeVoucherPromotionModel extends OrderPromotionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
FREEVOUCHER
Generated constant - Attribute key of
OrderThresholdFreeVoucherPromotion.freeVoucher attribute defined at extension promotions. |
static String |
MESSAGECOULDHAVEFIRED
Generated constant - Attribute key of
OrderThresholdFreeVoucherPromotion.messageCouldHaveFired attribute defined at extension promotions. |
static String |
MESSAGEFIRED
Generated constant - Attribute key of
OrderThresholdFreeVoucherPromotion.messageFired attribute defined at extension promotions. |
static String |
THRESHOLDTOTALS
Generated constant - Attribute key of
OrderThresholdFreeVoucherPromotion.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, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
OrderThresholdFreeVoucherPromotionModel()
Generated constructor - Default constructor for generic creation.
|
OrderThresholdFreeVoucherPromotionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
OrderThresholdFreeVoucherPromotionModel(String _code)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
OrderThresholdFreeVoucherPromotionModel(String _code,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
VoucherModel |
getFreeVoucher()
Generated method - Getter of the
OrderThresholdFreeVoucherPromotion.freeVoucher attribute defined at extension promotions. |
String |
getMessageCouldHaveFired()
Generated method - Getter of the
OrderThresholdFreeVoucherPromotion.messageCouldHaveFired attribute defined at extension promotions. |
String |
getMessageCouldHaveFired(Locale loc)
Generated method - Getter of the
OrderThresholdFreeVoucherPromotion.messageCouldHaveFired attribute defined at extension promotions. |
String |
getMessageFired()
Generated method - Getter of the
OrderThresholdFreeVoucherPromotion.messageFired attribute defined at extension promotions. |
String |
getMessageFired(Locale loc)
Generated method - Getter of the
OrderThresholdFreeVoucherPromotion.messageFired attribute defined at extension promotions. |
Collection<PromotionPriceRowModel> |
getThresholdTotals()
Generated method - Getter of the
OrderThresholdFreeVoucherPromotion.thresholdTotals attribute defined at extension promotions. |
void |
setFreeVoucher(VoucherModel value)
Generated method - Setter of
OrderThresholdFreeVoucherPromotion.freeVoucher attribute defined at extension promotions. |
void |
setMessageCouldHaveFired(String value)
Generated method - Setter of
OrderThresholdFreeVoucherPromotion.messageCouldHaveFired attribute defined at extension promotions. |
void |
setMessageCouldHaveFired(String value,
Locale loc)
Generated method - Setter of
OrderThresholdFreeVoucherPromotion.messageCouldHaveFired attribute defined at extension promotions. |
void |
setMessageFired(String value)
Generated method - Setter of
OrderThresholdFreeVoucherPromotion.messageFired attribute defined at extension promotions. |
void |
setMessageFired(String value,
Locale loc)
Generated method - Setter of
OrderThresholdFreeVoucherPromotion.messageFired attribute defined at extension promotions. |
void |
setThresholdTotals(Collection<PromotionPriceRowModel> value)
Generated method - Setter of
OrderThresholdFreeVoucherPromotion.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, 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 THRESHOLDTOTALS
OrderThresholdFreeVoucherPromotion.thresholdTotals attribute defined at extension promotions.public static final String FREEVOUCHER
OrderThresholdFreeVoucherPromotion.freeVoucher attribute defined at extension promotions.public static final String MESSAGEFIRED
OrderThresholdFreeVoucherPromotion.messageFired attribute defined at extension promotions.public static final String MESSAGECOULDHAVEFIRED
OrderThresholdFreeVoucherPromotion.messageCouldHaveFired attribute defined at extension promotions.public OrderThresholdFreeVoucherPromotionModel()
public OrderThresholdFreeVoucherPromotionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public OrderThresholdFreeVoucherPromotionModel(String _code)
_code - initial attribute declared by type AbstractPromotion at extension promotions@Deprecated public OrderThresholdFreeVoucherPromotionModel(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="freeVoucher", type=GETTER) public VoucherModel getFreeVoucher()
OrderThresholdFreeVoucherPromotion.freeVoucher attribute defined at extension promotions.@Accessor(qualifier="messageCouldHaveFired", type=GETTER) public String getMessageCouldHaveFired()
OrderThresholdFreeVoucherPromotion.messageCouldHaveFired attribute defined at extension promotions.@Accessor(qualifier="messageCouldHaveFired", type=GETTER) public String getMessageCouldHaveFired(Locale loc)
OrderThresholdFreeVoucherPromotion.messageCouldHaveFired attribute defined at extension promotions.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="messageFired", type=GETTER) public String getMessageFired()
OrderThresholdFreeVoucherPromotion.messageFired attribute defined at extension promotions.@Accessor(qualifier="messageFired", type=GETTER) public String getMessageFired(Locale loc)
OrderThresholdFreeVoucherPromotion.messageFired attribute defined at extension promotions.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="thresholdTotals", type=GETTER) public Collection<PromotionPriceRowModel> getThresholdTotals()
OrderThresholdFreeVoucherPromotion.thresholdTotals attribute defined at extension promotions.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="freeVoucher", type=SETTER) public void setFreeVoucher(VoucherModel value)
OrderThresholdFreeVoucherPromotion.freeVoucher attribute defined at extension promotions.value - the freeVoucher - The voucher.@Accessor(qualifier="messageCouldHaveFired", type=SETTER) public void setMessageCouldHaveFired(String value)
OrderThresholdFreeVoucherPromotion.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(String value, Locale loc)
OrderThresholdFreeVoucherPromotion.messageCouldHaveFired attribute defined at extension promotions.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)
OrderThresholdFreeVoucherPromotion.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(String value, Locale loc)
OrderThresholdFreeVoucherPromotion.messageFired attribute defined at extension promotions.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="thresholdTotals", type=SETTER) public void setThresholdTotals(Collection<PromotionPriceRowModel> value)
OrderThresholdFreeVoucherPromotion.thresholdTotals attribute defined at extension promotions.value - the thresholdTotals - The cart total value threshold in specific currencies.Copyright © 2017 SAP SE. All Rights Reserved.