Interface S2SLocationService
- All Known Implementing Classes:
S2SLocationServiceImpl
public interface S2SLocationService
-
Method Summary
Modifier and TypeMethodDescriptionorg.kuali.coeus.common.api.country.CountryContractgetCountryFromCode(String countryCode) Finds a Country object from the country codeorg.kuali.coeus.common.api.state.StateContractgetStateFromCode(String countryAlternateCode, String stateCode) Finds a State object from the state name
-
Method Details
-
getCountryFromCode
Finds a Country object from the country code- Parameters:
countryCode- Country name- Returns:
- Country object matching the code
-
getStateFromCode
org.kuali.coeus.common.api.state.StateContract getStateFromCode(String countryAlternateCode, String stateCode) Finds a State object from the state name- Parameters:
countryAlternateCode- country 3-character codestateCode- Code of the state (two-letter state code)- Returns:
- State object matching the name.
-