@@ -187,8 +187,8 @@ FlightDate[] flightDates = amadeus.shopping.flightDates.get(Params
187187FlightOfferSearch [] flightOffersSearches = amadeus. shopping. flightOffersSearch. get(
188188 Params . with(" originLocationCode" , " SYD" )
189189 .and(" destinationLocationCode" , " BKK" )
190- .and(" departureDate" , " 2022-09 -01" )
191- .and(" returnDate" , " 2022-09 -08" )
190+ .and(" departureDate" , " 2023-11 -01" )
191+ .and(" returnDate" , " 2023-11 -08" )
192192 .and(" adults" , 2 )
193193 .and(" max" , 3 ));
194194
@@ -214,8 +214,8 @@ FlightPrice[] flightPricing = amadeus.shopping.flightOffersSearch.pricing.post(
214214FlightOfferSearch [] flightOffers = amadeus. shopping. flightOffersSearch. get(
215215 Params . with(" originLocationCode" , " NYC" )
216216 .and(" destinationLocationCode" , " MAD" )
217- .and(" departureDate" , " 2021 -04-01" )
218- .and(" returnDate" , " 2021 -04-08" )
217+ .and(" departureDate" , " 2024 -04-01" )
218+ .and(" returnDate" , " 2024 -04-08" )
219219 .and(" adults" , 1 ));
220220
221221// Using a JSonObject
@@ -319,7 +319,7 @@ Activity activity = amadeus.shopping.activity("4615").get();
319319// What's the likelihood flights from this airport will leave on time?
320320Prediction AirportOnTime = amadeus. airport. predictions. onTime. get(Params
321321 .with(" airportCode" , " NCE" )
322- .and(" date" , " 2021 -04-01" ));
322+ .and(" date" , " 2024 -04-01" ));
323323
324324// What's the likelihood of a given flight to be delayed?
325325Prediction [] flightDelay = amadeus. travel. predictions. flightDelay. get(Params
@@ -354,8 +354,8 @@ SeatMap[] seatmap = amadeus.shopping.seatMaps.post(body);
354354Prediction tripPurpose = amadeus. travel. predictions. tripPurpose. get(Params
355355 .with(" originLocationCode" , " NYC" )
356356 .and(" destinationLocationCode" , " MAD" )
357- .and(" departureDate" , " 2021 -04-01" )
358- .and(" returnDate" , " 2021 -04-08" ));
357+ .and(" departureDate" , " 2024 -04-01" )
358+ .and(" returnDate" , " 2024 -04-08" ));
359359
360360// Travel Recommendations
361361Location destinations = amadeus. referenceData. recommendedLocations. get(Params
@@ -366,13 +366,13 @@ Location destinations = amadeus.referenceData.recommendedLocations.get(Params
366366DatedFlight [] flightStatus = amadeus. schedule. flights. get(Params
367367 .with(" carrierCode" , " AZ" )
368368 .and(" flightNumber" , " 319" )
369- .and(" scheduledDepartureDate" , " 2021 -03-13" ));
369+ .and(" scheduledDepartureDate" , " 2024 -03-13" ));
370370
371371// Flight Price Analysis
372372ItineraryPriceMetric [] metrics = amadeus. analytics. itineraryPriceMetrics. get(Params
373373 .with(" originIataCode" , " MAD" )
374374 .and(" destinationIataCode" , " CDG" )
375- .and(" departureDate" , " 2021 -03-21" ));
375+ .and(" departureDate" , " 2024 -03-21" ));
376376
377377// Trip Parser v3 POST
378378// body can be a String version of your JSON or a JsonObject or a compatible File object
@@ -428,7 +428,7 @@ Hotel[] result = amadeus.referenceData.locations.hotel.get(Params
428428HotelOfferSearch [] offers = amadeus. shopping. hotelOffersSearch. get(Params
429429 .with(" hotelIds" , " MCLONGHM" )
430430 .and(" adults" , 1 )
431- .and(" checkInDate" , " 2023-05 -22" )
431+ .and(" checkInDate" , " 2023-11 -22" )
432432 .and(" roomQuantity" , 1 )
433433 .and(" paymentPolicy" , " NONE" )
434434 .and(" bestRateOnly" , true ));
@@ -447,6 +447,15 @@ HotelSentiment[] hotelSentiments = amadeus.ereputation.hotelSentiments.get(Param
447447Destination [] destinations = amadeus. airline. destinations. get(Params
448448 .with(" airlineCode" , " BA" )
449449 .and(" max" , 2 ));
450+
451+ // Transfer Search
452+ TransferOffersPost [] transfers = amadeus. shopping. transferOffers. post(body);
453+
454+ // Transfer Booking
455+ TransferOrder transfers = amadeus. ordering. transferOrders. post(body, params);
456+
457+ // Transfer Management
458+ TransferCancellation transfers = amadeus. ordering. transferOrder(" 123456" ). transfers. cancellation. post(params);
450459```
451460
452461## Development & Contributing
0 commit comments