Class ReservationPricingInfoBundleTypeHandler
java.lang.Object
de.hybris.platform.travelfacades.reservation.handlers.impl.ReservationPricingInfoBundleTypeHandler
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ItineraryPricingInfoDatacreateItineraryPricingInfo(AbstractOrderModel abstractOrderModel, ReservationItemData reservationItem) Creates a new Itinerary Pricing Info to hold the information related to the bundle typeprotected ReservationPricingInfoDataCreates a new Reservation Pricing Infoprotected de.hybris.platform.configurablebundleservices.bundle.BundleTemplateServiceGets bundle template service.protected de.hybris.platform.enumeration.EnumerationServiceGets enumeration service.voidhandle(AbstractOrderModel abstractOrderModel, ReservationData reservationData) Handle method.voidsetBundleTemplateService(de.hybris.platform.configurablebundleservices.bundle.BundleTemplateService bundleTemplateService) Sets bundle template service.voidsetEnumerationService(de.hybris.platform.enumeration.EnumerationService enumerationService) Sets enumeration service.
-
Constructor Details
-
ReservationPricingInfoBundleTypeHandler
public ReservationPricingInfoBundleTypeHandler()
-
-
Method Details
-
handle
Description copied from interface:ReservationHandlerHandle method.- Specified by:
handlein interfaceReservationHandler- Parameters:
abstractOrderModel- the abstract order modelreservationData- 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 OrderreservationItem- - Reservation Item of current leg- Returns:
- new itinerary pricing info
-
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
-