src/API/Implementation/ApiAbstract.php
private function getApiResponseContext(RequestContext $requestContext): ResponseContextAbstract
    {
        $responseContext = $this->httpClient->sendRequest(
            $requestContext
        );

        $this->processApiResponseContextErrors($responseContext);

        return $responseContext;
    }
private function getApiResponseContext(RequestContext $requestContext): ResponseContextAbstract
    {
        $responseContext = $this->httpClient->sendRequest(
            $requestContext
        );

        $this->processApiResponseContextErrors($responseContext);

        return $responseContext;
    }
private function getApiResponseContext ( RequestContext $ requestContext ) : ResponseContextAbstract { $ responseContext = $ this -> httpClient -> sendRequest ( $ requestContext ) ; $ this -> processApiResponseContextErrors ( $ responseContext ) ; return $ responseContext ; }
Accepts RequestContext and sends it to API to get ResponseContext

@param RequestContext $requestContext

@throws TransportException
@throws ResponseContextException
@throws BadResponseContextException

@return ResponseContextAbstract
Accepts RequestContext and sends it to API to get ResponseContext