Class VatTaxUtil
java.lang.Object
com.broadleafcommerce.orderoperation.service.util.VatTaxUtil
Deprecated.
- Author:
- Cade Rea (cade-rea)
-
Method Summary
Modifier and TypeMethodDescriptionstatic javax.money.MonetaryAmount
getVatTaxAmount
(com.broadleafcommerce.cart.client.domain.FulfillmentItem fulfillmentItem, javax.money.CurrencyUnit currency) Deprecated.Use {InclusiveTaxHelper#getAllIncludedTaxes} instead.
-
Method Details
-
getVatTaxAmount
@Deprecated public static javax.money.MonetaryAmount getVatTaxAmount(com.broadleafcommerce.cart.client.domain.FulfillmentItem fulfillmentItem, javax.money.CurrencyUnit currency) Deprecated.Use {InclusiveTaxHelper#getAllIncludedTaxes} instead.Get all included (VAT) taxes from the given fulfillment item. This includes merchandise taxes and fulfillment fee taxes.- Parameters:
fulfillmentItem
- TheFulfillmentItem
whoseFulfillmentItemTaxDetails
should be checked for inclusive taxes.currency
- The currency of the tax details.- Returns:
- The total amount of taxes included in the retail price of the item.
-
InclusiveTaxHelper