Closed steve-donovan closed 2 years ago
Traveler.Contact parameterised constructor was missing body, and only accepted single instance of Phones instead of a required array.
added body to Traveler.Contact parameterised constructor to set relevant member fields. Also changed to accept an array of Phones object.
The class needs more work. I have raised a detailed issue.
https://github.com/amadeus4dev/amadeus-java/issues/196
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.