com.ibm.commerce.tools.epromotion.implementations

Class OrderLevelPercentDiscount

  • All Implemented Interfaces:
    RLConstants


    public class OrderLevelPercentDiscount
    extends RLOrderLevelPromotion
    This class presents specific details of an Order Level promotion of type OrderLevelPercentDiscount. This type represents giving a percentage off on entire order based on order purchase (multiple ranges on order purchase). For example, giving an order of over $100, a discount of %10. The XML will be generated in the generatePromotionSpecificRuleXML() method and the fields in this class will be populated in the populatePromotionSpecificDataFrom(String) method.
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The copyright information.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OrderLevelPercentDiscount

        public OrderLevelPercentDiscount()
        OrderLevelPercentDiscount Constructor.
    • Method Detail

      • generatePromotionSpecificRuleXML

        public java.lang.String generatePromotionSpecificRuleXML()
        Generates the OrderLevelPercentDiscount specific rule XML.
        Returns:
        java.lang.String the OrderLevelPercentDiscount specific rule XML.
      • populatePromotionSpecificDataFrom

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