public override void processRequest(PurchaseRequest request)
 {
     if (request.getAmount() < 50000)
     {
         Console.WriteLine("Director     " + request.getNumbers() + "    " + request.getAmount() + "     " + request.getPurpose());
     }
     else
     {
         this.successor.processRequest(request);
     }
 }
 public override void processRequest(PurchaseRequest request)
 {
     if (request.getAmount() < 50000)
     {
         Console.WriteLine("Director     " + request.getNumbers() + "    " + request.getAmount() + "     " + request.getPurpose());
     }
     else
     {
         this.successor.processRequest(request);
     }
 }
 public override void processRequest(PurchaseRequest request)
 {
     Console.WriteLine("Congress     " + request.getNumbers() + "    " + request.getAmount() + "     " + request.getPurpose());
 }
 public override void processRequest(PurchaseRequest request)
 {
     Console.WriteLine("Congress     " + request.getNumbers() + "    " + request.getAmount() + "     " + request.getPurpose());
 }