Interface CommerceCartEstimateTaxesStrategy

All Known Implementing Classes:
DefaultCommerceCartEstimateTaxesStrategy

public interface CommerceCartEstimateTaxesStrategy
Strategy to abstract the estimation of taxes on a cart.
  • Method Summary

    Modifier and Type
    Method
    Description
    estimateTaxes(CartModel cartModel, String deliveryZipCode, String deliveryCountryIsocode)
    Estimate taxes for the cartModel and using the deliveryZipCode as the delivery zip code.
  • Method Details

    • estimateTaxes

      BigDecimal estimateTaxes(CartModel cartModel, String deliveryZipCode, String deliveryCountryIsocode)
      Estimate taxes for the cartModel and using the deliveryZipCode as the delivery zip code.
      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