com.elasticpath.sfweb.ajax.service
Interface GeographyController

All Known Implementing Classes:
GeographyControllerImpl

public interface GeographyController

Provides geography related services for ajax.


Method Summary
 java.util.Map getSubCountries(java.lang.String countryCode, javax.servlet.http.HttpServletRequest request)
          Returns a map of all subcountries within a particular country.
 

Method Detail

getSubCountries

java.util.Map getSubCountries(java.lang.String countryCode,
                              javax.servlet.http.HttpServletRequest request)
Returns a map of all subcountries within a particular country. If no locale is matched default values are returned.

Parameters:
countryCode - ISO two letter country code (ex: US)
request - the request object containing the shopping cart
Returns:
map containing keys and localized values of all available subcountries