Class DefaultCisEstimateTaxesStrategy
- java.lang.Object
-
- de.hybris.platform.integration.cis.tax.strategies.impl.DefaultCisEstimateTaxesStrategy
-
- All Implemented Interfaces:
CommerceCartEstimateTaxesStrategy
public class DefaultCisEstimateTaxesStrategy extends java.lang.Object implements CommerceCartEstimateTaxesStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultCisEstimateTaxesStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigDecimalestimateTaxes(CartModel cartModel, java.lang.String deliveryZipCode, java.lang.String deliveryCountryIsocode)Estimate taxes for the cartModel and using the deliveryZipCode as the delivery zip code.CartServicegetCartService()CisTaxCalculationServicegetCisTaxCalculationService()CommonI18NServicegetCommonI18NService()DeliveryFromAddressStrategygetEstimatedDeliveryFromAddressStrategy()ModelServicegetModelService()TypeServicegetTypeService()voidsetCartService(CartService cartService)voidsetCisTaxCalculationService(CisTaxCalculationService cisTaxCalculationService)voidsetCommonI18NService(CommonI18NService commonI18NService)voidsetEstimatedDeliveryFromAddressStrategy(DeliveryFromAddressStrategy estimatedDeliveryFromAddressStrategy)voidsetModelService(ModelService modelService)voidsetTypeService(TypeService typeService)
-
-
-
Method Detail
-
estimateTaxes
public java.math.BigDecimal estimateTaxes(CartModel cartModel, java.lang.String deliveryZipCode, java.lang.String deliveryCountryIsocode)
Description copied from interface:CommerceCartEstimateTaxesStrategyEstimate taxes for the cartModel and using the deliveryZipCode as the delivery zip code.- Specified by:
estimateTaxesin interfaceCommerceCartEstimateTaxesStrategy- Parameters:
cartModel- cart to estimate taxes fordeliveryZipCode- zip code to use as the delivery addressdeliveryCountryIsocode- country to use for the delivery address- Returns:
- total of the estimated taxes
-
getCisTaxCalculationService
public CisTaxCalculationService getCisTaxCalculationService()
-
setCisTaxCalculationService
public void setCisTaxCalculationService(CisTaxCalculationService cisTaxCalculationService)
-
getModelService
public ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getCartService
public CartService getCartService()
-
setCartService
public void setCartService(CartService cartService)
-
getEstimatedDeliveryFromAddressStrategy
public DeliveryFromAddressStrategy getEstimatedDeliveryFromAddressStrategy()
-
setEstimatedDeliveryFromAddressStrategy
public void setEstimatedDeliveryFromAddressStrategy(DeliveryFromAddressStrategy estimatedDeliveryFromAddressStrategy)
-
getTypeService
public TypeService getTypeService()
-
setTypeService
public void setTypeService(TypeService typeService)
-
getCommonI18NService
public CommonI18NService getCommonI18NService()
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
-
-