Skip to content

Commit bc6c204

Browse files
author
Jelle van Oosterbosch
committed
Allow returning of the status code in the TransactionStatusResponse class
1 parent b348f5c commit bc6c204

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)