Model/OrderPayment.php
public function loadByTransactionId($transactionId)
    {
        $result = false;
        $data = $this->getDbGateway()->loadByTransactionId($transactionId);
        if ($data) {
            $this->setData($data);
            $result = true;
        }

        return $result;
    }
public function loadByTransactionId($transactionId)
    {
        $result = false;
        $data = $this->getDbGateway()->loadByTransactionId($transactionId);
        if ($data) {
            $this->setData($data);
            $result = true;
        }

        return $result;
    }
public function loadByTransactionId ( $ transactionId ) { $ result = false ; $ data = $ this -> getDbGateway ( ) -> loadByTransactionId ( $ transactionId ) ; if ( $ data ) { $ this -> setData ( $ data ) ; $ result = true ; } return $ result ; }
Load payment data by given transaction id

@param string $transactionId transaction id

@return bool
Load payment data by given transaction id