We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c36c7e commit 29d1cd5Copy full SHA for 29d1cd5
src/main/java/com/amadeus/resources/FlightOrder.java
@@ -54,6 +54,12 @@ public static class Name {
54
private @Getter @Setter String firstName;
55
private @Getter @Setter String lastName;
56
private @Getter @Setter String middleName;
57
+
58
+ // Constructor with firstName and lastName only
59
+ public Name(String firstName, String lastName) {
60
+ this.firstName = firstName;
61
+ this.lastName = lastName;
62
+ }
63
}
64
65
@AllArgsConstructor
0 commit comments