| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class Balance extends Endpoint |
||
| 6 | { |
||
| 7 | protected const ENDPOINT = '/balance'; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Fetch the available balance. |
||
| 11 | * |
||
| 12 | * @link https://paystack.com/docs/api/#transfer-control-balance |
||
| 13 | */ |
||
| 14 | public function check(): self |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Fetch all pay-ins and pay-outs that occurred on your integration. |
||
| 23 | * |
||
| 24 | * @link https://paystack.com/docs/api/#transfer-control-balance-ledger |
||
| 25 | */ |
||
| 26 | public function ledger(): self |
||
| 33 |