Class SeatAvailabiltySeatMapRSHandler
java.lang.Object
de.hybris.platform.ndc182facades.facades.seatavailability.handlers.impl.SeatAvailabiltySeatMapRSHandler
- All Implemented Interfaces:
SeatAvailabilityRSHandler
The Offer response seat availability rs handlers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateSeatMapType(SeatMapType seatMapType, SeatMapData seatMapData, Map<String, String> offerItemIdServiceIdMap) Create seat map type.protected voidcreateSeatRowType(RowInfoData rowInfoData, SeatRowType seatRowType, List<String> availableSeats, Map<String, String> offerItemIdServiceIdMap) Create seat row type.protected StringgetColumnNumber(SeatInfoData seatInfoData) Gets column number.protected NDCAccommodationMapServiceGets ndc accommodation map service.protected StringgetRowNumber(SeatInfoData seatInfoData) Gets row number.voidhandle(OfferResponseData offerResponseData, IATASeatAvailRS seatAvailRS) Handle method to build theIATASeatAvailRS.protected voidsetCabinCompartmentType(CabinData cabinData, SeatMapType seatMapType, List<String> availableSeats, Map<String, String> offerItemIdServiceIdMap) Sets cabin compartment type.voidsetNdcAccommodationMapService(NDCAccommodationMapService ndcAccommodationMapService) Sets ndc accommodation map service.protected voidsetSeatRowType(SeatMapType.CabinCompartment cabinCompartmentType, CabinData cabinData, List<String> availableSeats, Map<String, String> offerItemIdServiceIdMap) Sets seat row type.
-
Constructor Details
-
SeatAvailabiltySeatMapRSHandler
public SeatAvailabiltySeatMapRSHandler()
-
-
Method Details
-
handle
Description copied from interface:SeatAvailabilityRSHandlerHandle method to build theIATASeatAvailRS.- Specified by:
handlein interfaceSeatAvailabilityRSHandler- Parameters:
offerResponseData- the offerResponseDataseatAvailRS- the seat avail rs
-
createSeatMapType
protected void createSeatMapType(SeatMapType seatMapType, SeatMapData seatMapData, Map<String, String> offerItemIdServiceIdMap) Create seat map type.- Parameters:
seatMapType- the seat map typeseatMapData- the seat map dataofferItemIdServiceIdMap- the offer item id service id map
-
setCabinCompartmentType
protected void setCabinCompartmentType(CabinData cabinData, SeatMapType seatMapType, List<String> availableSeats, Map<String, String> offerItemIdServiceIdMap) Sets cabin compartment type.- Parameters:
cabinData- the cabin dataseatMapType- the seat map typeavailableSeats- the available seatsofferItemIdServiceIdMap- the offer item id service id map
-
setSeatRowType
protected void setSeatRowType(SeatMapType.CabinCompartment cabinCompartmentType, CabinData cabinData, List<String> availableSeats, Map<String, String> offerItemIdServiceIdMap) Sets seat row type.- Parameters:
cabinCompartmentType- the cabin compartment typecabinData- the cabin dataavailableSeats- the available seatsofferItemIdServiceIdMap- the offer item id service id map
-
createSeatRowType
protected void createSeatRowType(RowInfoData rowInfoData, SeatRowType seatRowType, List<String> availableSeats, Map<String, String> offerItemIdServiceIdMap) Create seat row type.- Parameters:
rowInfoData- the row info dataseatRowType- the seat row typeavailableSeats- the available seatsofferItemIdServiceIdMap- the offer item id service id map
-
getColumnNumber
Gets column number.- Parameters:
seatInfoData- the seat info data- Returns:
- the column number
-
getRowNumber
Gets row number.- Parameters:
seatInfoData- the seat info data- Returns:
- the row number
-
getNdcAccommodationMapService
Gets ndc accommodation map service.- Returns:
- the ndc accommodation map service
-
setNdcAccommodationMapService
Sets ndc accommodation map service.- Parameters:
ndcAccommodationMapService- the ndc accommodation map service
-