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