com.ibm.commerce.tools.epromotion

Class RLSingleRangeProductLevelPromotion

    • Field Detail

      • COPYRIGHT

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

      • RLSingleRangeProductLevelPromotion

        public RLSingleRangeProductLevelPromotion()
        The constructor for RLSingleRangeProductLevelPromotion.
    • Method Detail

      • generatePromotionSpecificRuleXML

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

        public abstract java.lang.String getValueTagName()
        Get value tag name. This has to be implemented by sub classes.
        Returns:
        java.lang.String
      • getValue

        public java.lang.String getValue()
        For User Interface displaying.
        Returns:
        java.lang.String
      • getRequiredQuantity

        public java.lang.String getRequiredQuantity()
        For User Interface displaying.
        Returns:
        java.lang.String
      • getMaximumDiscountItemQuantity

        public java.lang.String getMaximumDiscountItemQuantity()
        For User Interface displaying.
        Returns:
        java.lang.String
      • getDiscountProductSKU

        public java.lang.String getDiscountProductSKU()
        For User Interface displaying.
        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)
        Set value tag name.
        Parameters:
        java.lang.String -
      • setValue

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

        public void setRequiredQuantity(int newRequiredQuantity)
        Sets the requiredQuantity.
        Parameters:
        java.lang.String -
      • setMaximumDiscountItemQuantity

        public void setMaximumDiscountItemQuantity(int newMaximumDiscountItemQuantity)
        Sets the maximumDiscountItemQuantity.
        Parameters:
        java.lang.String -
      • setDiscountProductSKU

        public void setDiscountProductSKU(java.lang.String newDiscountProductSKU)
        Sets discountProductSKU.
        Parameters:
        java.lang.String -