client); } /** * Retrieve details about the partner status of the currently authenticated organization. * * Will throw an ApiException if the resource cannot be found. * * @return Partner * @throws ApiException */ public function get() { return $this->rest_read('', []); } /** * @param string $id * @param array $filters * * @return mixed * @throws \Mollie\Api\Exceptions\ApiException */ protected function rest_read($id, array $filters) { $result = $this->client->performHttpCall(self::REST_READ, $this->getResourcePath() . $this->buildQueryString($filters)); return \Mollie\Api\Resources\ResourceFactory::createFromApiResult($result, $this->getResourceObject()); } }