original_string: public function getPClass($id)
      {
          if (!is_numeric($id)) {
              throw new Klarna_InvalidTypeException('id', 'integer');
          }
  
          $this->_checkConfig();
  
          if (!$this->pclasses || !($this->pclasses instanceof PCStorage)) {
              $this->pclasses = $this->getPCStorage();
              $this->pclasses->load($this->pcURI);
          }
          return $this->pclasses->getPClass(
              intval($id), $this->_eid, $this->_country
          );
      }
code: public function getPClass($id)
      {
          if (!is_numeric($id)) {
              throw new Klarna_InvalidTypeException('id', 'integer');
          }
  
          $this->_checkConfig();
  
          if (!$this->pclasses || !($this->pclasses instanceof PCStorage)) {
              $this->pclasses = $this->getPCStorage();
              $this->pclasses->load($this->pcURI);
          }
          return $this->pclasses->getPClass(
              intval($id), $this->_eid, $this->_country
          );
      }
code_tokens: public function getPClass ( $ id ) { if ( ! is_numeric ( $ id ) ) { throw new Klarna_InvalidTypeException ( 'id' , 'integer' ) ; } $ this -> _checkConfig ( ) ; if ( ! $ this -> pclasses || ! ( $ this -> pclasses instanceof PCStorage ) ) { $ this -> pclasses = $ this -> getPCStorage ( ) ; $ this -> pclasses -> load ( $ this -> pcURI ) ; } return $ this -> pclasses -> getPClass ( intval ( $ id ) , $ this -> _eid , $ this -> _country ) ; }
docstring: Returns the specified PClass.
  
  @param int $id The PClass ID.
  
  @return KlarnaPClass
docstring_tokens: Returns the specified PClass .