public void SetDiscountSequence()
        {
            // for more customization like to include specific rule,exclude rule, controlling sequence
            // we may need to modify this with factory which can do below task based on input
            IDiscountRuleEngine quantityEngine    = new QuantityBasedDiscount();
            IDiscountRuleEngine combinationEngine = new CombinationBasedDiscount();

            quantityEngine.SetNextRule(combinationEngine);

            this.ruleEngine = quantityEngine;
        }
 public void SetNextRule(IDiscountRuleEngine nextDiscountRule)
 {
     this.nextDiscountRule = nextDiscountRule;
 }