Class AccommodationReservationRoomRateHandler

java.lang.Object
de.hybris.platform.travelfacades.reservation.handlers.impl.AccommodationReservationRoomRateHandler
All Implemented Interfaces:
AccommodationReservationHandler

public class AccommodationReservationRoomRateHandler extends Object implements AccommodationReservationHandler
The type Accommodation reservation room rate handler.
  • Constructor Details

    • AccommodationReservationRoomRateHandler

      public AccommodationReservationRoomRateHandler()
  • Method Details

    • handle

      public void handle(AbstractOrderModel abstractOrder, AccommodationReservationData accommodationReservationData)
      Description copied from interface: AccommodationReservationHandler
      Handle method to populate AccommodationReservationData with details from AbstractOrderModel.
      Specified by:
      handle in interface AccommodationReservationHandler
      Parameters:
      abstractOrder - the abstract order
      accommodationReservationData - the accommodation reservation data
    • createTaxDataFromValue

      protected TaxData createTaxDataFromValue(Double value, String currencyIso)
      Creates tax data from value
      Parameters:
      value -
      Returns:
    • getEntries

      protected List<AbstractOrderEntryModel> getEntries(List<AccommodationOrderEntryGroupModel> entryGroups, AbstractOrderModel abstractOrder, ReservedRoomStayData roomStay)
      Returns the list of AbstractOrderEntryModels which are active and with quantityStatus not DEAD from the given entryGroups that matches the roomStayRefNumber
      Parameters:
      entryGroups - the entry groups
      abstractOrder - the abstract order
      roomStay - the room stay
      Returns:
      the entries
    • getPriceDataFactory

      @Deprecated protected de.hybris.platform.commercefacades.product.PriceDataFactory getPriceDataFactory()
      Deprecated.
      Deprecated since version 3.0.
      Gets price data factory.
      Returns:
      the price data factory
    • setPriceDataFactory

      @Deprecated public void setPriceDataFactory(de.hybris.platform.commercefacades.product.PriceDataFactory priceDataFactory)
      Deprecated.
      Deprecated since version 3.0.
      Sets price data factory.
      Parameters:
      priceDataFactory - the price data factory
    • getTravelCommercePriceFacade

      protected TravelCommercePriceFacade getTravelCommercePriceFacade()
      Returns:
      the travelCommercePriceFacade
    • setTravelCommercePriceFacade

      public void setTravelCommercePriceFacade(TravelCommercePriceFacade travelCommercePriceFacade)
      Parameters:
      travelCommercePriceFacade - the travelCommercePriceFacade to set
    • getBookingService

      protected BookingService getBookingService()
      Gets booking service.
      Returns:
      the booking service
    • setBookingService

      public void setBookingService(BookingService bookingService)
      Sets booking service.
      Parameters:
      bookingService - the booking service
    • getCartFacade

      protected TravelCartFacade getCartFacade()
      Returns:
      the cartFacade
    • setCartFacade

      public void setCartFacade(TravelCartFacade cartFacade)
      Parameters:
      cartFacade - the cartFacade to set