Class CartDefaultCurrencyContextInfoCustomizer

  • All Implemented Interfaces:
    com.broadleafcommerce.data.tracking.core.context.ContextInfoCustomizer, org.springframework.core.Ordered

    public class CartDefaultCurrencyContextInfoCustomizer
    extends Object
    implements com.broadleafcommerce.data.tracking.core.context.ContextInfoCustomizer
    Sets the default currency for this request, given the correct route.
    Author:
    Kelly Tisdell (ktisdell)
    • Field Summary

      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Constructor Detail

      • CartDefaultCurrencyContextInfoCustomizer

        public CartDefaultCurrencyContextInfoCustomizer​(com.broadleafcommerce.common.extension.data.DataRouteSupporting route)
    • Method Detail

      • customize

        public void customize​(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo,
                              String routeKey,
                              org.springframework.core.MethodParameter endpoint,
                              org.springframework.web.context.request.NativeWebRequest webRequest)
        Specified by:
        customize in interface com.broadleafcommerce.data.tracking.core.context.ContextInfoCustomizer