Total Complexity | 5 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class PaymentService extends AbstractPaypalService |
||
18 | { |
||
19 | /** |
||
20 | * @return PayPalHttpClient |
||
21 | */ |
||
22 | public function getHttpClient(): PayPalHttpClient |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @param string $orderId |
||
30 | * @return Payment|null |
||
31 | */ |
||
32 | public function capturePayment(string $orderId): ?HttpResponse |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * @param string $body |
||
49 | * @param array $headers |
||
50 | * @return array|string |
||
51 | */ |
||
52 | public function createOrder(string $body, array $headers = []): object|null |
||
68 |