Interface KcStateService


  • public interface KcStateService
    • 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