| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class PaymentLinksEndpoint extends Endpoint |
||
| 15 | { |
||
| 16 | protected string $location = '/service/resources/payment_links'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Endpoint para criar um recurso `Payment Link` |
||
| 20 | * |
||
| 21 | * @param PaymentLink $paymentLink |
||
| 22 | * @return Response |
||
| 23 | */ |
||
| 24 | public function create(PaymentLink $paymentLink): Response |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Endpoint para obter um recurso `Payment Link` |
||
| 31 | * |
||
| 32 | * @param integer $id |
||
| 33 | * @return Response |
||
| 34 | * |
||
| 35 | * @codeCoverageIgnore |
||
| 36 | */ |
||
| 37 | public function getById(int $id): Response |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Endpoint para obter um recurso `Payment Link` pelo Código Externo |
||
| 44 | * |
||
| 45 | * @param integer $externalCode |
||
| 46 | * @return Response |
||
| 47 | * |
||
| 48 | * @codeCoverageIgnore |
||
| 49 | */ |
||
| 50 | public function getByExternalCode(int $externalCode): Response |
||
| 53 | } |
||
| 54 | } |