Interface S2SLocationService

All Known Implementing Classes:
S2SLocationServiceImpl

public interface S2SLocationService
  • Method Summary

    Modifier and Type
    Method
    Description
    org.kuali.coeus.common.api.country.CountryContract
    Finds a Country object from the country code
    org.kuali.coeus.common.api.state.StateContract
    getStateFromCode(String countryAlternateCode, String stateCode)
    Finds a State object from the state name
  • Method Details

    • getCountryFromCode

      org.kuali.coeus.common.api.country.CountryContract getCountryFromCode(String countryCode)
      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 code
      stateCode - Code of the state (two-letter state code)
      Returns:
      State object matching the name.