Package com.liferay.commerce.tax
Interface CommerceTaxCalculation
public interface CommerceTaxCalculation
-
Method Summary
Modifier and TypeMethodDescriptiongetCommerceTaxValues(long commerceBillingAddressId, long commerceChannelGroupId, String commerceCurrencyCode, long commerceShippingAddressId, long cpInstanceId, boolean includeTax, BigDecimal price) getCommerceTaxValues(CommerceOrder commerceOrder) com.liferay.commerce.currency.model.CommerceMoneygetShippingTaxValue(CommerceOrder commerceOrder, com.liferay.commerce.currency.model.CommerceCurrency commerceCurrency) com.liferay.commerce.currency.model.CommerceMoneygetTaxAmount(CommerceOrder commerceOrder, com.liferay.commerce.currency.model.CommerceCurrency commerceCurrency)
-
Method Details
-
getCommerceTaxValues
List<CommerceTaxValue> getCommerceTaxValues(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceTaxValues
List<CommerceTaxValue> getCommerceTaxValues(long commerceBillingAddressId, long commerceChannelGroupId, String commerceCurrencyCode, long commerceShippingAddressId, long cpInstanceId, boolean includeTax, BigDecimal price) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingTaxValue
com.liferay.commerce.currency.model.CommerceMoney getShippingTaxValue(CommerceOrder commerceOrder, com.liferay.commerce.currency.model.CommerceCurrency commerceCurrency) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTaxAmount
com.liferay.commerce.currency.model.CommerceMoney getTaxAmount(CommerceOrder commerceOrder, com.liferay.commerce.currency.model.CommerceCurrency commerceCurrency) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-