Class TotalPaymentTransactionRestrictionStrategy

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

public class TotalPaymentTransactionRestrictionStrategy extends Object implements AccommodationBookingActionEnabledEvaluatorStrategy
Strategy to evaluate the enabled property of the List, based on the total payment transactions.
  • Constructor Details

    • TotalPaymentTransactionRestrictionStrategy

      public TotalPaymentTransactionRestrictionStrategy()
  • Method Details

    • applyStrategy

      public void applyStrategy(List<AccommodationBookingActionData> bookingActionDataList, AccommodationReservationData reservationData)
      Description copied from interface: AccommodationBookingActionEnabledEvaluatorStrategy
      Applies the strategy for List
      Specified by:
      applyStrategy in interface AccommodationBookingActionEnabledEvaluatorStrategy
      Parameters:
      bookingActionDataList - the booking action data list
      reservationData - the accommodation reservation data
    • getCustomerAccountService

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

      public void setCustomerAccountService(de.hybris.platform.commerceservices.customer.CustomerAccountService customerAccountService)
      Parameters:
      customerAccountService - the customerAccountService to set
    • getBaseStoreService

      protected de.hybris.platform.store.services.BaseStoreService getBaseStoreService()
      Returns:
      the baseStoreService
    • setBaseStoreService

      public void setBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService)
      Parameters:
      baseStoreService - the baseStoreService to set
    • getOrderTotalByEntryTypeCalculationStrategy

      protected OrderTotalByEntryTypeCalculationStrategy getOrderTotalByEntryTypeCalculationStrategy()
      Returns:
      the orderTotalByEntryTypeCalculationStrategy
    • setOrderTotalByEntryTypeCalculationStrategy

      public void setOrderTotalByEntryTypeCalculationStrategy(OrderTotalByEntryTypeCalculationStrategy orderTotalByEntryTypeCalculationStrategy)
      Parameters:
      orderTotalByEntryTypeCalculationStrategy - the orderTotalByEntryTypeCalculationStrategy to set