limit = $limit; $this->offset = $offset; } public function resolveEndpoint(): string { return '/api/escrow-orders'; } protected function defaultQuery(): array { return array_merge([ 'filterFromDate' => $this->filterFromDate, 'filterToDate' => $this->filterToDate, ], $this->getPaginationQuery()); } public function createDtoFromResponse(Response $response): DataCollection { return EscrowOrderData::collect($response->json('orders') ?? [], DataCollection::class); } }