com.ibm.commerce.tools.epromotion

Class RLRangedProductLevelPromotion

    • Field Detail

      • COPYRIGHT

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

      • RLRangedProductLevelPromotion

        public RLRangedProductLevelPromotion()
        Constructor for RLRangedProductLevelPromotion.
    • Method Detail

      • generatePromotionSpecificRuleXML

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

        public abstract java.lang.String getDiscountValueTagName()
        Get the discount value tag name. This has to be implemented by subclasses.
        Returns:
        java.lang.String
      • getRangesModel

        public RLPromotionRangesModel getRangesModel()
        This method will provide ranges model for PROMOTION databean.
        Returns:
        com.ibm.commerce.tools.epromotion.RLPromotionRangesModel
      • getRangeTagName

        public abstract java.lang.String getRangeTagName()
        Get the range tag name. This has to be implemented by subclasses.
        Returns:
        java.lang.String
      • getRanges

        public java.util.Vector getRanges()
        For User Interface displaying, get ranges.
        Returns:
        java.util.Vector
      • getValues

        public java.util.Vector getValues()
        For User Interface displaying, get values.
        Returns:
        java.util.Vector
      • populatePromotionSpecificDataFrom

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

        public void setRanges(java.util.Vector newRanges)
        Sets the ranges.
        Parameters:
        java.util.Vector -
      • setValues

        public void setValues(java.util.Vector newValues)
        Sets the values.
        Parameters:
        java.util.Vector -