Ejemplo n.º 1
0
 public HotelBooking(Traveller newTraveller)
 {
     this.bookingType    = (int)bookingTypeEnum.Hotel;
     this.traveller      = newTraveller;
     this.bookingAmount  = 986.00;
     this.RepriceAbility = new NoRepriceStrategy();
 }
Ejemplo n.º 2
0
 public HotelBooking(Traveller newTraveller)
 {
     this.bookingType = (int)bookingTypeEnum.Hotel;
     this.traveller = newTraveller;
     this.bookingAmount = 986.00;
     this.RepriceAbility = new noReprice();
 }
 public FlightBooking(Traveller newTraveller)
 {
     this.bookingType    = (int)bookingTypeEnum.Flight;
     this.bookingAmount  = 1250.00;
     this.RepriceAbility = new HasRepriceStrategy();
     this.traveller      = newTraveller;
 }
 public FlightBooking(Traveller newTraveller)
 {
     this.bookingType = (int)bookingTypeEnum.Flight;
     this.bookingAmount = 1250.00;
     this.RepriceAbility = new hasReprice();
     this.traveller = newTraveller;
 }