Class SkuInventoryConverter
- java.lang.Object
-
- com.broadleafcommerce.inventory.dataimport.converter.SkuInventoryConverter
-
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<com.broadleafcommerce.common.dataimport.messaging.BatchRecord,SkuInventory>
public class SkuInventoryConverter extends Object implements org.springframework.core.convert.converter.Converter<com.broadleafcommerce.common.dataimport.messaging.BatchRecord,SkuInventory>
- Author:
- Kelly Tisdell (ktisdell)
-
-
Constructor Summary
Constructors Constructor Description SkuInventoryConverter(com.fasterxml.jackson.databind.ObjectMapper mapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SkuInventory
convert(@NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord source)
protected com.fasterxml.jackson.databind.ObjectMapper
getMapper()
protected com.broadleafcommerce.common.extension.TypeFactory
getTypeFactory()
-
-
-
Method Detail
-
convert
public SkuInventory convert(@NonNull @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord source)
- Specified by:
convert
in interfaceorg.springframework.core.convert.converter.Converter<com.broadleafcommerce.common.dataimport.messaging.BatchRecord,SkuInventory>
-
getMapper
protected com.fasterxml.jackson.databind.ObjectMapper getMapper()
-
getTypeFactory
protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()
-
-