Skip to content

Commit

Permalink
Allow returning of the status code in the TransactionStatusResponse c…
Browse files Browse the repository at this point in the history
…lass
  • Loading branch information
Jelle van Oosterbosch committed Jan 19, 2021
1 parent b348f5c commit bc6c204
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 bc6c204

Please sign in to comment.