<?php

namespace Omnipay\Mollie\Message;

/**
 * Mollie Fetch Transaction Request
 *
 * @method \Omnipay\Mollie\Message\FetchTransactionResponse send()
 */
class FetchTransactionRequest extends AbstractRequest
{
    public function getData()
    {
        $this->validate('apiKey', 'transactionReference');

        $data = array();
        $data['id'] = $this->getTransactionReference();

        return $data;
    }

    public function sendData($data)
    {
        $httpResponse = $this->sendRequest('GET', '/payments/' . $data['id']);

        return $this->response = new FetchTransactionResponse($this, $httpResponse->json());
    }
}

<?php

namespace Omnipay\Mollie\Message;

/**
 * Mollie Fetch Transaction Request
 *
 * @method \Omnipay\Mollie\Message\FetchTransactionResponse send()
 */
class FetchTransactionRequest extends AbstractRequest
{
    public function getTransactionReference()
    {
        return $this->getParameter('transactionReference');
    }

    public function setTransactionReference($value)
    {
        return $this->setParameter('transactionReference', $value);
    }

    public function getData()
    {
        $this->validate('apiKey', 'transactionReference');

        $data = array();
        $data['id'] = $this->getTransactionReference();

        return $data;
    }

    public function sendData($data)
    {
        $httpResponse = $this->sendRequest('GET', '/payments/' . $data['id']);

        return $this->response = new FetchTransactionResponse($this, $httpResponse->json());
    }
}

--- 
+++ 
@@ -9,16 +9,6 @@
  */
 class FetchTransactionRequest extends AbstractRequest
 {
-    public function getTransactionReference()
-    {
-        return $this->getParameter('transactionReference');
-    }
-
-    public function setTransactionReference($value)
-    {
-        return $this->setParameter('transactionReference', $value);
-    }
-
     public function getData()
     {
         $this->validate('apiKey', 'transactionReference');
Remove get/setTransactionReference() as they are already defined in AbstractRequest
