getStateCodes abstract method
- CountryCode countryCode
Synchronously loads the list of state codes from a specified country for which administrative rules are availabe.
These state codes can then be used to get specific
administrative rules for a specified state using the get_administrative_rules() method.
Returns a list with all the state codes available in the country. In case the country has no
states, the list will be empty.
countryCodeThe country code for which the state codes are going to be retrieved.
Returns List<String>. The list of state codes present in the country for which administrative rules
are available.
Throws if it's not possible to return the list of state codes.
Throws MapDataLoaderExceptionException. Specifies reason, why the list of state codes was not returned.
Implementation
List<String> getStateCodes(CountryCode countryCode);