Class DefaultTmaRetrieveTaxRateStrategy

java.lang.Object
de.hybris.platform.b2ctelcoservices.pricing.strategy.impl.DefaultTmaRetrieveTaxRateStrategy
All Implemented Interfaces:
TmaRetrieveTaxRateStrategy

public class DefaultTmaRetrieveTaxRateStrategy extends Object implements TmaRetrieveTaxRateStrategy
Default implementation of TmaRetrieveTaxRateStrategy
Since:
1907
  • Constructor Details

    • DefaultTmaRetrieveTaxRateStrategy

      public DefaultTmaRetrieveTaxRateStrategy()
  • Method Details

    • retrieveTaxRate

      public Double retrieveTaxRate(Double price, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes)
      Description copied from interface: TmaRetrieveTaxRateStrategy
      Retrieves the tax rate for an order entry price
      Specified by:
      retrieveTaxRate in interface TmaRetrieveTaxRateStrategy
      Parameters:
      price - the price without taxes for which the taxes will be applied
      entry - the order entry
      taxes - the taxes to be applied
      Returns:
      the tax rate after applying the taxes
    • retrieveTaxRate

      public Double retrieveTaxRate(Double price, AbstractOrderModel order, List<de.hybris.platform.util.TaxValue> taxes)
      Description copied from interface: TmaRetrieveTaxRateStrategy
      Retrieves the tax rate for an order price
      Specified by:
      retrieveTaxRate in interface TmaRetrieveTaxRateStrategy
      Parameters:
      price - the price without taxes for which the taxes will be applied
      order - the order with the price to apply the taxes on
      taxes - the taxes to be applied
      Returns:
      the tax rate after applying the taxes