Class CommercePriceListTestUtil
java.lang.Object
com.liferay.commerce.test.util.price.list.CommercePriceListTestUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.commerce.price.list.model.CommercePriceList
addAccountAndChannelPriceList
(long groupId, long commerceAccountId, long commerceChannelId, String type) static com.liferay.commerce.price.list.model.CommercePriceList
addAccountGroupAndChannelPriceList
(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, String type) static com.liferay.commerce.price.list.model.CommercePriceList
addAccountGroupPriceList
(long groupId, long[] commerceAccountGroupIds, String type) static com.liferay.commerce.price.list.model.CommercePriceList
addAccountGroupsToPriceList
(long groupId, long[] commerceAccountGroupIds, long commercePriceListId) static com.liferay.commerce.price.list.model.CommercePriceList
addAccountPriceList
(long groupId, long commerceAccountId, String type) static com.liferay.commerce.price.list.model.CommercePriceList
addAccountToPriceList
(long groupId, long commerceAccountId, long commercePriceListId) static com.liferay.commerce.price.list.model.CommercePriceList
addChannelPriceList
(long groupId, long commerceChannelId, String type) static com.liferay.commerce.price.list.model.CommercePriceList
addChannelToPriceList
(long groupId, long commerceChannelId, long commercePriceListId) static com.liferay.commerce.price.list.model.CommercePriceList
addCommercePriceList
(long groupId, boolean catalogBasePriceList, String type, double priority) static com.liferay.commerce.price.list.model.CommercePriceList
addCommercePriceList
(String externalReferenceCode, long groupId, String currency, boolean netPrice, long parentCommercePriceListId, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) static com.liferay.commerce.price.list.model.CommercePriceList
addCommercePriceList
(String externalReferenceCode, long groupId, String currency, boolean netPrice, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) static com.liferay.commerce.price.list.model.CommercePriceList
addCommercePriceList
(String externalReferenceCode, long groupId, String currency, long parentCommercePriceListId, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) static com.liferay.commerce.price.list.model.CommercePriceList
addCommercePriceList
(String externalReferenceCode, long groupId, String currency, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) static com.liferay.commerce.price.list.model.CommercePriceList
addOrUpdateCommercePriceList
(String externalReferenceCode, long groupId, long commercePriceListId, String currency, long parentCommercePriceListId, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) static com.liferay.commerce.price.list.model.CommercePriceList
addOrUpdateCommercePriceList
(String externalReferenceCode, long groupId, long commercePriceListId, String currency, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) static com.liferay.commerce.price.list.model.CommercePriceList
updateCommercePriceList
(long groupId, long commercePriceListId, String currency, long parentCommercePriceListId, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate)
-
Constructor Details
-
CommercePriceListTestUtil
public CommercePriceListTestUtil()
-
-
Method Details
-
addAccountAndChannelPriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addAccountAndChannelPriceList(long groupId, long commerceAccountId, long commerceChannelId, String type) throws Exception - Throws:
Exception
-
addAccountGroupAndChannelPriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addAccountGroupAndChannelPriceList(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, String type) throws Exception - Throws:
Exception
-
addAccountGroupPriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addAccountGroupPriceList(long groupId, long[] commerceAccountGroupIds, String type) throws Exception - Throws:
Exception
-
addAccountGroupsToPriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addAccountGroupsToPriceList(long groupId, long[] commerceAccountGroupIds, long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addAccountPriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addAccountPriceList(long groupId, long commerceAccountId, String type) throws Exception - Throws:
Exception
-
addAccountToPriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addAccountToPriceList(long groupId, long commerceAccountId, long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addChannelPriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addChannelPriceList(long groupId, long commerceChannelId, String type) throws Exception - Throws:
Exception
-
addChannelToPriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addChannelToPriceList(long groupId, long commerceChannelId, long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommercePriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addCommercePriceList(long groupId, boolean catalogBasePriceList, String type, double priority) throws Exception - Throws:
Exception
-
addCommercePriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addCommercePriceList(String externalReferenceCode, long groupId, String currency, boolean netPrice, long parentCommercePriceListId, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommercePriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addCommercePriceList(String externalReferenceCode, long groupId, String currency, boolean netPrice, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommercePriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addCommercePriceList(String externalReferenceCode, long groupId, String currency, long parentCommercePriceListId, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommercePriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addCommercePriceList(String externalReferenceCode, long groupId, String currency, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommercePriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addOrUpdateCommercePriceList(String externalReferenceCode, long groupId, long commercePriceListId, String currency, long parentCommercePriceListId, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommercePriceList
public static com.liferay.commerce.price.list.model.CommercePriceList addOrUpdateCommercePriceList(String externalReferenceCode, long groupId, long commercePriceListId, String currency, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommercePriceList
public static com.liferay.commerce.price.list.model.CommercePriceList updateCommercePriceList(long groupId, long commercePriceListId, String currency, long parentCommercePriceListId, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-