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