Class AbstractOrderRaoToCurrencyConverter
- java.lang.Object
-
- de.hybris.platform.ruleengineservices.converters.AbstractOrderRaoToCurrencyConverter
-
- All Implemented Interfaces:
Converter<AbstractOrderRAO,Currency>
,org.springframework.core.convert.converter.Converter<AbstractOrderRAO,Currency>
public class AbstractOrderRaoToCurrencyConverter extends java.lang.Object implements Converter<AbstractOrderRAO,Currency>
ConvertsAbstractOrderRAO
toCurrency
.
-
-
Constructor Summary
Constructors Constructor Description AbstractOrderRaoToCurrencyConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Currency
convert(AbstractOrderRAO source)
Converts the source object, creating a new instance of the destination typeCurrency
convert(AbstractOrderRAO paramSOURCE, Currency paramTARGET)
Convert the source object by filling the prototypeprotected CurrencyUtils
getCurrencyUtils()
void
setCurrencyUtils(CurrencyUtils currencyUtils)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.servicelayer.dto.converter.Converter
convertAll, convertAllIgnoreExceptions, getLogger
-
-
-
-
Method Detail
-
convert
public Currency convert(AbstractOrderRAO source)
Description copied from interface:Converter
Converts the source object, creating a new instance of the destination type- Specified by:
convert
in interfaceConverter<AbstractOrderRAO,Currency>
- Specified by:
convert
in interfaceorg.springframework.core.convert.converter.Converter<AbstractOrderRAO,Currency>
- Parameters:
source
- the source object- Returns:
- the converted object
-
convert
public Currency convert(AbstractOrderRAO paramSOURCE, Currency paramTARGET)
Description copied from interface:Converter
Convert the source object by filling the prototype- Specified by:
convert
in interfaceConverter<AbstractOrderRAO,Currency>
- Parameters:
paramSOURCE
- the source objectparamTARGET
- the prototype to fill- Returns:
- the converted object, identical to the prototype
-
getCurrencyUtils
protected CurrencyUtils getCurrencyUtils()
-
setCurrencyUtils
public void setCurrencyUtils(CurrencyUtils currencyUtils)
-
-