Class PriceInfoContextConverter

java.lang.Object
com.broadleafcommerce.catalogbrowse.web.converter.PriceInfoContextConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext>

public class PriceInfoContextConverter extends Object implements org.springframework.core.convert.converter.Converter<String,com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext>
Author:
Nathan Moore (nathandmoore)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final com.fasterxml.jackson.databind.ObjectMapper
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    PriceInfoContextConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext
    convert(@NonNull String source)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.core.convert.converter.Converter

    andThen
  • Field Details

    • objectMapper

      protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
  • Constructor Details

    • PriceInfoContextConverter

      public PriceInfoContextConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details

    • convert

      public com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext convert(@NonNull @NonNull String source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<String,com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext>