Example #1
0
 public CalculateCartFlow(ICalculateSubTotal calculateSubTotal, ICalculateTax calculateTax, ICalculateDiscount calculateDiscount, ICalculateTotal calculateTotal)
 {
     this.calculateSubTotal = calculateSubTotal;
     this.calculateTax      = calculateTax;
     this.calculateDiscount = calculateDiscount;
     this.calculateTotal    = calculateTotal;
 }
Example #2
0
 public CalculateTotalController(ICalculateTotal calculateTotal)
 {
     CalculateTotal = calculateTotal;
 }