public class DefaultExternalTaxesService extends java.lang.Object implements ExternalTaxesService
ExternalTaxesService implementation, to determine if the 3rd party call is necessary and apply the
results to the cart.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SESSION_EXTERNAL_TAX_DOCUMENT |
| Constructor and Description |
|---|
DefaultExternalTaxesService() |
public static final java.lang.String SESSION_EXTERNAL_TAX_DOCUMENT
public boolean calculateExternalTaxes(AbstractOrderModel abstractOrder)
ExternalTaxesServicecalculateExternalTaxes in interface ExternalTaxesServiceabstractOrder - A Hybris cart or orderprotected void clearTaxValues(AbstractOrderModel abstractOrder)
abstractOrder - A hybris cart or orderprotected ExternalTaxDocument getSessionExternalTaxDocument(AbstractOrderModel abstractOrder)
protected void saveOrder(AbstractOrderModel abstractOrder)
protected void setCalculatedStatus(AbstractOrderModel order)
public void clearSessionTaxDocument()
ExternalTaxesServiceclearSessionTaxDocument in interface ExternalTaxesServiceprotected CalculateExternalTaxesStrategy getCalculateExternalTaxesStrategy()
public void setCalculateExternalTaxesStrategy(CalculateExternalTaxesStrategy calculateExternalTaxesStrategy)
protected ApplyExternalTaxesStrategy getApplyExternalTaxesStrategy()
public void setApplyExternalTaxesStrategy(ApplyExternalTaxesStrategy applyExternalTaxesStrategy)
protected DecideExternalTaxesStrategy getDecideExternalTaxesStrategy()
public void setDecideExternalTaxesStrategy(DecideExternalTaxesStrategy decideExternalTaxesStrategy)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
protected RecalculateExternalTaxesStrategy getRecalculateExternalTaxesStrategy()
public void setRecalculateExternalTaxesStrategy(RecalculateExternalTaxesStrategy recalculateExternalTaxesStrategy)
public SessionService getSessionService()
public void setSessionService(SessionService sessionService)
Copyright © 2018 SAP SE. All Rights Reserved.