Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class CoinbaseApiClient implements CoinbaseApiClientInterface |
||
20 | { |
||
21 | /** @var ApiClient */ |
||
22 | private $apiClient; |
||
23 | |||
24 | public function initialise(string $apiKey): void |
||
27 | } |
||
28 | |||
29 | public function create(array $data): Charge |
||
30 | { |
||
31 | return Charge::create($data); |
||
32 | } |
||
33 | |||
34 | public function show(string $paymentId): Charge |
||
39 | } |
||
40 | |||
41 | public function buildEvent(string $payload, string $signatureHeader, string $secret): Event |
||
46 |