original_string: public function setCountry($country)
      {
          if (!is_numeric($country)
              && (strlen($country) == 2 || strlen($country) == 3)
          ) {
              $country = KlarnaCountry::fromCode($country);
          }
          $this->_checkCountry($country);
          $this->_country = $country;
      }
code: public function setCountry($country)
      {
          if (!is_numeric($country)
              && (strlen($country) == 2 || strlen($country) == 3)
          ) {
              $country = KlarnaCountry::fromCode($country);
          }
          $this->_checkCountry($country);
          $this->_country = $country;
      }
code_tokens: public function setCountry ( $ country ) { if ( ! is_numeric ( $ country ) && ( strlen ( $ country ) == 2 || strlen ( $ country ) == 3 ) ) { $ country = KlarnaCountry :: fromCode ( $ country ) ; } $ this -> _checkCountry ( $ country ) ; $ this -> _country = $ country ; }
docstring: Sets the country used.
  
  <b>Note</b>:<br>
  If you input 'dk', 'fi', 'de', 'nl', 'no' or 'se', <br>
  then currency and language will be set to mirror that country.<br>
  
  @param string|int $country {@link KlarnaCountry}
  
  @see KlarnaCountry
  
  @throws KlarnaException
  @return void
docstring_tokens: Sets the country used .