Class DefaultCommerceCartEstimateTaxesStrategy
- java.lang.Object
-
- de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartEstimateTaxesStrategy
-
- All Implemented Interfaces:
CommerceCartEstimateTaxesStrategy
public class DefaultCommerceCartEstimateTaxesStrategy extends java.lang.Object implements CommerceCartEstimateTaxesStrategy
-
-
Constructor Summary
Constructors Constructor Description 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.
-
-
-
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 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
-
-