Class DefaultCommerceCartEstimateTaxesStrategy

java.lang.Object
de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartEstimateTaxesStrategy
All Implemented Interfaces:
CommerceCartEstimateTaxesStrategy

public class DefaultCommerceCartEstimateTaxesStrategy extends Object implements CommerceCartEstimateTaxesStrategy
  • Constructor Details

    • DefaultCommerceCartEstimateTaxesStrategy

      public DefaultCommerceCartEstimateTaxesStrategy()
  • Method Details

    • estimateTaxes

      public BigDecimal estimateTaxes(CartModel cartModel, String deliveryZipCode, 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