java.lang.Object | +--com.ibm.commerce.tools.epromotion.RLPromotion | +--com.ibm.commerce.tools.epromotion.RLProductLevelPromotion | +--com.ibm.commerce.tools.epromotion.RLSingleRangeProductLevelPromotion
This class represents a single ranged product level promotion
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Constructor Summary | |
---|---|
RLSingleRangeProductLevelPromotion() The constructor for RLSingleRangeProductLevelPromotion |
Method Summary | |
---|---|
java.lang.String |
generatePromotionSpecificRuleXML() Generate promotion specific rule XML. |
java.lang.String |
getDiscountProductSKU() For User Interface displaying. |
java.lang.String |
getMaximumDiscountItemQuantity() For User Interface displaying. |
java.lang.String |
getRequiredQuantity() For User Interface displaying. |
java.lang.String |
getValue() For User Interface displaying. |
abstract
java.lang.String |
getValueTagName() Get value tag name. |
void |
populatePromotionSpecificDataFrom(java.util.Map h) Populate promotion specific data from User Interface input. |
void |
populatePromotionSpecificDataFrom(java.lang.String xmlString) Populate promotion specific data from XML String. |
void |
setDiscountProductSKU(java.lang.String newDiscountProductSKU) sets discountProductSKU. |
void |
setMaximumDiscountItemQuantity(int newMaximumDiscountItemQuantity) sets the maximumDiscountItemQuantity. |
void |
setRequiredQuantity(int newRequiredQuantity) sets the requiredQuantity. |
void |
setValue(java.lang.String newValue) Sets value. |
void |
setValueTagName(java.lang.String newValueTagName) Set value tag name. |
Methods inherited from class com.ibm.commerce.tools.epromotion. RLProductLevelPromotion |
generatePromotionLevelSpecificRuleXML,
getCatalogEntryIDs,
getMinimumQuantityToQualifyTagName,
getPromotionDisplayLevel,
populatePromotionLevelSpecificDataFrom,
populatePromotionLevelSpecificDataFrom,
setCatalogEntryIDs |
Methods inherited from class com.ibm.commerce.tools.epromotion. RLPromotion |
generateRuleXML,
getAssignedSegments,
getCurrency,
getDayInWeek,
getDaysInWeek,
getDescription,
getDescriptionLongNL,
getDescriptionNL,
getEndTimeStamp,
getName,
getPriority,
getRlPromotionType,
getRLPromotionType,
getStartTimeStamp,
getStatus,
getTargetSalesFigure,
isDateRanged,
isTimeRanged,
isValidForAllCustomers,
populateFrom,
populateFrom,
setAssignedSegments,
setCurrency,
setDaysInWeek,
setDescription,
setDescriptionLongNL,
setDescriptionNL,
setEndTimeStamp,
setName,
setPriority,
setRlPromotionType,
setStartTimeStamp,
setStatus,
setTargetSalesFigure |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public RLSingleRangeProductLevelPromotion()
Method Detail |
---|
public java.lang.String generatePromotionSpecificRuleXML()
generatePromotionSpecificRuleXML
in class
RLPromotion
public abstract java.lang.String getValueTagName()
public java.lang.String getValue()
public java.lang.String getRequiredQuantity()
public java.lang.String getMaximumDiscountItemQuantity()
public java.lang.String getDiscountProductSKU()
public void populatePromotionSpecificDataFrom(java.lang.String xmlString)
populatePromotionSpecificDataFrom
in class
RLPromotion
xmlString
- java.lang.Stringpublic void populatePromotionSpecificDataFrom(java.util.Map h) throws ParameterNotFoundException
populatePromotionSpecificDataFrom
in class
RLPromotion
h
- java.util.Map
ParameterNotFoundException
public void setValueTagName(java.lang.String newValueTagName)
public void setValue(java.lang.String newValue)
public void setRequiredQuantity(int newRequiredQuantity)
public void setMaximumDiscountItemQuantity(int newMaximumDiscountItemQuantity)
public void setDiscountProductSKU(java.lang.String newDiscountProductSKU)