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.BigDecimal
estimateTaxes(CartModel cartModel, java.lang.String deliveryZipCode, java.lang.String deliveryCountryIsocode)
Estimate taxes for the cartModel and using the deliveryZipCode as the delivery zip code.CartService
getCartService()
CisTaxCalculationService
getCisTaxCalculationService()
CommonI18NService
getCommonI18NService()
DeliveryFromAddressStrategy
getEstimatedDeliveryFromAddressStrategy()
ModelService
getModelService()
TypeService
getTypeService()
void
setCartService(CartService cartService)
void
setCisTaxCalculationService(CisTaxCalculationService cisTaxCalculationService)
void
setCommonI18NService(CommonI18NService commonI18NService)
void
setEstimatedDeliveryFromAddressStrategy(DeliveryFromAddressStrategy estimatedDeliveryFromAddressStrategy)
void
setModelService(ModelService modelService)
void
setTypeService(TypeService typeService)
-
-
-
Method Detail
-
estimateTaxes
public java.math.BigDecimal estimateTaxes(CartModel cartModel, java.lang.String deliveryZipCode, java.lang.String deliveryCountryIsocode)
Description copied from interface:CommerceCartEstimateTaxesStrategy
Estimate taxes for the cartModel and using the deliveryZipCode as the delivery zip code.- Specified by:
estimateTaxes
in 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)
-
-