Class RefundFeePROSPriceCalculationStrategy

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

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

    • RefundFeePROSPriceCalculationStrategy

      public RefundFeePROSPriceCalculationStrategy()
  • 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 refund fee corresponds to the total of all the penalty fees in the paxTkt list to pay in order to cancel a flight.
      Parameters:
      entry - the entry
      Returns:
      the total amount of the refund fees 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