java.lang.Objectcom.ibm.commerce.tools.epromotion.RLPromotion
com.ibm.commerce.tools.epromotion.RLItemLevelPromotion
com.ibm.commerce.tools.epromotion.RLSingleRangeItemLevelPromotion
com.ibm.commerce.tools.epromotion.RLOtherItemSingleRangeItemLevelPromotion
com.ibm.commerce.tools.epromotion.implementations.ItemLevelBuyXGetYFree
This class is to represent Item level buy 'X' get 'Y' as free type discount.
Field Summary | |
static java.lang.String | COPYRIGHT the copyright information |
Constructor Summary | |
ItemLevelBuyXGetYFree() Constructor for ItemLevelBuyXGetYFree |
Method Summary | |
java.lang.String | generatePromotionSpecificRuleXML() OverRidden The super Class Method to construct XML in Required Format Not as per the super class format. |
java.lang.String | getValueTagName() Implement the abstract method to return its own value tag name. |
void | populatePromotionSpecificDataFrom(java.lang.String xmlString) populate the ItemLevelBuyXGetYFree discount type specific data from XML. |
Methods inherited from class com.ibm.commerce.tools.epromotion.RLOtherItemSingleRangeItemLevelPromotion |
getDiscountItemCatalogEntrySKU, populatePromotionSpecificDataFrom, setDiscountItemCatalogEntrySKU |
Methods inherited from class com.ibm.commerce.tools.epromotion.RLSingleRangeItemLevelPromotion |
getMaximumDiscountItemQuantity, getRequiredQuantity, getValue, setMaximumDiscountItemQuantity, setRequiredQuantity, setValue, setValueTagName |
Methods inherited from class com.ibm.commerce.tools.epromotion.RLItemLevelPromotion |
generatePromotionLevelSpecificRuleXML, getCatalogEntrySKUs, getPromotionDisplayLevel, populatePromotionLevelSpecificDataFrom, populatePromotionLevelSpecificDataFrom |
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 ItemLevelBuyXGetYFree()
Method Detail |
public java.lang.String getValueTagName()
public java.lang.String generatePromotionSpecificRuleXML()
public void populatePromotionSpecificDataFrom(java.lang.String xmlString)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.