| Total Complexity | 6 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class PaymentConfig |
||
| 22 | { |
||
| 23 | 11 | public function __construct( |
|
| 24 | private readonly string $url, |
||
| 25 | private readonly MerchantNumber $merchantNumber, |
||
| 26 | private readonly DepositFlag $depositFlag, |
||
| 27 | private readonly string $gateway, |
||
| 28 | private readonly ResponseUrl|null $responseUrl = null |
||
| 29 | ) { |
||
| 30 | 11 | } |
|
| 31 | |||
| 32 | 11 | public function getUrl(): string |
|
| 33 | { |
||
| 34 | 11 | return $this->url; |
|
| 35 | } |
||
| 36 | |||
| 37 | 17 | public function getMerchantNumber(): MerchantNumber |
|
| 40 | } |
||
| 41 | |||
| 42 | 11 | public function getDepositFlag(): DepositFlag |
|
| 45 | } |
||
| 46 | |||
| 47 | 7 | public function getResponseUrl(): ?ResponseUrl |
|
| 50 | } |
||
| 51 | |||
| 52 | 11 | public function getGateway(): string |
|
| 55 | } |
||
| 56 | } |
||
| 57 |