public function setRequestFactory(HttpRequestFactory $requestFactory = null)
    {
        if (!$requestFactory) {
            $requestFactory = $this->apiDiscoveryProxy->discoverRequestFactory();
        }

        $this->requestFactory = $requestFactory;

        return $this;
    }