| Total Complexity | 2 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | trait InvoicesSearch |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Search and return existing invoices. |
||
| 9 | * |
||
| 10 | * @param array $filters |
||
| 11 | * @param int $page |
||
| 12 | * @param int $size |
||
| 13 | * @param bool $totals |
||
| 14 | * @param array $fields |
||
| 15 | * |
||
| 16 | * @throws \Throwable |
||
| 17 | * |
||
| 18 | * @return array|\Psr\Http\Message\StreamInterface|string |
||
| 19 | * |
||
| 20 | * @see https://developer.paypal.com/docs/api/invoicing/v2/#invoices_list |
||
| 21 | */ |
||
| 22 | public function searchInvoices($filters, $page=1, $size=20, $totals=true, array $fields=[]) |
||
| 40 |