Beispiel #1
0
        public CartTotal GetReceipt()
        {
            decimal totalTax    = _bill.CalcTotalTax(_productList);
            decimal totalAmount = _bill.CalcTotalAmount(_productList);

            _receipt = _bill.CreateNewReceipt(_productList, totalTax, totalAmount);
            return(_receipt);
        }