Skip to content

Commit 1419491

Browse files
committed
update class names in docs
1 parent 58fa2d0 commit 1419491

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ FlightOfferSearch[] flightOffersSearches = amadeus.shopping.flightOffersSearch.p
240240

241241
// Flight Order Management
242242
// 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();
243+
FlightOrder order = amadeus.booking.flightOrder("eJzTd9f3NjIJdzUGAAp%2fAiY=").get();
244244

245245
// Flight Choice Prediction
246246
// Note that the example calls 2 APIs: Flight Low-fare Search & Flight Choice Prediction

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* <p>
1111
* A namespaced client for the
12-
* <code>/v1/booking/flight-orders:flightOrderId</code> endpoints.
12+
* <code>/v1/booking/flight-orders/:flightOrderId</code> endpoints.
1313
* </p>
1414
*
1515
* <p>
@@ -35,11 +35,13 @@ public FlightOrder(Amadeus client, String flightOfferId) {
3535

3636
/**
3737
* <p>
38-
* Allows you to manipulate a flight order.
38+
* Allows you to manipulate a flight order. The flightOfferId
39+
* used is an example for educational purposes. In test enviromnent
40+
* it's temporary.
3941
* </p>
4042
*
4143
* <pre>
42-
* com.amadeus.resources.FlightOrder order = amadeus.booking.flightOrder.(
44+
* FlightOrder order = amadeus.booking.flightOrder.(
4345
* "eJzTd9f3NjIJdzUGAAp%2fAiY=").get();
4446
* </pre>
4547
* @param params the parameters to send to the API

0 commit comments

Comments
 (0)