Exemple #1
0
        private Boolean accomodationSet = false; //accomodation flag for calculating the cost

        public Booking()
        {
            accomodation = new Accomodation();
            pitch        = new Pitch();
            customer     = new Customer();
        }
Exemple #2
0
 public Accomodation setAccomodaton(Accomodation a)
 {
     accomodation    = a;
     accomodationSet = true;
     return(accomodation);
 }