Interface CommerceCartEstimateTaxesStrategy
-
- All Known Implementing Classes:
DefaultCisEstimateTaxesStrategy
,DefaultCommerceCartEstimateTaxesStrategy
public interface CommerceCartEstimateTaxesStrategy
Strategy to abstract the estimation of taxes on a cart.
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
estimateTaxes
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.- 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
-
-