Class AncillaryChangeFeePROSPriceCalculationStrategy

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

public class AncillaryChangeFeePROSPriceCalculationStrategy extends AbstractPROSPriceCalculationStrategy
The price calculation strategy to calculate price for ancillary change fees.
  • Constructor Details

    • AncillaryChangeFeePROSPriceCalculationStrategy

      public AncillaryChangeFeePROSPriceCalculationStrategy()
  • Method Details

    • getTaxValues

      public Collection<de.hybris.platform.util.TaxValue> getTaxValues(AbstractOrderEntryModel entry) throws de.hybris.platform.order.exceptions.CalculationException
      Gets the taxValues from the order entries associated to the ancillaryChangeFee order entry.
      Parameters:
      entry - the entry
      Returns:
      the total list of tax value
      Throws:
      de.hybris.platform.order.exceptions.CalculationException
    • getBasePrice

      public de.hybris.platform.util.PriceValue getBasePrice(AbstractOrderEntryModel entry) throws de.hybris.platform.order.exceptions.CalculationException
      Gets the base price from the order entries associated to the ancillaryChangeFee order entry. The base price will be the sum of all the base prices of the associated order entries.
      Parameters:
      entry - the entry
      Returns:
      the total base price
      Throws:
      de.hybris.platform.order.exceptions.CalculationException