Package com.liferay.commerce.tax
Interface CommerceTaxCalculation
public interface CommerceTaxCalculation
-
Method Summary
Modifier and TypeMethodDescriptiongetCommerceTaxValues
(long groupId, long cpInstanceId, long commerceBillingAddressId, long commerceShippingAddressId, BigDecimal amount, boolean includeTax) getCommerceTaxValues
(long groupId, long cpInstanceId, long commerceBillingAddressId, long commerceShippingAddressId, BigDecimal amount, CommerceContext commerceContext) Deprecated.As of Mueller (7.2.x)getCommerceTaxValues
(CommerceOrder commerceOrder) getCommerceTaxValues
(CommerceOrder commerceOrder, CommerceContext commerceContext) Deprecated.As of Mueller (7.2.x)com.liferay.commerce.currency.model.CommerceMoney
getShippingTaxValue
(CommerceOrder commerceOrder, com.liferay.commerce.currency.model.CommerceCurrency commerceCurrency) com.liferay.commerce.currency.model.CommerceMoney
getTaxAmount
(CommerceOrder commerceOrder, CommerceContext commerceContext) Deprecated.As of Mueller (7.2.x)com.liferay.commerce.currency.model.CommerceMoney
getTaxAmount
(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
@Deprecated List<CommerceTaxValue> getCommerceTaxValues(CommerceOrder commerceOrder, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Mueller (7.2.x)- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceTaxValues
List<CommerceTaxValue> getCommerceTaxValues(long groupId, long cpInstanceId, long commerceBillingAddressId, long commerceShippingAddressId, BigDecimal amount, boolean includeTax) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceTaxValues
@Deprecated List<CommerceTaxValue> getCommerceTaxValues(long groupId, long cpInstanceId, long commerceBillingAddressId, long commerceShippingAddressId, BigDecimal amount, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Mueller (7.2.x)- 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
@Deprecated com.liferay.commerce.currency.model.CommerceMoney getTaxAmount(CommerceOrder commerceOrder, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Mueller (7.2.x)- 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
-