Class CommercePriceModifierTestUtil

java.lang.Object
com.liferay.commerce.test.util.pricing.CommercePriceModifierTestUtil

public class CommercePriceModifierTestUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.liferay.commerce.pricing.model.CommercePriceModifier
    addCommercePriceModifier(long groupId, com.liferay.portal.kernel.model.User user, long commercePriceListId, String title, String target, BigDecimal amount, String type, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.commerce.pricing.model.CommercePriceModifier
    addCommercePriceModifier(long groupId, com.liferay.portal.kernel.model.User user, long commercePriceListId, String title, String target, BigDecimal amount, String type, double priority, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.commerce.pricing.model.CommercePriceModifier
    addCommercePriceModifier(long groupId, com.liferay.portal.kernel.model.User user, long commercePriceListId, String target, BigDecimal amount, String type, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.commerce.pricing.model.CommercePriceModifier
    addCommercePriceModifier(long groupId, com.liferay.portal.kernel.model.User user, long commercePriceListId, BigDecimal amount, String type, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.commerce.pricing.model.CommercePriceModifier
    updateCommercePriceModifier(com.liferay.portal.kernel.model.User user, long commercePriceModifierId, String target, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommercePriceModifierTestUtil

      public CommercePriceModifierTestUtil()
  • Method Details

    • addCommercePriceModifier

      public static com.liferay.commerce.pricing.model.CommercePriceModifier addCommercePriceModifier(long groupId, com.liferay.portal.kernel.model.User user, long commercePriceListId, BigDecimal amount, String type, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommercePriceModifier

      public static com.liferay.commerce.pricing.model.CommercePriceModifier addCommercePriceModifier(long groupId, com.liferay.portal.kernel.model.User user, long commercePriceListId, String target, BigDecimal amount, String type, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommercePriceModifier

      public static com.liferay.commerce.pricing.model.CommercePriceModifier addCommercePriceModifier(long groupId, com.liferay.portal.kernel.model.User user, long commercePriceListId, String title, String target, BigDecimal amount, String type, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommercePriceModifier

      public static com.liferay.commerce.pricing.model.CommercePriceModifier addCommercePriceModifier(long groupId, com.liferay.portal.kernel.model.User user, long commercePriceListId, String title, String target, BigDecimal amount, String type, double priority, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommercePriceModifier

      public static com.liferay.commerce.pricing.model.CommercePriceModifier updateCommercePriceModifier(com.liferay.portal.kernel.model.User user, long commercePriceModifierId, String target, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException