public BoardingPass( CommonInfo commonInfo, int bonusPoints, string gate, SeatAreaType seatArea) : this(commonInfo.PassengerName, bonusPoints, commonInfo.FlightNo, commonInfo.FromWAC, commonInfo.ToWAC, commonInfo.TimeOfDeparture, gate, seatArea) { }
public BoardingPass( string passengerName, int bonusPoints, string flightNo, string fromWAC, string toWAC, DateTime timeOfDeparture, string gate, SeatAreaType seatArea) : base(passengerName, flightNo, fromWAC, toWAC, timeOfDeparture) { Gate = gate; SeatArea = seatArea; BonusPoints = bonusPoints; }