public class DiscountValueParser extends TaxDiscountValueParser implements ValueParser<DiscountValue>
commonI18NService, compiledPattern, currencyDao, formatFactory, pattern, patternExplained, SEPARATOR| Constructor and Description |
|---|
DiscountValueParser() |
| Modifier and Type | Method and Description |
|---|---|
protected TaxOrDiscount |
createParsedObject(java.util.regex.Matcher matcher,
java.lang.String code,
double value,
double appliedValue,
boolean isAbsolute,
java.lang.String currencyIsoCode) |
DiscountValue |
parse(java.lang.String stringValue) |
java.lang.String |
render(DiscountValue discountValue) |
appendPart, parseTaxOrDiscount, render, setCommonI18NService, setCurrencyDao, setFormatFactory, setPattern, setPatternExplainedpublic DiscountValue parse(java.lang.String stringValue) throws ParserException
parse in interface ValueParser<DiscountValue>ParserExceptionpublic java.lang.String render(DiscountValue discountValue)
render in interface ValueParser<DiscountValue>protected TaxOrDiscount createParsedObject(java.util.regex.Matcher matcher, java.lang.String code, double value, double appliedValue, boolean isAbsolute, java.lang.String currencyIsoCode)
createParsedObject in class TaxDiscountValueParserCopyright © 2018 SAP SE. All Rights Reserved.