Interface TmaRetrieveTaxRateStrategy

All Known Implementing Classes:
DefaultTmaRetrieveTaxRateStrategy

public interface TmaRetrieveTaxRateStrategy
Strategy to compute and retrieve tax rate for an order price or order entry price
Since:
1907
  • Method Details

    • retrieveTaxRate

      Double retrieveTaxRate(Double price, AbstractOrderEntryModel entry, List<de.hybris.platform.util.TaxValue> taxes)
      Retrieves the tax rate for an order entry price
      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

      Double retrieveTaxRate(Double price, AbstractOrderModel order, List<de.hybris.platform.util.TaxValue> taxes)
      Retrieves the tax rate for an order price
      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