java.lang.Object
de.hybris.platform.ndc182shoppingfacades.facades.seatavailability.handlers.impl.SeatAvailabiltySeatMapRSHandler
All Implemented Interfaces:
SeatAvailabilityRSHandler

public class SeatAvailabiltySeatMapRSHandler extends Object implements SeatAvailabilityRSHandler
The Offer response seat availability rs handlers.
  • Constructor Details

    • SeatAvailabiltySeatMapRSHandler

      public SeatAvailabiltySeatMapRSHandler()
  • Method Details

    • handle

      public void handle(OfferResponseData offerResponseData, IATASeatAvailRS seatAvailRS)
      Description copied from interface: SeatAvailabilityRSHandler
      Handle method to build the IATASeatAvailRS.
      Specified by:
      handle in interface SeatAvailabilityRSHandler
      Parameters:
      offerResponseData - the offerResponseData
      seatAvailRS - 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 type
      seatMapData - the seat map data
      offerItemIdServiceIdMap - 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 data
      seatMapType - the seat map type
      availableSeats - the available seats
      offerItemIdServiceIdMap - 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 type
      cabinData - the cabin data
      availableSeats - the available seats
      offerItemIdServiceIdMap - 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 data
      seatRowType - the seat row type
      availableSeats - the available seats
      offerItemIdServiceIdMap - the offer item id service id map
    • getColumnNumber

      protected String getColumnNumber(SeatInfoData seatInfoData)
      Gets column number.
      Parameters:
      seatInfoData - the seat info data
      Returns:
      the column number
    • getRowNumber

      protected String getRowNumber(SeatInfoData seatInfoData)
      Gets row number.
      Parameters:
      seatInfoData - the seat info data
      Returns:
      the row number
    • getNdcAccommodationMapService

      protected NDCAccommodationMapService getNdcAccommodationMapService()
      Gets ndc accommodation map service.
      Returns:
      the ndc accommodation map service
    • setNdcAccommodationMapService

      public void setNdcAccommodationMapService(NDCAccommodationMapService ndcAccommodationMapService)
      Sets ndc accommodation map service.
      Parameters:
      ndcAccommodationMapService - the ndc accommodation map service