Skip to content

Commit 58fa2d0

Browse files
committed
update docs
1 parent a2fb023 commit 58fa2d0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,10 @@ FlightOfferSearch[] flightOffersSearches = amadeus.shopping.flightOffersSearch.g
238238
// body can be a String version of your JSON or a JsonObject
239239
FlightOfferSearch[] flightOffersSearches = amadeus.shopping.flightOffersSearch.post(body);
240240

241+
// Flight Order Management
242+
// The flightOrderID comes from the Flight Create Orders (in test environment it's temporary)
243+
com.amadeus.resources.FlightOrder order = amadeus.booking.flightOrder("eJzTd9f3NjIJdzUGAAp%2fAiY=").get();
244+
241245
// Flight Choice Prediction
242246
// Note that the example calls 2 APIs: Flight Low-fare Search & Flight Choice Prediction
243247
FlightOffer[] flightOffers = amadeus.shopping.flightOffers

src/main/java/com/amadeus/booking/FlightOrder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public FlightOrder(Amadeus client, String flightOfferId) {
4040
*
4141
* <pre>
4242
* com.amadeus.resources.FlightOrder order = amadeus.booking.flightOrder.(
43-
* "4BA070CE929E135B3268A9F2D0C51E9D4A6CF318BA10485322FA2C7E78C7852E").get();
43+
* "eJzTd9f3NjIJdzUGAAp%2fAiY=").get();
4444
* </pre>
4545
* @param params the parameters to send to the API
4646
* @return an API response object

0 commit comments

Comments
 (0)