-
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 offers price update #38
Merged
Merged
Changes from 3 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
8174e37
introduce flight pricing api
spirosbatzio eaac4cb
populate README for pricing request
spirosbatzio c6bbf7d
Adding other methods for Price API. Fixing the POST version with quer…
anthonyroux 99ff6c7
update dates on readme
tsolakoua 44e9eee
update low-fare example date
tsolakoua d295958
Merge pull request #39 from amadeus4dev/update-docs
tsolakoua b5a74c3
Fixing wrong links on README
anthonyroux a075523
Support for Flight Delay Prediction (#48)
tsolakoua 3d3ae83
Add support for Airport on Time (#50)
tsolakoua 6e80a1f
initial commit
tsolakoua f59b1fa
add FlightOrder method and fix model
tsolakoua a2fb023
add tests
tsolakoua 58fa2d0
update docs
tsolakoua b4ec057
remove most search destinations support
tsolakoua f09aab4
Merge pull request #52 from amadeus4dev/remove-most-search-destinations
tsolakoua 3620493
support docs and tests
tsolakoua 9fa4c25
fix import order
tsolakoua 7fd04d2
fix typo
tsolakoua 1419491
update class names in docs
tsolakoua ee7d849
Merge pull request #51 from amadeus4dev/flight-order
tsolakoua 2276e56
Merge branch 'master' into seatmaps
tsolakoua cdc8fc9
Merge pull request #53 from amadeus4dev/seatmaps
tsolakoua 8ed52c6
Flight Create Orders (#54)
tsolakoua 9e6cf0e
Add support for ai-generated photos (#55)
tsolakoua e241504
Fix typo
anthonyroux cad0689
DRAFT: Adding support for Trip Purpose Prediction API (#36)
anthonyroux 24ed7f8
Merge branch 'master' into flight_offers_price_update
tsolakoua 215f345
fix typo and add example
tsolakoua File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.amadeus.resources; | ||
|
||
import lombok.Getter; | ||
import lombok.ToString; | ||
|
||
/** | ||
* An Airline object as returned by the Airline Code LookUp API. | ||
* @see amadeus.shopping.flightOffersSearch.pricing#post() | ||
*/ | ||
@ToString | ||
public class FlightPayment extends Resource { | ||
protected FlightPayment() {} | ||
|
||
private @Getter String brand; | ||
private @Getter Integer binNumber; | ||
private @Getter String[] flightOfferIds; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package com.amadeus.resources; | ||
|
||
import lombok.Getter; | ||
import lombok.ToString; | ||
|
||
@ToString | ||
public class FlightPrice extends Resource { | ||
protected FlightPrice() {} | ||
|
||
private @Getter String type; | ||
private @Getter FlightOfferSearch[] flightOffers; | ||
private @Getter BookingRequirements bookingRequirements; | ||
|
||
@ToString | ||
public class BookingRequirements { | ||
protected BookingRequirements() {} | ||
|
||
private @Getter Boolean invoiceAddressRequired; | ||
private @Getter Boolean mailingAddressRequired; | ||
private @Getter Boolean emailAddressRequired; | ||
private @Getter Boolean phoneCountryCodeRequired; | ||
private @Getter Boolean mobilePhoneNumberRequired; | ||
private @Getter Boolean phoneNumberRequired; | ||
private @Getter Boolean postalCodeRequired; | ||
private @Getter PassengerConditions[] travelerRequirements; | ||
} | ||
|
||
@ToString | ||
public class PassengerConditions { | ||
protected PassengerConditions(){} | ||
|
||
private @Getter String travelerId; | ||
private @Getter Boolean genderRequired; | ||
private @Getter Boolean documentRequired; | ||
private @Getter Boolean documentIssuanceCityRequired; | ||
private @Getter Boolean dateOfBirthRequired; | ||
private @Getter Boolean redressRequiredIfAny; | ||
private @Getter Boolean airFranceDiscountRequired; | ||
private @Getter Boolean spanishResidentDiscountRequired; | ||
private @Getter Boolean residenceRequired; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
wrong comment