diff --git a/src/main/java/com/amadeus/resources/FlightOrder.java b/src/main/java/com/amadeus/resources/FlightOrder.java index 5b4a5901..ffff30d6 100644 --- a/src/main/java/com/amadeus/resources/FlightOrder.java +++ b/src/main/java/com/amadeus/resources/FlightOrder.java @@ -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