com.ibm.commerce.tools.epromotion

Class RLSingleRangeItemLevelPromotion

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RLSingleRangeItemLevelPromotion

        public RLSingleRangeItemLevelPromotion()
        Constructor of RLSingleRangeItemLevelPromotion.
    • Method Detail

      • generatePromotionSpecificRuleXML

        public java.lang.String generatePromotionSpecificRuleXML()
        Generate promotion specific rule XML.
        Returns:
        java.lang.String
      • getMaximumDiscountItemQuantity

        public java.lang.String getMaximumDiscountItemQuantity()
        Get maximum discount item quantity.
        Returns:
        java.lang.String
      • getRequiredQuantity

        public java.lang.String getRequiredQuantity()
        Get required quantity.
        Returns:
        java.lang.String
      • getValue

        public java.lang.String getValue()
        Get the values.
        Returns:
        java.lang.String
      • getValueTagName

        public abstract java.lang.String getValueTagName()
        Implementation class has to return its own value tag name.
        Returns:
        java.lang.String
      • populatePromotionSpecificDataFrom

        public void populatePromotionSpecificDataFrom(java.lang.String xmlString)
        Populate promotion specific data from XML String.
        Parameters:
        xmlString - java.lang.String
      • setValueTagName

        public void setValueTagName(java.lang.String newValueTagName)
        Sets the valueTagName.
        Parameters:
        newValueTagName - The valueTagName to set
      • setValue

        public void setValue(java.lang.String newValue)
        Sets the value.
        Parameters:
        newValue - The value to set
      • setRequiredQuantity

        public void setRequiredQuantity(int newRequiredQuantity)
        Sets the requiredQuantity.
        Parameters:
        newRequiredQuantity - The requiredQuantity to set
      • setMaximumDiscountItemQuantity

        public void setMaximumDiscountItemQuantity(int newMaximumDiscountItemQuantity)
        Sets the maximumDiscountItemQuantity.
        Parameters:
        newMaximumDiscountItemQuantity - The maximumDiscountItemQuantity to set