Class TransportDealBundleRestrictionStrategy
java.lang.Object
de.hybris.platform.travelfacades.booking.action.strategies.impl.TransportDealBundleRestrictionStrategy
- All Implemented Interfaces:
BookingActionEnabledEvaluatorStrategy
public class TransportDealBundleRestrictionStrategy
extends Object
implements BookingActionEnabledEvaluatorStrategy
Strategy to evaluate the enabled property of the List for deal bundles. If the order is a deal, the enabled
property of the
BookingActionData is set to false.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyStrategy(List<BookingActionData> bookingActionDataList, ReservationData reservationData) Applies the strategy for Listprotected DealBundleTemplateServicevoidsetDealBundleTemplateService(DealBundleTemplateService dealBundleTemplateService)
-
Constructor Details
-
TransportDealBundleRestrictionStrategy
public TransportDealBundleRestrictionStrategy()
-
-
Method Details
-
applyStrategy
public void applyStrategy(List<BookingActionData> bookingActionDataList, ReservationData reservationData) Description copied from interface:BookingActionEnabledEvaluatorStrategyApplies the strategy for List- Specified by:
applyStrategyin interfaceBookingActionEnabledEvaluatorStrategy- Parameters:
bookingActionDataList- the booking action data listreservationData- the reservation data
-
getDealBundleTemplateService
- Returns:
- the dealBundleTemplateService
-
setDealBundleTemplateService
- Parameters:
dealBundleTemplateService- the dealBundleTemplateService to set
-