Class DefaultCommerceCartEstimateTaxesStrategy

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultCommerceCartEstimateTaxesStrategy

        public DefaultCommerceCartEstimateTaxesStrategy()
    • 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