Skip to content

Commit

Permalink
Merge pull request #17 from superbrave/response-status-code
Browse files Browse the repository at this point in the history
Allow returning of the status code in the TransactionStatusResponse c…
  • Loading branch information
Jelle van Oosterbosch authored Jan 19, 2021
2 parents b348f5c + bc6c204 commit a92445e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Message/TransactionStatusResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ public function __construct(RequestInterface $request, $data, int $statusCode)
$this->statusCode = $statusCode;
}

/**
* {@inheritdoc}
*/
public function getCode()
{
return $this->statusCode;
}

/**
* {@inheritdoc}
*/
Expand Down

0 comments on commit a92445e

Please sign in to comment.