Class PROSReservationPricingInfoHandler
java.lang.Object
de.hybris.platform.travelfacades.reservation.handlers.impl.ReservationPricingInfoHandler
de.hybris.platform.prosfacades.reservation.handlers.impl.PROSReservationPricingInfoHandler
- All Implemented Interfaces:
ReservationHandler
Pros extension of
ReservationPricingInfoHandler class.
This handler is responsible for instantiating ReservationPricingInfo attribute of ReservationItem and attaching
subtotal for each leg of the journey.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doubleMethod to get the price from an order entry.Methods inherited from class de.hybris.platform.travelfacades.reservation.handlers.impl.ReservationPricingInfoHandler
calculateSubtotalForLeg, createDiscountData, createPriceData, createPriceData, createReservationPricingInfo, createTaxData, getCommonI18NService, getPriceDataFactory, getSegmentInfoData, getTravelCartService, getTravelCommercePriceFacade, handle, setCommonI18NService, setPriceDataFactory, setTravelCartService, setTravelCommercePriceFacade
-
Constructor Details
-
PROSReservationPricingInfoHandler
public PROSReservationPricingInfoHandler()
-
-
Method Details
-
getPriceForAncillaryEntry
Method to get the price from an order entry. Cancellation scenario is handled here where the quantity is 0. Base price and total price are already calculated by a PROS strategy in which all the price rules for PROS ancillaries are applied.- Overrides:
getPriceForAncillaryEntryin classReservationPricingInfoHandler- Parameters:
entry- the entry- Returns:
- the price for ancillary entry
-