Total Complexity | 7 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 66.67% |
Changes | 7 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | class TransactionStatusResponse extends AbstractResponse |
||
9 | { |
||
10 | /** |
||
11 | * {@inheritdoc} |
||
12 | */ |
||
13 | 2 | public function isSuccessful(): bool |
|
19 | } |
||
20 | |||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | */ |
||
24 | 1 | public function isCancelled(): bool |
|
25 | { |
||
26 | 1 | return parent::isCancelled() || $this->data['statusCode'] === self::RESPONSE_STATUS_CANCELLED; |
|
27 | } |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function getTransactionReference(): ?string |
||
35 | } |
||
36 | } |
||
37 |