Class DefaultCommerceCartEstimateTaxesStrategy
java.lang.Object
de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartEstimateTaxesStrategy
- All Implemented Interfaces:
CommerceCartEstimateTaxesStrategy
public class DefaultCommerceCartEstimateTaxesStrategy
extends Object
implements CommerceCartEstimateTaxesStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionestimateTaxes(CartModel cartModel, String deliveryZipCode, String deliveryCountryIsocode) Estimate taxes for the cartModel and using the deliveryZipCode as the delivery zip code.
-
Constructor Details
-
DefaultCommerceCartEstimateTaxesStrategy
public DefaultCommerceCartEstimateTaxesStrategy()
-
-
Method Details
-
estimateTaxes
public BigDecimal estimateTaxes(CartModel cartModel, String deliveryZipCode, String deliveryCountryIsocode) Description copied from interface:CommerceCartEstimateTaxesStrategyEstimate taxes for the cartModel and using the deliveryZipCode as the delivery zip code.- Specified by:
estimateTaxesin interfaceCommerceCartEstimateTaxesStrategy- 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
-