Class CurrencyContextConverter

java.lang.Object
com.broadleafcommerce.creditaccount.web.context.CurrencyContextConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,CurrencyContext>

public class CurrencyContextConverter extends Object implements org.springframework.core.convert.converter.Converter<String,CurrencyContext>
This converter is used to convert the value from the X-Currency-Context header to the CurrencyContext.
Author:
Dima Myroniuk (dmyroniuk)
  • Field Details

    • objectMapper

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

    • CurrencyContextConverter

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