Class DefaultCisCalculateExternalTaxesFallbackStrategy
- java.lang.Object
-
- de.hybris.platform.integration.cis.tax.strategies.impl.DefaultCisCalculateExternalTaxesFallbackStrategy
-
- All Implemented Interfaces:
CalculateExternalTaxesStrategy
public class DefaultCisCalculateExternalTaxesFallbackStrategy extends java.lang.Object implements CalculateExternalTaxesStrategy
A fallback strategy for calculating taxes in case external tax strategy has failed for any reason
-
-
Constructor Summary
Constructors Constructor Description DefaultCisCalculateExternalTaxesFallbackStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalTaxDocumentcalculateExternalTaxes(AbstractOrderModel abstractOrder)Calculate external taxes for the order.protected ConfigurationServicegetConfigurationService()voidsetConfigurationService(ConfigurationService configurationService)
-
-
-
Method Detail
-
calculateExternalTaxes
public ExternalTaxDocument calculateExternalTaxes(AbstractOrderModel abstractOrder)
Description copied from interface:CalculateExternalTaxesStrategyCalculate external taxes for the order.- Specified by:
calculateExternalTaxesin interfaceCalculateExternalTaxesStrategy- Parameters:
abstractOrder- order to calculcate the taxes for- Returns:
- a tax document holding the calculated tax values
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
-