@@ -223,14 +223,14 @@ FlightDate[] flightDates = amadeus.shopping.flightDates.get(Params
223223FlightOffer [] flightOffers = amadeus. shopping. flightOffers. get(Params
224224 .with(" origin" , " NYC" )
225225 .and(" destination" , " MAD" )
226- .and(" departureDate" , " 2019-08 -01" ));
226+ .and(" departureDate" , " 2020-04 -01" ));
227227
228228// Flight Offer Search v2 GET
229229FlightOfferSearch [] flightOffersSearches = amadeus. shopping. flightOffersSearch. get(
230230 Params . with(" originLocationCode" , " SYD" )
231231 .and(" destinationLocationCode" , " BKK" )
232- .and(" departureDate" , " 2020-01 -01" )
233- .and(" returnDate" , " 2020-01 -05" )
232+ .and(" departureDate" , " 2020-04 -01" )
233+ .and(" returnDate" , " 2020-04 -05" )
234234 .and(" adults" , 2 )
235235 .and(" max" , 3 ));
236236
@@ -241,7 +241,7 @@ FlightOfferSearch[] flightOffersSearches = amadeus.shopping.flightOffersSearch.p
241241// Flight Choice Prediction
242242// Note that the example calls 2 APIs: Flight Low-fare Search & Flight Choice Prediction
243243FlightOffer [] flightOffers = amadeus. shopping. flightOffers
244- .get(Params . with(" origin" , " MAD" ). and(" destination" , " NYC" ). and(" departureDate" , " 2020-01 -01" ). and(" max" , " 2" ));
244+ .get(Params . with(" origin" , " MAD" ). and(" destination" , " NYC" ). and(" departureDate" , " 2020-04 -01" ). and(" max" , " 2" ));
245245
246246// Using a JSonObject
247247JsonObject result = flightOffers[0 ]. getResponse(). getResult();
0 commit comments