Class CheckInWindowRestrictionStrategy

java.lang.Object
de.hybris.platform.travelfacades.booking.action.strategies.impl.CheckInWindowRestrictionStrategy
All Implemented Interfaces:
BookingActionEnabledEvaluatorStrategy

public class CheckInWindowRestrictionStrategy extends Object implements BookingActionEnabledEvaluatorStrategy
Strategy to evaluate the enabled property of the List, setting it to false if the departureDate of the first transportOffering is not included between the minCheckInTime and maxCheckInTime. Values of minCheckInTime and maxCheckInTime can be set in the properties file.
  • Constructor Details

    • CheckInWindowRestrictionStrategy

      public CheckInWindowRestrictionStrategy()
  • Method Details

    • applyStrategy

      public void applyStrategy(List<BookingActionData> bookingActionDataList, ReservationData reservationData)
      Description copied from interface: BookingActionEnabledEvaluatorStrategy
      Applies the strategy for List
      Specified by:
      applyStrategy in interface BookingActionEnabledEvaluatorStrategy
      Parameters:
      bookingActionDataList - the booking action data list
      reservationData - the reservation data
    • getConfigurationService

      protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()
      Returns:
      the configurationService
    • setConfigurationService

      public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService)
      Parameters:
      configurationService - the configurationService to set
    • getTimeService

      protected de.hybris.platform.servicelayer.time.TimeService getTimeService()
      Returns:
      the timeService
    • setTimeService

      public void setTimeService(de.hybris.platform.servicelayer.time.TimeService timeService)
      Parameters:
      timeService - the timeService to set