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

public class PROSReservationPricingInfoHandler extends ReservationPricingInfoHandler
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 Details

    • PROSReservationPricingInfoHandler

      public PROSReservationPricingInfoHandler()
  • Method Details

    • getPriceForAncillaryEntry

      protected double getPriceForAncillaryEntry(AbstractOrderEntryModel entry)
      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:
      getPriceForAncillaryEntry in class ReservationPricingInfoHandler
      Parameters:
      entry - the entry
      Returns:
      the price for ancillary entry