Class CommerceTierPriceEntryTestUtil

java.lang.Object
com.liferay.commerce.test.util.price.list.CommerceTierPriceEntryTestUtil

public class CommerceTierPriceEntryTestUtil extends Object
  • 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