public override double CalculatePrice() { if (Parent != null) { return(Price + Parent.CalculatePrice()); } return(Price); }