Class PricingCatalogCurrencyContextInfoCustomizer
- java.lang.Object
-
- com.broadleafcommerce.pricing.service.context.PricingCatalogCurrencyContextInfoCustomizer
-
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.context.ContextInfoCustomizer
,org.springframework.core.Ordered
public class PricingCatalogCurrencyContextInfoCustomizer extends Object implements com.broadleafcommerce.data.tracking.core.context.ContextInfoCustomizer
This component attempts to resolve the defaultCurrency
for this request.
-
-
Constructor Summary
Constructors Constructor Description PricingCatalogCurrencyContextInfoCustomizer(com.broadleafcommerce.common.extension.data.DataRouteSupporting route)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customize(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, String routeKey, org.springframework.core.MethodParameter endpoint, org.springframework.web.context.request.NativeWebRequest webRequest)
void
setCurrencyHolder(com.broadleafcommerce.money.jackson.CurrencyHolder currencyHolder)
-
-
-
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 interfacecom.broadleafcommerce.data.tracking.core.context.ContextInfoCustomizer
-
setCurrencyHolder
@Autowired public void setCurrencyHolder(com.broadleafcommerce.money.jackson.CurrencyHolder currencyHolder)
-
-