-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flight Create Orders #54
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job, this is a difficult one!
- Fix the merge conflicts
- Move the example into a dedicated file
- Put a link to the example file into the readme
README.md
Outdated
// Book a flight with Flight Create Orders | ||
// Using a JSonObject | ||
JsonObject result = flightOffers[0].getResponse().getResult(); | ||
FlightOrder createdOrder = amadeus.booking.flightOrders.pricing.post(result); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't work no? The JSON needs more than this information?
* </p> | ||
* | ||
* <pre> | ||
* amadeus.booking.flightOrders.post(body);</pre> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with object not body
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing job Anna :)!
Fixes #32