Class EvenExchangeFeePROSPriceCalculationStrategy

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

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

    • EvenExchangeFeePROSPriceCalculationStrategy

      public EvenExchangeFeePROSPriceCalculationStrategy()
  • 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 even exchange 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