Skip to content

Commit a92445e

Browse files
author
Jelle van Oosterbosch
authored
Merge pull request #17 from superbrave/response-status-code
Allow returning of the status code in the TransactionStatusResponse c…
2 parents b348f5c + bc6c204 commit a92445e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Message/TransactionStatusResponse.php

+8
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ public function __construct(RequestInterface $request, $data, int $statusCode)
2929
$this->statusCode = $statusCode;
3030
}
3131

32+
/**
33+
* {@inheritdoc}
34+
*/
35+
public function getCode()
36+
{
37+
return $this->statusCode;
38+
}
39+
3240
/**
3341
* {@inheritdoc}
3442
*/

0 commit comments

Comments
 (0)