@@ -187,8 +187,8 @@ FlightDate[] flightDates = amadeus.shopping.flightDates.get(Params
187
187
FlightOfferSearch [] flightOffersSearches = amadeus. shopping. flightOffersSearch. get(
188
188
Params . with(" originLocationCode" , " SYD" )
189
189
.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" )
192
192
.and(" adults" , 2 )
193
193
.and(" max" , 3 ));
194
194
@@ -214,8 +214,8 @@ FlightPrice[] flightPricing = amadeus.shopping.flightOffersSearch.pricing.post(
214
214
FlightOfferSearch [] flightOffers = amadeus. shopping. flightOffersSearch. get(
215
215
Params . with(" originLocationCode" , " NYC" )
216
216
.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" )
219
219
.and(" adults" , 1 ));
220
220
221
221
// Using a JSonObject
@@ -319,7 +319,7 @@ Activity activity = amadeus.shopping.activity("4615").get();
319
319
// What's the likelihood flights from this airport will leave on time?
320
320
Prediction AirportOnTime = amadeus. airport. predictions. onTime. get(Params
321
321
.with(" airportCode" , " NCE" )
322
- .and(" date" , " 2021 -04-01" ));
322
+ .and(" date" , " 2024 -04-01" ));
323
323
324
324
// What's the likelihood of a given flight to be delayed?
325
325
Prediction [] flightDelay = amadeus. travel. predictions. flightDelay. get(Params
@@ -354,8 +354,8 @@ SeatMap[] seatmap = amadeus.shopping.seatMaps.post(body);
354
354
Prediction tripPurpose = amadeus. travel. predictions. tripPurpose. get(Params
355
355
.with(" originLocationCode" , " NYC" )
356
356
.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" ));
359
359
360
360
// Travel Recommendations
361
361
Location destinations = amadeus. referenceData. recommendedLocations. get(Params
@@ -366,13 +366,13 @@ Location destinations = amadeus.referenceData.recommendedLocations.get(Params
366
366
DatedFlight [] flightStatus = amadeus. schedule. flights. get(Params
367
367
.with(" carrierCode" , " AZ" )
368
368
.and(" flightNumber" , " 319" )
369
- .and(" scheduledDepartureDate" , " 2021 -03-13" ));
369
+ .and(" scheduledDepartureDate" , " 2024 -03-13" ));
370
370
371
371
// Flight Price Analysis
372
372
ItineraryPriceMetric [] metrics = amadeus. analytics. itineraryPriceMetrics. get(Params
373
373
.with(" originIataCode" , " MAD" )
374
374
.and(" destinationIataCode" , " CDG" )
375
- .and(" departureDate" , " 2021 -03-21" ));
375
+ .and(" departureDate" , " 2024 -03-21" ));
376
376
377
377
// Trip Parser v3 POST
378
378
// 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
428
428
HotelOfferSearch [] offers = amadeus. shopping. hotelOffersSearch. get(Params
429
429
.with(" hotelIds" , " MCLONGHM" )
430
430
.and(" adults" , 1 )
431
- .and(" checkInDate" , " 2023-05 -22" )
431
+ .and(" checkInDate" , " 2023-11 -22" )
432
432
.and(" roomQuantity" , 1 )
433
433
.and(" paymentPolicy" , " NONE" )
434
434
.and(" bestRateOnly" , true ));
@@ -447,6 +447,15 @@ HotelSentiment[] hotelSentiments = amadeus.ereputation.hotelSentiments.get(Param
447
447
Destination [] destinations = amadeus. airline. destinations. get(Params
448
448
.with(" airlineCode" , " BA" )
449
449
.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);
450
459
```
451
460
452
461
## Development & Contributing
0 commit comments