Class OrderLevelFixedDiscount

  • All Implemented Interfaces:

    public class OrderLevelFixedDiscount
    extends RLOrderLevelPromotion
    This class presents specific details of an Order Level promotion of type OrderLevelFixedDiscount. This type represents giving an amount 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


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

      • OrderLevelFixedDiscount

        public OrderLevelFixedDiscount()
        OrderLevelFixedDiscount Constructor.
    • Method Detail

      • generatePromotionSpecificRuleXML

        public java.lang.String generatePromotionSpecificRuleXML()
        This promotion specific rule in XML represents OrderLevelFixedDiscount type specific data
        java.lang.String of XML file containing promotion specific rules
      • populatePromotionSpecificDataFrom

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