| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 22 | 2 | public function __construct( |
|
| 23 | string $merchantId, |
||
| 24 | string $payId, |
||
| 25 | ?int $totalAmount = null |
||
| 26 | ) |
||
| 27 | { |
||
| 28 | 2 | Validator::checkPayId($payId); |
|
| 29 | |||
| 30 | 2 | $this->merchantId = $merchantId; |
|
| 31 | 2 | $this->payId = $payId; |
|
| 32 | 2 | $this->totalAmount = $totalAmount; |
|
| 33 | 2 | } |
|
| 78 |