amadeus4dev / amadeus-java

Java library for the Amadeus Self-Service travel APIs
https://developers.amadeus.com/
MIT License
87 stars 69 forks source link

add body to Traveler.Contact parameterised constructor #195

Closed steve-donovan closed 2 years ago

steve-donovan commented 2 years ago

Traveler.Contact parameterised constructor was missing body, and only accepted single instance of Phones instead of a required array.

Changes for this pull request

added body to Traveler.Contact parameterised constructor to set relevant member fields. Also changed to accept an array of Phones object.

steve-donovan commented 2 years ago

The class needs more work. I have raised a detailed issue.

https://github.com/amadeus4dev/amadeus-java/issues/196