public class CommercePriceEntryTestUtil
extends java.lang.Object
| Constructor and Description |
|---|
CommercePriceEntryTestUtil() |
| Modifier and Type | Method and Description |
|---|---|
static com.liferay.commerce.price.list.model.CommercePriceEntry |
addCommercePriceEntry(long groupId) |
static com.liferay.commerce.price.list.model.CommercePriceEntry |
addCommercePriceEntry(java.lang.String externalReferenceCode,
long skuId,
long commercePriceListId,
java.lang.Double price,
java.lang.Double promoPrice) |
static com.liferay.commerce.price.list.model.CommercePriceEntry |
addCommercePriceEntry(java.lang.String externalReferenceCode,
long cpProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.math.BigDecimal price) |
static com.liferay.commerce.price.list.model.CommercePriceEntry |
addOrUpdateCommercePriceEntry(java.lang.String externalReferenceCode,
long commercePriceEntryId,
long skuId,
long commercePriceListId,
java.lang.String skuExternalReferenceCode,
java.lang.Double price,
java.lang.Double promoPrice) |
static com.liferay.commerce.price.list.model.CommercePriceEntry |
addOrUpdateCommercePriceEntry(java.lang.String externalReferenceCode,
long commercePriceEntryId,
long skuId,
long commercePriceListId,
java.lang.String skuExternalReferenceCode,
java.lang.Double price,
java.lang.Double promoPrice,
java.lang.String unitOfMeasureKey) |
static void |
deleteCommercePriceEntries(java.lang.String cpInstanceUuid,
java.math.BigDecimal quantity,
java.lang.String unitOfMeasureKey) |
static java.util.List<com.liferay.commerce.price.list.model.CommercePriceEntry> |
getCommercePriceEntries(java.lang.String cpInstanceUuid,
java.math.BigDecimal quantity,
java.lang.String unitOfMeasureKey) |
public static com.liferay.commerce.price.list.model.CommercePriceEntry addCommercePriceEntry(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.commerce.price.list.model.CommercePriceEntry addCommercePriceEntry(java.lang.String externalReferenceCode,
long skuId,
long commercePriceListId,
java.lang.Double price,
java.lang.Double promoPrice)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.commerce.price.list.model.CommercePriceEntry addCommercePriceEntry(java.lang.String externalReferenceCode,
long cpProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.math.BigDecimal price)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.commerce.price.list.model.CommercePriceEntry addOrUpdateCommercePriceEntry(java.lang.String externalReferenceCode,
long commercePriceEntryId,
long skuId,
long commercePriceListId,
java.lang.String skuExternalReferenceCode,
java.lang.Double price,
java.lang.Double promoPrice)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.commerce.price.list.model.CommercePriceEntry addOrUpdateCommercePriceEntry(java.lang.String externalReferenceCode,
long commercePriceEntryId,
long skuId,
long commercePriceListId,
java.lang.String skuExternalReferenceCode,
java.lang.Double price,
java.lang.Double promoPrice,
java.lang.String unitOfMeasureKey)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteCommercePriceEntries(java.lang.String cpInstanceUuid,
java.math.BigDecimal quantity,
java.lang.String unitOfMeasureKey)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<com.liferay.commerce.price.list.model.CommercePriceEntry> getCommercePriceEntries(java.lang.String cpInstanceUuid,
java.math.BigDecimal quantity,
java.lang.String unitOfMeasureKey)