public function details($transactionId)
    {
        $transactionData = $this->getTransactionResource()->get($transactionId);

        if ($transactionData instanceof \Exception) {
            throw $transactionData;
        }

        return TransactionObject::make($transactionData);
    }
public function details($transactionId)
    {
        $transactionData = $this->getTransactionResource()->get($transactionId);

        if ($transactionData instanceof \Exception) {
            throw $transactionData;
        }

        return TransactionObject::make($transactionData);
    }
public function details ( $ transactionId ) { $ transactionData = $ this -> getTransactionResource ( ) -> get ( $ transactionId ) ; if ( $ transactionData instanceof \ Exception ) { throw $ transactionData ; } return TransactionObject :: make ( $ transactionData ) ; }
Get transaction details.

@param $transactionId

@throws \Exception|mixed

@return \MAbiola\Paystack\Models\Transaction
Get transaction details .