Class DefaultTravellerFacade

java.lang.Object
de.hybris.platform.travelfacades.facades.impl.DefaultTravellerFacade
All Implemented Interfaces:
TravellerFacade
Direct Known Subclasses:
DefaultShoppingTravellerFacade

public class DefaultTravellerFacade extends Object implements TravellerFacade
Facade that provides Traveller specific services. The facade uses the TravellerService to get TravellerModel and uses converter/populators to transfer TravellerData type.
  • Constructor Details

    • DefaultTravellerFacade

      public DefaultTravellerFacade()
  • Method Details

    • createTraveller

      public TravellerData createTraveller(String travellerType, String passengerType, String travellerCode, int passengerNumber, String travellerUidPrefix)
      Description copied from interface: TravellerFacade
      Creates a new instance of TravellerData with relevant details populated
      Specified by:
      createTraveller in interface TravellerFacade
      Parameters:
      travellerType - the traveller type
      passengerType - the passenger type
      travellerCode - the traveller code
      passengerNumber - the passenger number
      travellerUidPrefix - the traveller uid prefix
      Returns:
      newly created instance of Traveller
    • createTraveller

      public TravellerData createTraveller(String travellerType, String passengerType, String travellerCode, int passengerNumber, String travellerUidPrefix, String cartOrOrderCode)
      Description copied from interface: TravellerFacade
      Creates a new instance of TravellerData with relevant details populated
      Specified by:
      createTraveller in interface TravellerFacade
      Parameters:
      travellerType - the traveller type
      passengerType - the passenger type
      travellerCode - the traveller code
      passengerNumber - the passenger number
      travellerUidPrefix - the traveller uid prefix
      cartOrOrderCode - the cartOrOrderCode
      Returns:
      newly created instance of Traveller
    • getReasonForTravelTypes

      public List<ReasonForTravelData> getReasonForTravelTypes()
      Description copied from interface: TravellerFacade
      Facade which returns a list of ReasonForTravel types
      Specified by:
      getReasonForTravelTypes in interface TravellerFacade
      Returns:
      List reason for travel types
    • getTravellersForCartEntries

      public List<TravellerData> getTravellersForCartEntries()
      Description copied from interface: TravellerFacade
      Method returns a unique list of travellers from the Cart Entries
      Specified by:
      getTravellersForCartEntries in interface TravellerFacade
      Returns:
      List travellers for cart entries
    • getSavedTravellersForCurrentUser

      public List<TravellerData> getSavedTravellersForCurrentUser()
      Description copied from interface: TravellerFacade
      Method returns a list of saved travellers that are assigned to the current logged in User
      Specified by:
      getSavedTravellersForCurrentUser in interface TravellerFacade
      Returns:
      List saved travellers for current user
    • updateTravellerDetails

      @Deprecated public void updateTravellerDetails(List<TravellerData> travellers)
      Deprecated.
      Deprecated since version 6.0. Use updateAndGetExistingTravellerDetails(List) instead.
      Description copied from interface: TravellerFacade
      Update traveller details.
      Specified by:
      updateTravellerDetails in interface TravellerFacade
      Parameters:
      travellers - the travellers
    • updateAndGetExistingTravellerDetails

      public List<TravellerData> updateAndGetExistingTravellerDetails(List<TravellerData> travellers)
      Description copied from interface: TravellerFacade
      Update and return traveller details.
      Specified by:
      updateAndGetExistingTravellerDetails in interface TravellerFacade
      Parameters:
      travellers - the travellers
      Returns:
      the list of traveller data
    • updateCustomerSavedTravellers

      public void updateCustomerSavedTravellers(List<TravellerData> travellers)
      Description copied from interface: TravellerFacade
      Update customer saved travellers.
      Specified by:
      updateCustomerSavedTravellers in interface TravellerFacade
      Parameters:
      travellers - the travellers
    • updateCurrentUserCustomerPassengerInstance

      @Deprecated protected void updateCurrentUserCustomerPassengerInstance(TravellerData travellerData)
      Deprecated.
      Method checks to see if the current User has a Customer Passenger Instance. If one exists then it will be updated with the information from passengerInformationData otherwise a new Customer Passenger Instance will be created and set against the current Users.
      Parameters:
      travellerData - the traveller data
    • updateCurrentUserCustomerPassengerInstance

      protected void updateCurrentUserCustomerPassengerInstance(TravellerData travellerData, de.hybris.platform.servicelayer.dto.converter.Converter<PassengerInformationData,PassengerInformationModel> passengerInformationReverseConverter)
      Method checks to see if the current User has a Customer Passenger Instance. If one exists then it will be updated with the information from passengerInformationData otherwise a new Customer Passenger Instance will be created and set against the current Users.
      Parameters:
      travellerData - the traveller data
      passengerInformationReverseConverter - the passenger information reverse converter
    • saveTravellerAgainstCurrentUser

      @Deprecated protected void saveTravellerAgainstCurrentUser(TravellerData travellerData)
      Deprecated.
      Deprecated since version 2.0. Use saveAndGetTravellerAgainstCurrentUser(TravellerData) instead.
      Method takes the travellerData and checks if these are details for an existing traveller. If so then an update will occur otherwise a new instance of traveller model will be created and populated with values from passengerInformationData users account. Travellers are then saved as savedTravellers against the current users account.
      Parameters:
      travellerData - the traveller data
    • saveAndGetTravellerAgainstCurrentUser

      protected TravellerData saveAndGetTravellerAgainstCurrentUser(TravellerData travellerData)
      Method takes the travellerData and checks if these are details for an existing traveller. If so then an update will occur otherwise a new instance of traveller model will be created and populated with values from passengerInformationData users account. Travellers are then saved as savedTravellers against the current users account.
      Parameters:
      travellerData - the traveller data
      Returns:
      travellerData traveller data
    • saveNewTravellerDetail

      @Deprecated protected void saveNewTravellerDetail(TravellerData travellerData)
      Deprecated.
      Deprecated since version 2.0. Use saveAndGetNewTravellerDetail(TravellerData) instead.
      Method responsible for creating a new traveller instance and saving it against the current users account
      Parameters:
      travellerData - the traveller data
    • saveAndGetNewTravellerDetail

      protected TravellerData saveAndGetNewTravellerDetail(TravellerData travellerData)
      Method responsible for creating a new traveller instance and saving it against the current users account and return the same
      Parameters:
      travellerData - the traveller data
      Returns:
      travellerData traveller data
    • createTravellerModel

      protected TravellerModel createTravellerModel(TravellerData travellerData)
      Method responsible for creating and returning a new instance of TravellerModel
      Parameters:
      travellerData - the traveller data
      Returns:
      traveller model
    • updateExistingTravellerDetails

      @Deprecated protected void updateExistingTravellerDetails(TravellerData travellerData, boolean isSavedTraveller)
      Method responsible for updating an existing travellers details with the data provided by travellerData
      Parameters:
      travellerData - the traveller data
      isSavedTraveller - the is saved traveller
    • updateAndGetSavedTravellerDetails

      protected TravellerData updateAndGetSavedTravellerDetails(TravellerData travellerData, de.hybris.platform.servicelayer.dto.converter.Converter<PassengerInformationData,PassengerInformationModel> passengerInformationReverseConverter)
      Method responsible for updating an existing saved traveller details with the data provided by travellerData and return the same
      Parameters:
      travellerData - the traveller data
      passengerInformationReverseConverter - the passenger information reverse converter
      Returns:
      travellerData traveller data
    • updateAndGetExistingTravellerDetails

      protected TravellerData updateAndGetExistingTravellerDetails(TravellerData travellerData, de.hybris.platform.servicelayer.dto.converter.Converter<PassengerInformationData,PassengerInformationModel> passengerInformationReverseConverter)
      Method responsible for updating an existing traveller details with the data provided by travellerData and return the same
      Parameters:
      travellerData - the traveller data
      passengerInformationReverseConverter - the passenger information reverse converter
      Returns:
      travellerData traveller data
    • updateAndGetTravellerDetails

      protected TravellerData updateAndGetTravellerDetails(TravellerData travellerData, TravellerModel travellerModel, de.hybris.platform.servicelayer.dto.converter.Converter<PassengerInformationData,PassengerInformationModel> passengerInformationReverseConverter)
      Method responsible for updating an existing travellers details with the data provided by travellerData and return the same
      Parameters:
      travellerData - the traveller data
      travellerModel - the traveller model
      passengerInformationReverseConverter - the passenger information reverse converter
      Returns:
      travellerData traveller data
    • getSpecialRequestDetail

      protected SpecialRequestDetailModel getSpecialRequestDetail(SpecialRequestDetailData specialRequestDetail)
      Method returns a list of SpecialServiceRequestModel for the given requests list of SpecialServiceRequestData in specialRequestDetail
      Parameters:
      specialRequestDetail - the special request detail
      Returns:
      special request detail
    • getCurrentUserDetails

      public TravellerData getCurrentUserDetails()
      Description copied from interface: TravellerFacade
      Method returns the CustomerTravellerInstance details from the current User
      Specified by:
      getCurrentUserDetails in interface TravellerFacade
      Returns:
      TravellerData current user details
    • isAnonymousUser

      public boolean isAnonymousUser()
      Description copied from interface: TravellerFacade
      Method checks to see if the current user is a logged in User or not
      Specified by:
      isAnonymousUser in interface TravellerFacade
      Returns:
      boolean boolean
    • getTraveller

      public TravellerData getTraveller(String travellerId)
      Description copied from interface: TravellerFacade
      Method returns the TravellerInstance details for the traveller id
      Specified by:
      getTraveller in interface TravellerFacade
      Parameters:
      travellerId - the traveller id
      Returns:
      TravellerData traveller
    • getTraveller

      public TravellerData getTraveller(String travellerId, String bookingInfo)
      Description copied from interface: TravellerFacade
      Method returns the TravellerInstance details for the traveller id and bookingInfo
      Specified by:
      getTraveller in interface TravellerFacade
      Parameters:
      travellerId - the traveller id
      bookingInfo - the bookingInfo
      Returns:
      TravellerData traveller
    • getTravellerFromCurrentCart

      public TravellerData getTravellerFromCurrentCart(String travellerCode)
      Description copied from interface: TravellerFacade
      Method returns the TravellerInstance identified by the travellerCode from the current Cart Session
      Specified by:
      getTravellerFromCurrentCart in interface TravellerFacade
      Parameters:
      travellerCode - the traveller code
      Returns:
      TravellerData traveller from current cart
    • removeSavedTraveller

      public TravellerData removeSavedTraveller(String uid)
      Description copied from interface: TravellerFacade
      Method removes the traveller with the uid from the current users list of saved travellers. If successful, the method will return the TravellerData for the traveller that has been removed otherwise it will return null if remove was unsuccessful.
      Specified by:
      removeSavedTraveller in interface TravellerFacade
      Parameters:
      uid - the uid
      Returns:
      TravellerData traveller data
    • retrieveTravellers

      public List<TravellerData> retrieveTravellers(ReservationData reservationData, int originDestinationRefNumber)
      Description copied from interface: TravellerFacade
      This method will return the list of travellers for the given originDestinationRefNumber in the given ReservationData. Empty list if there's no leg found with the given originDestinationRefNumber in the ReservationData
      Specified by:
      retrieveTravellers in interface TravellerFacade
      Parameters:
      reservationData - the ReservationData representing a booking
      originDestinationRefNumber - the identifier of a leg
      Returns:
      the List of travellers
    • updateCurrentUserSpecialRequestDetails

      public void updateCurrentUserSpecialRequestDetails(List<String> specialServiceRequestCodes)
      Description copied from interface: TravellerFacade
      Method retrieves a list of SpecialServiceRequestModels from the database based on the list of specialServiceRequestCode and then sets the list of SpecialServiceRequestModels against the Current Users account
      Specified by:
      updateCurrentUserSpecialRequestDetails in interface TravellerFacade
      Parameters:
      specialServiceRequestCodes - the special service request code
    • getTravellerPreferences

      public List<TravellerPreferenceData> getTravellerPreferences()
      Description copied from interface: TravellerFacade
      Method get a list of traveller preference for the currently logged in user
      Specified by:
      getTravellerPreferences in interface TravellerFacade
      Returns:
      List traveller preferences
    • getSaveTravellerPreferences

      public void getSaveTravellerPreferences(List<TravellerPreferenceData> selectedTravellerPreferences)
      Description copied from interface: TravellerFacade
      Method take a list of traveller preferences and saves them against the current users account
      Specified by:
      getSaveTravellerPreferences in interface TravellerFacade
      Parameters:
      selectedTravellerPreferences - the selected traveller preferences
    • savePreferencesToCustomer

      protected void savePreferencesToCustomer(List<TravellerPreferenceModel> travellerPreferenceModels)
      Method which saves selected preferences to traveller instance of current customer
      Parameters:
      travellerPreferenceModels - the traveller preference models
    • updatePassengerInformation

      public void updatePassengerInformation(TravellerData travellerData)
      Description copied from interface: TravellerFacade
      Method saves the Passenger Information against the current user
      Specified by:
      updatePassengerInformation in interface TravellerFacade
      Parameters:
      travellerData - the traveller data
    • getPassengerInformation

      public PassengerInformationData getPassengerInformation()
      Description copied from interface: TravellerFacade
      Method gets the Passenger Information from the current user
      Specified by:
      getPassengerInformation in interface TravellerFacade
      Returns:
      current user's passenger information
    • getCustomerTravellerInstanceData

      public TravellerData getCustomerTravellerInstanceData()
      Description copied from interface: TravellerFacade
      This method returns the traveller data for the currentLogged in customer.
      Specified by:
      getCustomerTravellerInstanceData in interface TravellerFacade
      Returns:
      TravellerData instance of current customer
    • populateTravellersNamesMap

      public Map<String,Map<String,String>> populateTravellersNamesMap(List<TravellerData> travellerDatas)
      Description copied from interface: TravellerFacade
      This method populates a Map of Traveller Code with their display names for a given Passenger Type code
      Specified by:
      populateTravellersNamesMap in interface TravellerFacade
      Parameters:
      travellerDatas - the traveller datas
      Returns:
      Map > object
    • findSavedTravellersUsingFirstName

      public List<TravellerData> findSavedTravellersUsingFirstName(String text, String passengerType)
      Description copied from interface: TravellerFacade
      Retrieves a list of travelers using first name text against the current customer
      Specified by:
      findSavedTravellersUsingFirstName in interface TravellerFacade
      Parameters:
      text - the text
      passengerType - the passenger type
      Returns:
      list
    • findSavedTravellersUsingSurname

      public List<TravellerData> findSavedTravellersUsingSurname(String text, String passengerType)
      Description copied from interface: TravellerFacade
      Retrieves a list of travelers using last name text against the current customer
      Specified by:
      findSavedTravellersUsingSurname in interface TravellerFacade
      Parameters:
      text - the text
      passengerType - the passenger type
      Returns:
      list
    • getSavedTravellersForUser

      public List<TravellerData> getSavedTravellersForUser(String userId)
      Description copied from interface: TravellerFacade
      Method returns a list of saved travellers that are saved against the given user
      Specified by:
      getSavedTravellersForUser in interface TravellerFacade
      Parameters:
      userId - - the user Id for which saved traveller need to be retrieved
      Returns:
      List saved travellers for the given user
    • createInitialTraveller

      protected TravellerModel createInitialTraveller()
      Method responsible for creating an initial traveller instance with default settings
      Returns:
      traveller model
    • getSavedSearchesForUser

      public SavedSearchDataList getSavedSearchesForUser(String userId)
      Returns the list of saved searches that are saved in the user profile.
      Specified by:
      getSavedSearchesForUser in interface TravellerFacade
      Parameters:
      userId - the userId
      Returns:
      the list of saved searches
    • saveAdvancePassengerInformation

      public void saveAdvancePassengerInformation(String orderId, String travellerId, PassengerInformationData passengerInformationData)
      Method is used to save advance passenger details for traveller.
      Specified by:
      saveAdvancePassengerInformation in interface TravellerFacade
      Parameters:
      orderId - the orderId
      travellerId - the travellerId
      passengerInformationData - the passengerInformationData
    • validateBeforeCheckIn

      public void validateBeforeCheckIn(String orderId, String travellerId, String boundIdentifier) throws OrderNotFoundException, de.hybris.platform.servicelayer.exceptions.UnknownIdentifierException, InvalidOrderStatusException, InvalidUserException, InvalidTravellerException, BoundIdNotFoundException, TravellerAlreadyCheckedInException, MissingPassengerInformationException, FieldValueNotFoundException
      Description copied from interface: TravellerFacade
      Validate before check in.
      Specified by:
      validateBeforeCheckIn in interface TravellerFacade
      Parameters:
      orderId - the order id
      travellerId - the traveller id
      boundIdentifier - the bound identifier
      Throws:
      OrderNotFoundException - the order not found exception
      de.hybris.platform.servicelayer.exceptions.UnknownIdentifierException - the when traveller not found
      InvalidOrderStatusException - the when order status is not active
      InvalidUserException - the when current user is not associated with order
      InvalidTravellerException - the when given traveller is not associated with order
      BoundIdNotFoundException - the bound id not found exception
      TravellerAlreadyCheckedInException - the traveller already checked in exception
      MissingPassengerInformationException - the missing passenger information exception
      FieldValueNotFoundException
    • validateOrderUserAndTraveller

      protected void validateOrderUserAndTraveller(OrderModel orderModel, TravellerModel travellerModel) throws InvalidOrderStatusException, InvalidUserException, InvalidTravellerException
      Method is used to validate order by its active status, current user and travellers association with order.
      Parameters:
      orderModel - the order model
      travellerModel - the traveller model
      Throws:
      InvalidOrderStatusException
      InvalidUserException
      InvalidTravellerException
    • getAdvancePassengerInformation

      public PassengerInformationData getAdvancePassengerInformation(String orderId, String travellerId)
      Description copied from interface: TravellerFacade
      Gets advance passenger information.
      Specified by:
      getAdvancePassengerInformation in interface TravellerFacade
      Parameters:
      orderId - the order id
      travellerId - the traveller id
      Returns:
      the advance passenger information
    • getSessionCartTravellerForUid

      public TravellerData getSessionCartTravellerForUid(String uid)
      Description copied from interface: TravellerFacade
      Method gets traveller from session cart for given uid.
      Specified by:
      getSessionCartTravellerForUid in interface TravellerFacade
      Parameters:
      uid - the uid of the traveller
      Returns:
      the traveller data
    • getOrder

      protected OrderModel getOrder(String orderCode) throws TravelModelNotFoundException
      Gets order.
      Parameters:
      orderCode - the order id
      Returns:
      the order
      Throws:
      TravelModelNotFoundException - the travel model not found exception
    • getTravellersFromCart

      public List<TravellerData> getTravellersFromCart()
      Description copied from interface: TravellerFacade
      Method gets travellers from session cart.
      Specified by:
      getTravellersFromCart in interface TravellerFacade
      Returns:
      the traveller data
    • getTravellerFromCart

      public TravellerData getTravellerFromCart(String travellerUid)
      Description copied from interface: TravellerFacade
      Method gets traveller from session cart for the given uid.
      Specified by:
      getTravellerFromCart in interface TravellerFacade
      Parameters:
      travellerUid - the uid of the traveller
      Returns:
      the traveller data
    • getTravellersFromOrder

      public List<TravellerData> getTravellersFromOrder(String orderId)
      Description copied from interface: TravellerFacade
      Method gets travellers from order.
      Specified by:
      getTravellersFromOrder in interface TravellerFacade
      Parameters:
      orderId - the order id
      Returns:
      the traveller data
    • getTravellerFromOrder

      public TravellerData getTravellerFromOrder(String orderId, String travellerUid)
      Description copied from interface: TravellerFacade
      Method gets traveller from order for the given uid.
      Specified by:
      getTravellerFromOrder in interface TravellerFacade
      Parameters:
      orderId - the order id
      travellerUid - the uid of the traveller
      Returns:
      the traveller data
    • getTravellerById

      protected TravellerModel getTravellerById(String travellerId) throws TravelModelNotFoundException
      Gets traveller by id.
      Parameters:
      travellerId - the traveller id
      Returns:
      the traveller
      Throws:
      TravelModelNotFoundException - the travel model not found exception
    • getTravellerDataConverter

      protected de.hybris.platform.servicelayer.dto.converter.Converter<TravellerModel,TravellerData> getTravellerDataConverter()
      Gets traveller data converter.
      Returns:
      the travellerDataConverter
    • setTravellerDataConverter

      public void setTravellerDataConverter(de.hybris.platform.servicelayer.dto.converter.Converter<TravellerModel,TravellerData> travellerDataConverter)
      Sets traveller data converter.
      Parameters:
      travellerDataConverter - the travellerDataConverter to set
    • getTravellerService

      protected TravellerService getTravellerService()
      Gets traveller service.
      Returns:
      the travellerService
    • setTravellerService

      public void setTravellerService(TravellerService travellerService)
      Sets traveller service.
      Parameters:
      travellerService - the travellerService to set
    • getEnumerationService

      protected de.hybris.platform.enumeration.EnumerationService getEnumerationService()
      Gets enumeration service.
      Returns:
      the enumeration service
    • setEnumerationService

      public void setEnumerationService(de.hybris.platform.enumeration.EnumerationService enumerationService)
      Sets enumeration service.
      Parameters:
      enumerationService - the enumeration service
    • getUserService

      protected de.hybris.platform.servicelayer.user.UserService getUserService()
      Gets user service.
      Returns:
      the user service
    • setUserService

      public void setUserService(de.hybris.platform.servicelayer.user.UserService userService)
      Sets user service.
      Parameters:
      userService - the user service
    • getModelService

      protected de.hybris.platform.servicelayer.model.ModelService getModelService()
      Gets model service.
      Returns:
      the model service
    • setModelService

      public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService)
      Sets model service.
      Parameters:
      modelService - the model service
    • getPassengerTypeService

      protected PassengerTypeService getPassengerTypeService()
      Gets passenger type service.
      Returns:
      the passenger type service
    • setPassengerTypeService

      public void setPassengerTypeService(PassengerTypeService passengerTypeService)
      Sets passenger type service.
      Parameters:
      passengerTypeService - the passenger type service
    • getSpecialServiceRequestService

      protected SpecialServiceRequestService getSpecialServiceRequestService()
      Gets special service request service.
      Returns:
      the special service request service
    • setSpecialServiceRequestService

      public void setSpecialServiceRequestService(SpecialServiceRequestService specialServiceRequestService)
      Sets special service request service.
      Parameters:
      specialServiceRequestService - the special service request service
    • getPassengerInformationReverseConverter

      protected de.hybris.platform.servicelayer.dto.converter.Converter<PassengerInformationData,PassengerInformationModel> getPassengerInformationReverseConverter()
      Gets passenger information reverse converter.
      Returns:
      the passenger information reverse converter
    • setPassengerInformationReverseConverter

      public void setPassengerInformationReverseConverter(de.hybris.platform.servicelayer.dto.converter.Converter<PassengerInformationData,PassengerInformationModel> passengerInformationReverseConverter)
      Sets passenger information reverse converter.
      Parameters:
      passengerInformationReverseConverter - the passenger information reverse converter
    • getPassengerDetailsReverseConverter

      protected de.hybris.platform.servicelayer.dto.converter.Converter<PassengerInformationData,PassengerInformationModel> getPassengerDetailsReverseConverter()
      Gets passenger details reverse converter.
      Returns:
      the passengerDetailsReverseConverter
    • setPassengerDetailsReverseConverter

      public void setPassengerDetailsReverseConverter(de.hybris.platform.servicelayer.dto.converter.Converter<PassengerInformationData,PassengerInformationModel> passengerDetailsReverseConverter)
      Sets passenger details reverse converter.
      Parameters:
      passengerDetailsReverseConverter - the passengerDetailsReverseConverter to set
    • getTravellerPreferenceConverter

      public de.hybris.platform.servicelayer.dto.converter.Converter<TravellerPreferenceModel,TravellerPreferenceData> getTravellerPreferenceConverter()
      Gets traveller preference converter.
      Returns:
      the traveller preference converter
    • setTravellerPreferenceConverter

      public void setTravellerPreferenceConverter(de.hybris.platform.servicelayer.dto.converter.Converter<TravellerPreferenceModel,TravellerPreferenceData> travellerPreferenceConverter)
      Sets traveller preference converter.
      Parameters:
      travellerPreferenceConverter - the traveller preference converter
    • getTravellerPreferenceReverseConverter

      protected de.hybris.platform.servicelayer.dto.converter.Converter<TravellerPreferenceData,TravellerPreferenceModel> getTravellerPreferenceReverseConverter()
      Gets traveller preference reverse converter.
      Returns:
      the traveller preference reverse converter
    • setTravellerPreferenceReverseConverter

      public void setTravellerPreferenceReverseConverter(de.hybris.platform.servicelayer.dto.converter.Converter<TravellerPreferenceData,TravellerPreferenceModel> travellerPreferenceReverseConverter)
      Sets traveller preference reverse converter.
      Parameters:
      travellerPreferenceReverseConverter - the traveller preference reverse converter
    • getPassengerInformationDataConverter

      protected de.hybris.platform.servicelayer.dto.converter.Converter<PassengerInformationModel,PassengerInformationData> getPassengerInformationDataConverter()
      Gets passenger information data converter.
      Returns:
      the passenger information data converter
    • setPassengerInformationDataConverter

      public void setPassengerInformationDataConverter(de.hybris.platform.servicelayer.dto.converter.Converter<PassengerInformationModel,PassengerInformationData> passengerInformationDataConverter)
      Sets passenger information data converter.
      Parameters:
      passengerInformationDataConverter - the passenger information data converter
    • getCartService

      protected de.hybris.platform.order.CartService getCartService()
      Gets cart service.
      Returns:
      the cart service
    • setCartService

      public void setCartService(de.hybris.platform.order.CartService cartService)
      Sets cart service.
      Parameters:
      cartService - the cart service
    • getPassengerTypeFacade

      protected PassengerTypeFacade getPassengerTypeFacade()
      Gets passenger type facade.
      Returns:
      the passenger type facade
    • setPassengerTypeFacade

      public void setPassengerTypeFacade(PassengerTypeFacade passengerTypeFacade)
      Sets passenger type facade.
      Parameters:
      passengerTypeFacade - the passenger type facade
    • getSavedSearchConverter

      protected de.hybris.platform.servicelayer.dto.converter.Converter<SavedSearchModel,SavedSearchData> getSavedSearchConverter()
      Gets saved search converter.
      Returns:
      the saved search converter
    • setSavedSearchConverter

      public void setSavedSearchConverter(de.hybris.platform.servicelayer.dto.converter.Converter<SavedSearchModel,SavedSearchData> savedSearchConverter)
      Sets saved search converter.
      Parameters:
      savedSearchConverter - the saved search converter
    • getBookingService

      protected BookingService getBookingService()
      Returns:
      the bookingService
    • setBookingService

      public void setBookingService(BookingService bookingService)
      Parameters:
      bookingService - the bookingService to set
    • getTravellerAlreadyCheckedInValidationStrategy

      protected TravellerCheckedInValidationStrategy getTravellerAlreadyCheckedInValidationStrategy()
      Gets traveller already checked in validation strategy.
      Returns:
      the traveller already checked in validation strategy
    • setTravellerAlreadyCheckedInValidationStrategy

      public void setTravellerAlreadyCheckedInValidationStrategy(TravellerCheckedInValidationStrategy travellerAlreadyCheckedInValidationStrategy)
      Sets traveller already checked in validation strategy.
      Parameters:
      travellerAlreadyCheckedInValidationStrategy - the traveller already checked in validation strategy
    • getTravelAdvancePassengerInformationReversePopulator

      public de.hybris.platform.converters.Populator<PassengerInformationData,PassengerInformationModel> getTravelAdvancePassengerInformationReversePopulator()
      Gets travel advance passenger information reverse populator.
      Returns:
      the travel advance passenger information reverse populator
    • setTravelAdvancePassengerInformationReversePopulator

      public void setTravelAdvancePassengerInformationReversePopulator(de.hybris.platform.converters.Populator<PassengerInformationData,PassengerInformationModel> travelAdvancePassengerInformationReversePopulator)
      Sets travel advance passenger information reverse populator.
      Parameters:
      travelAdvancePassengerInformationReversePopulator - the travel advance passenger information reverse populator
    • getCustomerAccountService

      protected de.hybris.platform.commerceservices.customer.CustomerAccountService getCustomerAccountService()
      Get customer account service
      Returns:
      customerAccountService
    • setCustomerAccountService

      public void setCustomerAccountService(de.hybris.platform.commerceservices.customer.CustomerAccountService customerAccountService)
      Set the customer account service
      Parameters:
      customerAccountService -
    • getBaseStoreService

      protected de.hybris.platform.store.services.BaseStoreService getBaseStoreService()
      Get base store service
      Returns:
    • setBaseStoreService

      public void setBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService)
      Set base store service
      Parameters:
      baseStoreService -
    • getTravelOrderCodeIdentificationStrategy

      public TravelOrderCodeIdentificationStrategy getTravelOrderCodeIdentificationStrategy()
      Get Travel Order Code IdentificationStrategy
      Returns:
    • setTravelOrderCodeIdentificationStrategy

      public void setTravelOrderCodeIdentificationStrategy(TravelOrderCodeIdentificationStrategy travelOrderCodeIdentificationStrategy)
      set Travel Order Code IdentificationStrategy
      Parameters:
      travelOrderCodeIdentificationStrategy -