Exemplo n.º 1
0
        public void UseDiscount(IDiscount discount)
        {
            int sum = RealSum;

            DiscountSum = (int)Math.Ceiling(discount.GetTotalPriceWithDiscount(sum));
        }