Class ChangeFeePROSPriceCalculationStrategy

java.lang.Object
de.hybris.platform.prosservices.price.strategies.impl.AbstractPROSPriceCalculationStrategy
de.hybris.platform.prosservices.price.strategies.impl.ChangeFeePROSPriceCalculationStrategy
All Implemented Interfaces:
ShoppingPriceCalculationStrategy

public class ChangeFeePROSPriceCalculationStrategy extends AbstractPROSPriceCalculationStrategy
The price calculation strategy to calculate price for Change fee.
  • Constructor Details

    • ChangeFeePROSPriceCalculationStrategy

      public ChangeFeePROSPriceCalculationStrategy()
  • Method Details

    • getTaxValues

      public Collection<de.hybris.platform.util.TaxValue> getTaxValues(AbstractOrderEntryModel entry) throws de.hybris.platform.order.exceptions.CalculationException
      Description copied from interface: ShoppingPriceCalculationStrategy
      Get tax values collection.
      Parameters:
      entry - the entry
      Returns:
      the collection
      Throws:
      de.hybris.platform.order.exceptions.CalculationException - the calculation exception
    • getBasePrice

      public de.hybris.platform.util.PriceValue getBasePrice(AbstractOrderEntryModel entry) throws de.hybris.platform.order.exceptions.CalculationException
      Gets the base price from the repricer response message. The change fee is associated to a single passenger in the cart.
      Parameters:
      entry - the entry
      Returns:
      the amount of the change fee per passenger in the repricer response message.
      Throws:
      de.hybris.platform.order.exceptions.CalculationException
    • getProsRepricerService

      protected ShoppingRepricingService getProsRepricerService()
      Gets pros repricer service.
      Returns:
      the pros repricer service
    • setProsRepricerService

      public void setProsRepricerService(ShoppingRepricingService prosRepricerService)
      Sets pros repricer service.
      Parameters:
      prosRepricerService - the pros repricer service