public function getTransaction($transactionId): QueryInterface
    {
        $uri = $this->getUri('query', $this->getParameters(['transactionId' => $transactionId]));
        /** @var QueryInterface $response */
        $response = $this->performRequest((string) $uri);

        Assert::isInstanceOf($response, QueryInterface::class, 'Invalid response');
        Assert::isInstanceOf($response, ErrorInterface::class, 'Invalid response');

        return $response;
    }
public function getTransaction($transactionId): QueryInterface
    {
        $uri = $this->getUri('query', $this->getParameters(['transactionId' => $transactionId]));
        /** @var QueryInterface $response */
        $response = $this->performRequest((string) $uri);

        Assert::isInstanceOf($response, QueryInterface::class, 'Invalid response');
        Assert::isInstanceOf($response, ErrorInterface::class, 'Invalid response');

        return $response;
    }
public function getTransaction ( $ transactionId ) : QueryInterface { $ uri = $ this -> getUri ( 'query' , $ this -> getParameters ( [ 'transactionId' => $ transactionId ] ) ) ; /** @var QueryInterface $response */ $ response = $ this -> performRequest ( ( string ) $ uri ) ; Assert :: isInstanceOf ( $ response , QueryInterface :: class , 'Invalid response' ) ; Assert :: isInstanceOf ( $ response , ErrorInterface :: class , 'Invalid response' ) ; return $ response ; }
Get a Query response object for the provided transaction ID.

@param string $transactionId

@return QueryInterface
Get a Query response object for the provided transaction ID .