Class LastAdultTravellerRestrictionStrategy

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

public class LastAdultTravellerRestrictionStrategy extends Object implements BookingActionEnabledEvaluatorStrategy
Strategy to evaluate the enabled property of the List. For each leg if there is only one 'adult' traveller left, the enabled property of the related BookingActionData is set to false, true otherwise. Other non 'adult' passengers BookingActionData are not modified by this strategy.
  • Constructor Details

    • LastAdultTravellerRestrictionStrategy

      public LastAdultTravellerRestrictionStrategy()
  • Method Details