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

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

    • ChangeDatesRefundAction

      public ChangeDatesRefundAction()
  • 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
    • getChangeDatesEntryPriceWithoutGuarantees

      protected Double getChangeDatesEntryPriceWithoutGuarantees(List<AbstractOrderEntryModel> entries, AccommodationOrderEntryGroupModel accommodationOrderEntryGroup)
    • getTotalEntryPrice

      protected Double getTotalEntryPrice(AbstractOrderEntryModel entry)
    • 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
    • getOrderTotalPaidForAccommodationGroupCalculationStrategy

      protected OrderTotalPaidForEntryGroupCalculationStrategy getOrderTotalPaidForAccommodationGroupCalculationStrategy()
      Returns:
      the orderTotalPaidForAccommodationGroupCalculationStrategy
    • setOrderTotalPaidForAccommodationGroupCalculationStrategy

      public void setOrderTotalPaidForAccommodationGroupCalculationStrategy(OrderTotalPaidForEntryGroupCalculationStrategy orderTotalPaidForAccommodationGroupCalculationStrategy)
      Parameters:
      orderTotalPaidForAccommodationGroupCalculationStrategy - the orderTotalPaidForAccommodationGroupCalculationStrategy to set
    • getTravelCartService

      protected TravelCartService getTravelCartService()
      Returns:
      travelCartService
    • setTravelCartService

      public void setTravelCartService(TravelCartService travelCartService)
      Parameters:
      travelCartService - the travelCartService to set