Package com.liferay.commerce.util
Interface CommerceShippingHelper
@ProviderType
public interface CommerceShippingHelper
-
Method Summary
Modifier and TypeMethodDescriptiongetDimensions(CommerceOrderItem commerceOrderItem) getDimensions(com.liferay.commerce.product.model.CPInstance cpInstance) getDimensions(List<CommerceOrderItem> commerceOrderItems) doublegetWeight(CommerceOrderItem commerceOrderItem) doublegetWeight(com.liferay.commerce.product.model.CPInstance cpInstance) doublegetWeight(List<CommerceOrderItem> commerceOrderItems) booleanisFreeShipping(CommerceOrder commerceOrder) booleanisShippable(CommerceOrder commerceOrder)
-
Method Details
-
getDimensions
-
getDimensions
-
getDimensions
Dimensions getDimensions(List<CommerceOrderItem> commerceOrderItems) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWeight
-
getWeight
double getWeight(com.liferay.commerce.product.model.CPInstance cpInstance) -
getWeight
double getWeight(List<CommerceOrderItem> commerceOrderItems) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
isFreeShipping
boolean isFreeShipping(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
isShippable
boolean isShippable(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-