Interface TmaRetrieveTaxRateStrategy
-
- All Known Implementing Classes:
DefaultTmaRetrieveTaxRateStrategy
public interface TmaRetrieveTaxRateStrategyStrategy to compute and retrieve tax rate for an order price or order entry price- Since:
- 1907
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.DoubleretrieveTaxRate(java.lang.Double price, AbstractOrderEntryModel entry, java.util.List<de.hybris.platform.util.TaxValue> taxes)Retrieves the tax rate for an order entry pricejava.lang.DoubleretrieveTaxRate(java.lang.Double price, AbstractOrderModel order, java.util.List<de.hybris.platform.util.TaxValue> taxes)Retrieves the tax rate for an order price
-
-
-
Method Detail
-
retrieveTaxRate
java.lang.Double retrieveTaxRate(java.lang.Double price, AbstractOrderEntryModel entry, java.util.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 appliedentry- the order entrytaxes- the taxes to be applied- Returns:
- the tax rate after applying the taxes
-
retrieveTaxRate
java.lang.Double retrieveTaxRate(java.lang.Double price, AbstractOrderModel order, java.util.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 appliedorder- the order with the price to apply the taxes ontaxes- the taxes to be applied- Returns:
- the tax rate after applying the taxes
-
-