Skip to content

Commit

Permalink
Merge pull request #22 from adronitis/master
Browse files Browse the repository at this point in the history
Added get metadata when fetching a transaction response.
  • Loading branch information
greydnls committed Feb 21, 2016
2 parents c9a1da5 + b6e743d commit efd491f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Message/FetchTransactionResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,14 @@ public function getAmount()
return $this->data['amount'];
}
}

/**
* @return mixed
*/
public function getMetadata()
{
if (isset($this->data['metadata'])) {
return $this->data['metadata'];
}
}
}

0 comments on commit efd491f

Please sign in to comment.