Class DefaultTmaRetrieveTaxRateStrategy
- java.lang.Object
-
- de.hybris.platform.b2ctelcoservices.pricing.strategy.impl.DefaultTmaRetrieveTaxRateStrategy
-
- All Implemented Interfaces:
TmaRetrieveTaxRateStrategy
public class DefaultTmaRetrieveTaxRateStrategy extends java.lang.Object implements TmaRetrieveTaxRateStrategy
Default implementation ofTmaRetrieveTaxRateStrategy- Since:
- 1907
-
-
Constructor Summary
Constructors Constructor Description DefaultTmaRetrieveTaxRateStrategy()
-
Method Summary
All Methods Instance Methods Concrete 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
public java.lang.Double retrieveTaxRate(java.lang.Double price, AbstractOrderEntryModel entry, java.util.List<de.hybris.platform.util.TaxValue> taxes)Description copied from interface:TmaRetrieveTaxRateStrategyRetrieves the tax rate for an order entry price- Specified by:
retrieveTaxRatein interfaceTmaRetrieveTaxRateStrategy- 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
public java.lang.Double retrieveTaxRate(java.lang.Double price, AbstractOrderModel order, java.util.List<de.hybris.platform.util.TaxValue> taxes)Description copied from interface:TmaRetrieveTaxRateStrategyRetrieves the tax rate for an order price- Specified by:
retrieveTaxRatein interfaceTmaRetrieveTaxRateStrategy- 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
-
-