/// <summary> /// Creates a new instance of the /// <see cref="SpringAir.Domain.Trip"/> class. /// </summary> /// <param name="mode"> /// The desired trip mode (one way or return). /// </param> /// <param name="startingFrom"> /// The airport, date and time from where and when the journey is to start. /// </param> /// <param name="returningFrom"> /// The airport, date and time from where and when the return journey is to start. /// </param> public Trip(TripMode mode, TripPoint startingFrom, TripPoint returningFrom) { this.mode = mode; this.startingFrom = startingFrom; this.returningFrom = returningFrom; }