Class CommercePriceModifierTestUtil
java.lang.Object
com.liferay.commerce.test.util.pricing.CommercePriceModifierTestUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.commerce.pricing.model.CommercePriceModifieraddCommercePriceModifier(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.CommercePriceModifieraddCommercePriceModifier(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.CommercePriceModifieraddCommercePriceModifier(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.CommercePriceModifieraddCommercePriceModifier(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.CommercePriceModifierupdateCommercePriceModifier(com.liferay.portal.kernel.model.User user, long commercePriceModifierId, String target, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
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
-