Skip to content

Commit 7e0e018

Browse files
authored
Merge pull request #274 from siddydutta/update-seatmap-resource
Update SeatMap Resource
2 parents dc4c6ee + e91ea1a commit 7e0e018

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

src/main/java/com/amadeus/resources/SeatMap.java

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,78 @@ protected Arrival() {}
4848
public class Deck {
4949
private @Getter String deckType;
5050
private @Getter DeckConfiguration deckConfiguration;
51+
private @Getter Facility[] facilities;
52+
private @Getter Seat[] seats;
5153

5254
protected Deck() {}
5355
}
5456

57+
@ToString
58+
public class Facility {
59+
private @Getter String code;
60+
private @Getter String column;
61+
private @Getter String row;
62+
private @Getter String position;
63+
private @Getter Coordinates coordinates;
64+
65+
protected Facility() {}
66+
}
67+
68+
@ToString
69+
public class Coordinates {
70+
private @Getter int coordX;
71+
private @Getter int coordY;
72+
73+
protected Coordinates() {}
74+
}
75+
76+
@ToString
77+
public class Seat {
78+
private @Getter String cabin;
79+
private @Getter String number;
80+
private @Getter String[] characteristicsCodes;
81+
private @Getter SeatmapTravelerPricing[] travelerPricings;
82+
private @Getter Coordinates coordinates;
83+
84+
protected Seat() {}
85+
}
86+
87+
@ToString
88+
public class SeatmapTravelerPricing {
89+
private @Getter String travelerId;
90+
private @Getter String seatAvailabilityStatus;
91+
private @Getter Price price;
92+
93+
protected SeatmapTravelerPricing() {}
94+
}
95+
96+
@ToString
97+
public class Price {
98+
private @Getter String currency;
99+
private @Getter String total;
100+
private @Getter String base;
101+
private @Getter Fee[] fees;
102+
private @Getter Tax[] taxes;
103+
104+
protected Price() {}
105+
}
106+
107+
@ToString
108+
public class Fee {
109+
private @Getter String amount;
110+
private @Getter String type;
111+
112+
protected Fee() {}
113+
}
114+
115+
@ToString
116+
public class Tax {
117+
private @Getter String amount;
118+
private @Getter String code;
119+
120+
protected Tax() {}
121+
}
122+
55123
@ToString
56124
public class AircraftCabinAmenities {
57125
private @Getter AmenityPower power;

0 commit comments

Comments
 (0)