| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class TokenEndpoint extends Endpoint |
||
| 15 | { |
||
| 16 | protected string $location = '/service/resources/card_tokens'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Endpoint para criar um recurso `Token Card` |
||
| 20 | * |
||
| 21 | * @param Token $token |
||
| 22 | * @return Response |
||
| 23 | */ |
||
| 24 | public function create(Token $token): Response |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Endpoint para consultar um recurso `Token Card` |
||
| 31 | * |
||
| 32 | * @param string $token |
||
| 33 | * @return Response |
||
| 34 | * |
||
| 35 | * @codeCoverageIgnore |
||
| 36 | */ |
||
| 37 | public function get(string $token): Response |
||
| 40 | } |
||
| 41 | |||
| 42 | public function list(?array $filters = []): Response |
||
| 45 | } |
||
| 46 | } |