| 1: | <?php |
| 2: | |
| 3: | declare(strict_types=1); |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | |
| 9: | |
| 10: | |
| 11: | namespace NxSys\Library\Clients\Brex\API\Transactions\Runtime\Client; |
| 12: | |
| 13: | use Psr\Http\Message\ResponseInterface; |
| 14: | use Symfony\Component\Serializer\SerializerInterface; |
| 15: | |
| 16: | interface Endpoint |
| 17: | { |
| 18: | |
| 19: | |
| 20: | |
| 21: | |
| 22: | |
| 23: | |
| 24: | public function getBody(SerializerInterface $serializer, $streamFactory = null): array; |
| 25: | |
| 26: | |
| 27: | |
| 28: | |
| 29: | public function getQueryString(): string; |
| 30: | |
| 31: | |
| 32: | |
| 33: | |
| 34: | public function getUri(): string; |
| 35: | |
| 36: | |
| 37: | |
| 38: | |
| 39: | public function getMethod(): string; |
| 40: | |
| 41: | |
| 42: | |
| 43: | |
| 44: | public function getHeaders(array $baseHeaders = []): array; |
| 45: | |
| 46: | |
| 47: | |
| 48: | |
| 49: | public function getAuthenticationScopes(): array; |
| 50: | |
| 51: | |
| 52: | |
| 53: | |
| 54: | |
| 55: | |
| 56: | public function parseResponse(ResponseInterface $response, SerializerInterface $serializer, string $fetchMode = Client::FETCH_OBJECT); |
| 57: | } |
| 58: | |