org.broadleafcommerce.common.web
Class BroadleafCurrencyResolverImpl

java.lang.Object
  extended by org.broadleafcommerce.common.web.BroadleafCurrencyResolverImpl
All Implemented Interfaces:
BroadleafCurrencyResolver

@Component(value="blCurrencyResolver")
public class BroadleafCurrencyResolverImpl
extends Object
implements BroadleafCurrencyResolver

Responsible for returning the currency to use for the current request.


Field Summary
static String CURRENCY_CODE_PARAM
          Parameter/Attribute name for the current currency code
static String CURRENCY_VAR
          Parameter/Attribute name for the current currency
 
Constructor Summary
BroadleafCurrencyResolverImpl()
           
 
Method Summary
 BroadleafCurrency resolveCurrency(javax.servlet.http.HttpServletRequest request)
          Responsible for returning the currency to use for the current request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURRENCY_CODE_PARAM

public static String CURRENCY_CODE_PARAM
Parameter/Attribute name for the current currency code


CURRENCY_VAR

public static String CURRENCY_VAR
Parameter/Attribute name for the current currency

Constructor Detail

BroadleafCurrencyResolverImpl

public BroadleafCurrencyResolverImpl()
Method Detail

resolveCurrency

public BroadleafCurrency resolveCurrency(javax.servlet.http.HttpServletRequest request)
Responsible for returning the currency to use for the current request.

Specified by:
resolveCurrency in interface BroadleafCurrencyResolver


Copyright © 2013. All Rights Reserved.