public function getAccountInformation() {
    $url = $this->url . self::$API_ROUTES['ACCOUNT_INFO'];
    $url .= '?apiVersion=' . $this->apiVersion;

    $result = $this->doGet($url, array(), false);

    if ($result !== null && is_object($result)) {
      $accountInfo = AccountInformation::getFromJson($result);

      if ($accountInfo != null) {
        return $accountInfo;
      }
    }

    return null;
  }
public function getAccountInformation() {
    $url = $this->url . self::$API_ROUTES['ACCOUNT_INFO'];
    $url .= '?apiVersion=' . $this->apiVersion;

    $result = $this->doGet($url, array(), false);

    if ($result !== null && is_object($result)) {
      $accountInfo = AccountInformation::getFromJson($result);

      if ($accountInfo != null) {
        return $accountInfo;
      }
    }

    return null;
  }
public function getAccountInformation ( ) { $ url = $ this -> url . self :: $ API_ROUTES [ 'ACCOUNT_INFO' ] ; $ url .= '?apiVersion=' . $ this -> apiVersion ; $ result = $ this -> doGet ( $ url , array ( ) , false ) ; if ( $ result !== null && is_object ( $ result ) ) { $ accountInfo = AccountInformation :: getFromJson ( $ result ) ; if ( $ accountInfo != null ) { return $ accountInfo ; } } return null ; }
Get information about the API account.
Get information about the API account .