Class PriceContextConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<String,​com.broadleafcommerce.pricing.client.domain.context.PriceContext>

    public class PriceContextConverter
    extends Object
    implements org.springframework.core.convert.converter.Converter<String,​com.broadleafcommerce.pricing.client.domain.context.PriceContext>
    Author:
    Chad Harchar (charchar)
    • Field Detail

      • objectMapper

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

      • PriceContextConverter

        public PriceContextConverter​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • convert

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