Interface CommerceProductPriceCalculation


public interface CommerceProductPriceCalculation
  • Method Details

    • getBasePrice

      com.liferay.commerce.currency.model.CommerceMoney getBasePrice(long cpInstanceId, com.liferay.commerce.currency.model.CommerceCurrency commerceCurrency, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBasePromoPrice

      com.liferay.commerce.currency.model.CommerceMoney getBasePromoPrice(long cpInstanceId, com.liferay.commerce.currency.model.CommerceCurrency commerceCurrency, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceProductPrice

      CommerceProductPrice getCommerceProductPrice(CommerceProductPriceRequest commerceProductPriceRequest) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceProductPrice

      CommerceProductPrice getCommerceProductPrice(long cpInstanceId, BigDecimal quantity, boolean secure, String unitOfMeasureKey, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceProductPrice

      CommerceProductPrice getCommerceProductPrice(long cpInstanceId, BigDecimal quantity, String unitOfMeasureKey, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionMinimumPrice

      com.liferay.commerce.currency.model.CommerceMoney getCPDefinitionMinimumPrice(long cpDefinitionId, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionOptionValueRelativePrice

      com.liferay.commerce.currency.model.CommerceMoney getCPDefinitionOptionValueRelativePrice(CommerceProductOptionValueRelativePriceRequest commerceProductOptionValueRelativePriceRequest) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFinalPrice

      com.liferay.commerce.currency.model.CommerceMoney getFinalPrice(long cpInstanceId, BigDecimal quantity, boolean secure, String unitOfMeasureKey, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFinalPrice

      com.liferay.commerce.currency.model.CommerceMoney getFinalPrice(long cpInstanceId, BigDecimal quantity, String unitOfMeasureKey, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPromoPrice

      com.liferay.commerce.currency.model.CommerceMoney getPromoPrice(long cpInstanceId, BigDecimal quantity, com.liferay.commerce.currency.model.CommerceCurrency commerceCurrency, boolean secure, String unitOfMeasureKey, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUnitCommercePriceEntry

      com.liferay.commerce.price.list.model.CommercePriceEntry getUnitCommercePriceEntry(CommerceContext commerceContext, long cpInstanceId, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUnitMaxPrice

      com.liferay.commerce.currency.model.CommerceMoney getUnitMaxPrice(long cpDefinitionId, BigDecimal quantity, boolean secure, String unitOfMeasureKey, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUnitMaxPrice

      com.liferay.commerce.currency.model.CommerceMoney getUnitMaxPrice(long cpDefinitionId, BigDecimal quantity, String unitOfMeasureKey, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUnitMinPrice

      com.liferay.commerce.currency.model.CommerceMoney getUnitMinPrice(long cpDefinitionId, BigDecimal quantity, boolean secure, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUnitMinPrice

      com.liferay.commerce.currency.model.CommerceMoney getUnitMinPrice(long cpDefinitionId, BigDecimal quantity, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUnitPrice

      com.liferay.commerce.currency.model.CommerceMoney getUnitPrice(long cpInstanceId, BigDecimal quantity, com.liferay.commerce.currency.model.CommerceCurrency commerceCurrency, boolean secure, String unitOfMeasureKey, CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException