public override void Clear() { base.Clear(); Agency = null; }
public ExternalOrder(string name, DateTime date, decimal price, Agency agency) : base(name, date, price) { Agency = agency ?? throw new ArgumentNullException(nameof(agency)); // check null }