Class VariantConverter

java.lang.Object
com.broadleafcommerce.catalog.dataimport.converter.VariantConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<com.broadleafcommerce.common.dataimport.messaging.BatchRecord,Variant>

@Deprecated public class VariantConverter extends Object implements org.springframework.core.convert.converter.Converter<com.broadleafcommerce.common.dataimport.messaging.BatchRecord,Variant>
Deprecated.
Author:
Phillip Verheyden (phillipuniverse)
  • Constructor Details

    • VariantConverter

      public VariantConverter(com.fasterxml.jackson.databind.ObjectMapper mapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
      Deprecated.
  • Method Details

    • convert

      public Variant convert(@NonNull @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord source)
      Deprecated.
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<com.broadleafcommerce.common.dataimport.messaging.BatchRecord,Variant>
    • removeAndParseOptionValues

      protected Map<String,String> removeAndParseOptionValues(@NonNull @NonNull Map<String,String> row)
      Deprecated.
    • removeAndParseAttributes

      protected Map<String,Attribute> removeAndParseAttributes(@NonNull @NonNull Map<String,String> row)
      Deprecated.
    • removeAndParseFulfillmentFlatRates

      protected Map<String,FulfillmentFlatRate> removeAndParseFulfillmentFlatRates(@NonNull @NonNull Map<String,String> row)
      Deprecated.
    • getMapper

      protected com.fasterxml.jackson.databind.ObjectMapper getMapper()
      Deprecated.
    • getTypeFactory

      protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()
      Deprecated.