| Total Complexity | 1 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | trait PaymentRefunds |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Show details for authorized payment. |
||
| 9 | * |
||
| 10 | * @param string $refund_id |
||
| 11 | * |
||
| 12 | * @throws \Throwable |
||
| 13 | * |
||
| 14 | * @return array|\Psr\Http\Message\StreamInterface|string |
||
| 15 | * |
||
| 16 | * @see https://developer.paypal.com/docs/api/payments/v2/#authorizations_get |
||
| 17 | */ |
||
| 18 | public function showRefundDetails(string $refund_id) |
||
| 27 |