public function getTransaction($transactionKey, AccessToken $accessToken = null)
    {
        return $this->createCommand()
            ->setAccessToken($accessToken)
            ->setRequest($this->client->get('transaction/' . $transactionKey))
            ->setResponseClass('Maba\OAuthCommerceAccountsClient\Entity\Transaction')
        ;
    }
public function getTransaction($transactionKey, AccessToken $accessToken = null)
    {
        return $this->createCommand()
            ->setAccessToken($accessToken)
            ->setRequest($this->client->get('transaction/' . $transactionKey))
            ->setResponseClass('Maba\OAuthCommerceAccountsClient\Entity\Transaction')
        ;
    }
@param string                                       $transactionKey
@param \Maba\OAuthCommerceClient\Entity\AccessToken $accessToken

@return Command<Transaction>