public DiscountPipeline(Bill bill, Customer customer) { _percentageDiscounters = new List<IDiscounter>(); this.Bill = bill; this.Customer = customer; LoadPercentageDiscounters(); }
public Bill(Customer forCustomer) { _productLineItems = new List<ProductLineItem>(); _discountLineItems = new List<DiscountLineItem>(); Customer = forCustomer; _discountPipeLine = new DiscountPipeline(this, forCustomer); }
public BilledTotalDiscounter(Bill bill, Customer customer,List<DiscountLineItem> existingDiscounts) : base(bill, customer) { _existingDiscounts = existingDiscounts; }
public AffiliateDiscounter(Bill bill, Customer customer) : base(bill, customer) { }
public LoyaltyDiscounter(Bill bill, Customer customer) : base(bill, customer) { }
public EmployeeDiscounter(Bill bill, Customer customer) : base(bill, customer) { }
public Discounter(Bill bill, Customer customer) { this.Bill = bill; this.Customer = customer; }