Skip to content

Commit

Permalink
Merge pull request #274 from siddydutta/update-seatmap-resource
Browse files Browse the repository at this point in the history
Update SeatMap Resource
  • Loading branch information
tsolakoua authored Jan 13, 2025
2 parents dc4c6ee + e91ea1a commit 7e0e018
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions src/main/java/com/amadeus/resources/SeatMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,78 @@ protected Arrival() {}
public class Deck {
private @Getter String deckType;
private @Getter DeckConfiguration deckConfiguration;
private @Getter Facility[] facilities;
private @Getter Seat[] seats;

protected Deck() {}
}

@ToString
public class Facility {
private @Getter String code;
private @Getter String column;
private @Getter String row;
private @Getter String position;
private @Getter Coordinates coordinates;

protected Facility() {}
}

@ToString
public class Coordinates {
private @Getter int coordX;
private @Getter int coordY;

protected Coordinates() {}
}

@ToString
public class Seat {
private @Getter String cabin;
private @Getter String number;
private @Getter String[] characteristicsCodes;
private @Getter SeatmapTravelerPricing[] travelerPricings;
private @Getter Coordinates coordinates;

protected Seat() {}
}

@ToString
public class SeatmapTravelerPricing {
private @Getter String travelerId;
private @Getter String seatAvailabilityStatus;
private @Getter Price price;

protected SeatmapTravelerPricing() {}
}

@ToString
public class Price {
private @Getter String currency;
private @Getter String total;
private @Getter String base;
private @Getter Fee[] fees;
private @Getter Tax[] taxes;

protected Price() {}
}

@ToString
public class Fee {
private @Getter String amount;
private @Getter String type;

protected Fee() {}
}

@ToString
public class Tax {
private @Getter String amount;
private @Getter String code;

protected Tax() {}
}

@ToString
public class AircraftCabinAmenities {
private @Getter AmenityPower power;
Expand Down

0 comments on commit 7e0e018

Please sign in to comment.