public interface CPAvailabilityChecker
Modifier and Type | Method and Description |
---|---|
boolean |
check(long commerceChannelGroupId,
CPInstance cpInstance,
int quantity) |
boolean |
isAvailable(long commerceChannelGroupId,
CPInstance cpInstance,
int quantity) |
boolean |
isPurchasable(CPInstance cpInstance) |
boolean check(long commerceChannelGroupId, CPInstance cpInstance, int quantity) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
boolean isAvailable(long commerceChannelGroupId, CPInstance cpInstance, int quantity) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
boolean isPurchasable(CPInstance cpInstance) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException