Skip to content

Commit

Permalink
Merge pull request #263 from amadeus4dev/middle-name-traveler-model
Browse files Browse the repository at this point in the history
Add middle name in Traveler model
  • Loading branch information
tsolakoua authored Jun 5, 2024
2 parents 1eaa079 + 29d1cd5 commit 2a25b36
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/com/amadeus/resources/FlightOrder.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ public static class Name {

private @Getter @Setter String firstName;
private @Getter @Setter String lastName;
private @Getter @Setter String middleName;

// Constructor with firstName and lastName only
public Name(String firstName, String lastName) {
this.firstName = firstName;
this.lastName = lastName;
}
}

@AllArgsConstructor
Expand Down

0 comments on commit 2a25b36

Please sign in to comment.