Package org.kuali.coeus.common.api.state
Interface KcStateService
-
public interface KcStateService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StateContractgetState(String countryCode, String code)This method retrieves a state by country code and state code.
-
-
-
Method Detail
-
getState
StateContract getState(String countryCode, String code)
This method retrieves a state by country code and state code. If the state is not found null is returned. Both the country code and state code cannot be blank.- Parameters:
countryCode- the country code. cannot be blank.code- the state code. cannot be blank.- Returns:
- the state or null if not found.
- Throws:
IllegalArgumentException- if the countryCode, code is blank
-
-