limit = $limit; $this->offset = $offset; } public function resolveEndpoint(): string { return '/api/v2/webhooks'; } protected function defaultQuery(): array { return array_filter(array_merge([ 'object' => $this->object, ], $this->getPaginationQuery())); } public function createDtoFromResponse(Response $response): DataCollection { return WebhookSubscriptionData::collect($response->json(), DataCollection::class); } }