| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Payvessel |
||
| 8 | { |
||
| 9 | protected string $baseUrl; |
||
| 10 | protected string $apiKey; |
||
| 11 | protected string $apiSecret; |
||
| 12 | protected string $businessId; |
||
| 13 | |||
| 14 | public function __construct() |
||
| 15 | { |
||
| 16 | $this->baseUrl = rtrim(config('payvessel.base_url'), '/'); |
||
|
|
|||
| 17 | $this->apiKey = config('payvessel.api_key'); |
||
| 18 | $this->apiSecret = config('payvessel.api_secret'); |
||
| 19 | $this->businessId = config('payvessel.business_id'); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function virtualAccounts(): VirtualAccount |
||
| 25 | } |
||
| 26 | } |
||
| 27 |