예제 #1
0
 public Booking(int bkid, Person onNameOf, int flid, int clid, DateTime dt, int nop, String cl, double tp)
 {
     bookingID = bkid;
     this.onNameOf = onNameOf;
     flightID = flid;
     clientID = clid;
     bookingDate = dt;
     numOfPersons = nop;
     classs = cl;
     totalPrice = tp;
 }
예제 #2
0
 public Booking getBooking(int flightID, int bookingID)
 {
     Person p = new Person("Piet", "Pieters", 1, "*****@*****.**", "84823948753");
     return new Booking(1, p, 1, 1, DateTime.Now, 4, "Economy", 360);
 }
예제 #3
0
 public String bookFlight(int flightID, Person onNameOf, int numberOfPersons, String Class)
 {
     return "1";
 }