com.ibm.commerce.tools.epromotion

Class RLOrderLevelPromotion

    • Field Detail

      • COPYRIGHT

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

      • RLOrderLevelPromotion

        public RLOrderLevelPromotion()
        Constructor
    • Method Detail

      • generatePromotionLevelSpecificRuleXML

        public final java.lang.String generatePromotionLevelSpecificRuleXML()
        Generate promotion level specific rule XML.
        Returns:
        the generated promotion level specific rule XML.
      • getPromotionDisplayLevel

        public final java.lang.Integer getPromotionDisplayLevel()
        Displaying for order level promotion, return Order Level.
        Specified by:
        getPromotionDisplayLevel in class RLPromotion
        Returns:
        java.lang.Integer
      • isInCombinationWithProductLevelPromotion

        public boolean isInCombinationWithProductLevelPromotion()
        Check if this discount is combined with product level promotion, true is yes.
        Returns:
        boolean
      • getValues

        public java.util.Vector getValues()
        For User Interface displaying, get values of the range.
        Returns:
        java.util.Vector
      • getRanges

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

        public final void populatePromotionLevelSpecificDataFrom(java.lang.String xmlString)
        Populate the promotion level specific data from XML String to User Interface.
        Parameters:
        xmlString - the String used to populate the promotion level specific data.
      • setRanges

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

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