/** * @param $path * @return string */ public function getRequestUrl($path) { return parent::getServiceUrl() . $path; }
/** * Get OAuth data for header request * * @see http://api.yandex.ru/market/partner/doc/dg/concepts/authorization.xml * * @return string */ public function getAccessToken() { return 'oauth_token=' . parent::getAccessToken() . ', oauth_client_id=' . $this->getClientId() . ', oauth_login=' . $this->getLogin(); }