Class ReservationPricingInfoBundleTypeHandler

java.lang.Object
de.hybris.platform.travelfacades.reservation.handlers.impl.ReservationPricingInfoBundleTypeHandler
All Implemented Interfaces:
ReservationHandler

public class ReservationPricingInfoBundleTypeHandler extends Object implements ReservationHandler
This handler is responsible for instantiating Itinerary Pricing Info for given leg which will contain ONLY the information related the the bundle type:
  • Constructor Details

    • ReservationPricingInfoBundleTypeHandler

      public ReservationPricingInfoBundleTypeHandler()
  • Method Details

    • handle

      public void handle(AbstractOrderModel abstractOrderModel, ReservationData reservationData)
      Description copied from interface: ReservationHandler
      Handle method.
      Specified by:
      handle in interface ReservationHandler
      Parameters:
      abstractOrderModel - the abstract order model
      reservationData - the reservation data
    • createItineraryPricingInfo

      protected ItineraryPricingInfoData createItineraryPricingInfo(AbstractOrderModel abstractOrderModel, ReservationItemData reservationItem)
      Creates a new Itinerary Pricing Info to hold the information related to the bundle type
      Parameters:
      abstractOrderModel - - given Abstract Order
      reservationItem - - Reservation Item of current leg
      Returns:
      new itinerary pricing info
    • createReservationPricingInfo

      protected ReservationPricingInfoData createReservationPricingInfo()
      Creates a new Reservation Pricing Info
      Returns:
      the reservation pricing info data
    • getEnumerationService

      protected de.hybris.platform.enumeration.EnumerationService getEnumerationService()
      Gets enumeration service.
      Returns:
      the enumerationService
    • setEnumerationService

      public void setEnumerationService(de.hybris.platform.enumeration.EnumerationService enumerationService)
      Sets enumeration service.
      Parameters:
      enumerationService - the enumeration service
    • getBundleTemplateService

      protected de.hybris.platform.configurablebundleservices.bundle.BundleTemplateService getBundleTemplateService()
      Gets bundle template service.
      Returns:
      the bundle template service
    • setBundleTemplateService

      public void setBundleTemplateService(de.hybris.platform.configurablebundleservices.bundle.BundleTemplateService bundleTemplateService)
      Sets bundle template service.
      Parameters:
      bundleTemplateService - the bundle template service