@ Override public CountryContract getCountryFromCode ( String countryCode ) { if ( StringUtils . isBlank ( countryCode ) ) return null ; CountryContract country = getKcCountryService ( ) . getCountryByAlternateCode ( countryCode ) ; if ( country == null ) { country = getKcCountryService ( ) . getCountry ( countryCode ) ; } return country ; }
This method is to get a Country object from the country code