Interface CommercePriceFormatter
public interface CommercePriceFormatter
-
Method Summary
Modifier and TypeMethodDescriptionformat(CommerceCurrency commerceCurrency, BigDecimal price, Locale locale) format(BigDecimal price, Locale locale) formatAsRelative(CommerceCurrency commerceCurrency, BigDecimal price, Locale locale) parse(javax.portlet.ActionRequest actionRequest, boolean allowNegativeValue, String className, String param)
-
Method Details
-
format
String format(BigDecimal price, Locale locale) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
format
String format(CommerceCurrency commerceCurrency, BigDecimal price, Locale locale) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
formatAsRelative
-
parse
BigDecimal parse(javax.portlet.ActionRequest actionRequest, boolean allowNegativeValue, String className, String param) throws Exception - Throws:
Exception
-
parse
String parse(boolean allowNegativeValue, String className, String price, Locale locale) throws Exception - Throws:
Exception
-