public function getCountryCode($country = null)
    {
        if ($country === null) {
            $country = $this->_country;
        }

        $code = KlarnaCountry::getCode($country);
        return (string) $code;
    }
public function getCountryCode($country = null)
    {
        if ($country === null) {
            $country = $this->_country;
        }

        $code = KlarnaCountry::getCode($country);
        return (string) $code;
    }
public function getCountryCode ( $ country = null ) { if ( $ country === null ) { $ country = $ this -> _country ; } $ code = KlarnaCountry :: getCode ( $ country ) ; return ( string ) $ code ; }
Returns the country code for the set country constant.

@param int $country {@link KlarnaCountry Country} constant.

@return string  Two letter code, e.g. "se", "no", etc.
Returns the country code for the set country constant .