| Total Complexity | 7 |
| Total Lines | 56 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class TransactionStatus extends AbstractMessage implements TransactionStatusInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @inheritDoc |
||
| 17 | */ |
||
| 18 | public function getMode(): string |
||
| 19 | { |
||
| 20 | return $this->parameters['mode']; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @inheritDoc |
||
| 25 | */ |
||
| 26 | public function getPortalId(): string |
||
| 27 | { |
||
| 28 | return $this->parameters['portalid']; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @inheritDoc |
||
| 33 | */ |
||
| 34 | public function getSubAccountId(): string |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @inheritDoc |
||
| 41 | */ |
||
| 42 | public function getAction(): string |
||
| 43 | { |
||
| 44 | return $this->parameters['txaction']; |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @inheritDoc |
||
| 49 | */ |
||
| 50 | public function getTime(): int |
||
| 51 | { |
||
| 52 | return (int) $this->parameters['txtime']; |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @inheritDoc |
||
| 57 | */ |
||
| 58 | public function getClearingType(): string |
||
| 59 | { |
||
| 60 | return $this->parameters['clearingtype']; |
||
| 61 | } |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @inheritDoc |
||
| 65 | */ |
||
| 66 | public function getCurrency(): string |
||
| 69 | } |
||
| 70 | } |
||
| 71 |