Class DiscountValueParser
java.lang.Object
de.hybris.platform.platformbackoffice.taxdiscountvalueparser.TaxDiscountValueParser
de.hybris.platform.platformbackoffice.taxdiscountvalueparser.DiscountValueParser
- All Implemented Interfaces:
ValueParser<DiscountValue>
public class DiscountValueParser
extends TaxDiscountValueParser
implements ValueParser<DiscountValue>
-
Field Summary
Fields inherited from class de.hybris.platform.platformbackoffice.taxdiscountvalueparser.TaxDiscountValueParser
commonI18NService, compiledPattern, currencyDao, formatFactory, pattern, patternExplained, SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TaxOrDiscountcreateParsedObject(Matcher matcher, String code, double value, double appliedValue, boolean isAbsolute, String currencyIsoCode) render(DiscountValue discountValue) Methods inherited from class de.hybris.platform.platformbackoffice.taxdiscountvalueparser.TaxDiscountValueParser
appendPart, parseTaxOrDiscount, render, setCommonI18NService, setCurrencyDao, setFormatFactory, setPattern, setPatternExplained
-
Constructor Details
-
DiscountValueParser
public DiscountValueParser()
-
-
Method Details
-
parse
- Specified by:
parsein interfaceValueParser<DiscountValue>- Throws:
ParserException
-
render
- Specified by:
renderin interfaceValueParser<DiscountValue>
-
createParsedObject
protected TaxOrDiscount createParsedObject(Matcher matcher, String code, double value, double appliedValue, boolean isAbsolute, String currencyIsoCode) - Overrides:
createParsedObjectin classTaxDiscountValueParser
-