Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class Settlement extends Endpoint |
||
6 | { |
||
7 | protected const ENDPOINT = '/settlement'; |
||
8 | |||
9 | /** |
||
10 | * List settlements made to your settlement accounts. |
||
11 | * |
||
12 | * @param array<string, mixed> $query |
||
13 | * |
||
14 | * @link https://paystack.com/docs/api/#settlement-list |
||
15 | */ |
||
16 | public function list(array $query = []): self |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Get details of a settlement on your integration. |
||
25 | * |
||
26 | * @param array<string, mixed> $query |
||
27 | * |
||
28 | * @link https://paystack.com/docs/api/#settlement-fetch |
||
29 | */ |
||
30 | public function fetch(string $settlement_id, array $query = []): self |
||
37 |