Class DefaultCisEstimateTaxesStrategy

    • Constructor Detail

      • DefaultCisEstimateTaxesStrategy

        public DefaultCisEstimateTaxesStrategy()
    • 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 interface CommerceCartEstimateTaxesStrategy
        Parameters:
        cartModel - cart to estimate taxes for
        deliveryZipCode - zip code to use as the delivery address
        deliveryCountryIsocode - country to use for the delivery address
        Returns:
        total of the estimated taxes
      • setCisTaxCalculationService

        public void setCisTaxCalculationService​(CisTaxCalculationService cisTaxCalculationService)
      • setModelService

        public void setModelService​(ModelService modelService)
      • setCartService

        public void setCartService​(CartService cartService)
      • setEstimatedDeliveryFromAddressStrategy

        public void setEstimatedDeliveryFromAddressStrategy​(DeliveryFromAddressStrategy estimatedDeliveryFromAddressStrategy)
      • setTypeService

        public void setTypeService​(TypeService typeService)
      • setCommonI18NService

        public void setCommonI18NService​(CommonI18NService commonI18NService)