Esempio n. 1
0
 public Sell(DateTime date, int quantity, Wear wear, IPayment payment)
 {
     Date     = date;
     Quantity = quantity;
     Wear     = wear;
     Payment  = payment;
 }
Esempio n. 2
0
 public double GetTotal()
 {
     return(Quantity * Payment.GetPrice(Wear.GetPrice(), Quantity));
 }