Class CommerceTierPriceEntryTestUtil
java.lang.Object
com.liferay.commerce.test.util.price.list.CommerceTierPriceEntryTestUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.commerce.price.list.model.CommerceTierPriceEntry
addCommerceTierPriceEntry
(long commercePriceEntryId, double minQuantity, double price, double promoPrice, String externalReferenceCode) static com.liferay.commerce.price.list.model.CommerceTierPriceEntry
addOrUpdateCommerceTierPriceEntry
(long companyId, long commerceTierPriceEntryId, long commercePriceEntryId, double minQuantity, double price, double promoPrice, String externalReferenceCode, String priceEntryExternalReferenceCode)
-
Constructor Details
-
CommerceTierPriceEntryTestUtil
public CommerceTierPriceEntryTestUtil()
-
-
Method Details
-
addCommerceTierPriceEntry
public static com.liferay.commerce.price.list.model.CommerceTierPriceEntry addCommerceTierPriceEntry(long commercePriceEntryId, double minQuantity, double price, double promoPrice, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceTierPriceEntry
public static com.liferay.commerce.price.list.model.CommerceTierPriceEntry addOrUpdateCommerceTierPriceEntry(long companyId, long commerceTierPriceEntryId, long commercePriceEntryId, double minQuantity, double price, double promoPrice, String externalReferenceCode, String priceEntryExternalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-