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>
ConvertsAbstractOrderRAOtoCurrency.
-
-
Constructor Summary
Constructors Constructor Description AbstractOrderRaoToCurrencyConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Currencyconvert(AbstractOrderRAO source)Converts the source object, creating a new instance of the destination typeCurrencyconvert(AbstractOrderRAO paramSOURCE, Currency paramTARGET)Convert the source object by filling the prototypeprotected CurrencyUtilsgetCurrencyUtils()voidsetCurrencyUtils(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:ConverterConverts the source object, creating a new instance of the destination type- Specified by:
convertin interfaceConverter<AbstractOrderRAO,Currency>- Specified by:
convertin 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:ConverterConvert the source object by filling the prototype- Specified by:
convertin 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)
-
-