1 package org.kuali.coeus.s2sgen.impl.location;
2
3 import org.kuali.coeus.common.api.country.CountryContract;
4 import org.kuali.coeus.common.api.state.StateContract;
5
6 public interface S2SLocationService {
7
8 /**
9 * Finds a Country object from the country code
10 *
11 * @param countryCode
12 * Country name
13 * @return Country object matching the code
14 */
15 CountryContract getCountryFromCode(String countryCode);
16
17 /**
18 * Finds a State object from the state name
19 * @param countryAlternateCode country 3-character code
20 * @param stateName
21 * Name of the state (two-letter state code)
22 * @return State object matching the name.
23 */
24 StateContract getStateFromName(String countryAlternateCode, String stateName);
25 }