original_string: public function getPClasses($type = null)
      {
          $this->_checkConfig();
  
          if (!$this->pclasses) {
              $this->pclasses = $this->getPCStorage();
              $this->pclasses->load($this->pcURI);
          }
          $tmp = $this->pclasses->getPClasses(
              $this->_eid, $this->_country, $type
          );
          $this->sortPClasses($tmp[$this->_eid]);
          return $tmp[$this->_eid];
      }
code: public function getPClasses($type = null)
      {
          $this->_checkConfig();
  
          if (!$this->pclasses) {
              $this->pclasses = $this->getPCStorage();
              $this->pclasses->load($this->pcURI);
          }
          $tmp = $this->pclasses->getPClasses(
              $this->_eid, $this->_country, $type
          );
          $this->sortPClasses($tmp[$this->_eid]);
          return $tmp[$this->_eid];
      }
code_tokens: public function getPClasses ( $ type = null ) { $ this -> _checkConfig ( ) ; if ( ! $ this -> pclasses ) { $ this -> pclasses = $ this -> getPCStorage ( ) ; $ this -> pclasses -> load ( $ this -> pcURI ) ; } $ tmp = $ this -> pclasses -> getPClasses ( $ this -> _eid , $ this -> _country , $ type ) ; $ this -> sortPClasses ( $ tmp [ $ this -> _eid ] ) ; return $ tmp [ $ this -> _eid ] ; }
docstring: Retrieves the specified PClasses.
  
  <b>Type can be</b>:<br>
  {@link KlarnaPClass::CAMPAIGN}<br>
  {@link KlarnaPClass::ACCOUNT}<br>
  {@link KlarnaPClass::SPECIAL}<br>
  {@link KlarnaPClass::FIXED}<br>
  {@link KlarnaPClass::DELAY}<br>
  {@link KlarnaPClass::MOBILE}<br>
  
  @param int $type PClass type identifier.
  
  @throws KlarnaException
  @return array An array of PClasses. [KlarnaPClass]
docstring_tokens: Retrieves the specified PClasses .