java.lang.Object
de.hybris.platform.travelservices.strategies.payment.changedates.impl.ChangeDatesSameAction
All Implemented Interfaces:
ChangeDatesPaymentActionStrategy

public class ChangeDatesSameAction extends Object implements ChangeDatesPaymentActionStrategy
Implementation for {@link= ChangeDatesPaymentActionStrategy} in case the payment type is SAME
  • Constructor Details

    • ChangeDatesSameAction

      public ChangeDatesSameAction()
  • Method Details

    • takeAction

      public boolean takeAction(AccommodationOrderEntryGroupModel accommodationOrderEntryGroup, List<Integer> entryNumbers)
      Description copied from interface: ChangeDatesPaymentActionStrategy
      Link accommodationOrderEntryGroup to new Entries of the amended Order based on the paymentType and the paymentMethod used during original method
      Specified by:
      takeAction in interface ChangeDatesPaymentActionStrategy
      Parameters:
      accommodationOrderEntryGroup - the accommodation order entry group
      entryNumbers - the entry numbers
      Returns:
      true/false
    • getCartService

      protected de.hybris.platform.order.CartService getCartService()
      Returns:
      the cartService
    • setCartService

      public void setCartService(de.hybris.platform.order.CartService cartService)
      Parameters:
      cartService - the cartService to set
    • getBookingService

      protected BookingService getBookingService()
      Returns:
      the bookingService
    • setBookingService

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

      public de.hybris.platform.servicelayer.model.ModelService getModelService()
      Returns:
      the modelService
    • setModelService

      public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService)
      Parameters:
      modelService - the modelService to set