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