Class PriceDataConverter
java.lang.Object
com.broadleafcommerce.pricing.dataimport.converter.PriceDataConverter
- All Implemented Interfaces:
 org.springframework.core.convert.converter.Converter<com.broadleafcommerce.common.dataimport.messaging.BatchRecord,PriceData> 
public class PriceDataConverter
extends Object
implements org.springframework.core.convert.converter.Converter<com.broadleafcommerce.common.dataimport.messaging.BatchRecord,PriceData> 
- Author:
 - Vitalii Voronkov (vvoronkov)
 
- 
Constructor Summary
ConstructorsConstructorDescriptionPriceDataConverter(com.fasterxml.jackson.databind.ObjectMapper mapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory)  - 
Method Summary
Modifier and TypeMethodDescriptionconvert(@NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord source) protected com.broadleafcommerce.pricing.client.domain.PriceableTargetRefconvertTarget(com.broadleafcommerce.common.dataimport.messaging.BatchRecord source) protected com.fasterxml.jackson.databind.ObjectMapperprotected com.broadleafcommerce.common.extension.TypeFactoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen 
- 
Constructor Details
- 
PriceDataConverter
public PriceDataConverter(com.fasterxml.jackson.databind.ObjectMapper mapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory)  
 - 
 - 
Method Details
- 
convert
public PriceData convert(@NonNull @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord source) - Specified by:
 convertin interfaceorg.springframework.core.convert.converter.Converter<com.broadleafcommerce.common.dataimport.messaging.BatchRecord,PriceData> 
 - 
convertTarget
protected com.broadleafcommerce.pricing.client.domain.PriceableTargetRef convertTarget(com.broadleafcommerce.common.dataimport.messaging.BatchRecord source)  - 
getMapper
protected com.fasterxml.jackson.databind.ObjectMapper getMapper() - 
getTypeFactory
protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory() 
 -