protected function formRequest($serials)
    {
        $config = \OxidEsales\Eshop\Core\Registry::getConfig();

        /** @var \OxidEsales\Eshop\Core\OnlineLicenseCheckRequest $request */
        $request = oxNew(\OxidEsales\Eshop\Core\OnlineLicenseCheckRequest::class);

        $request->keys = ['key' => $serials];

        $request->productSpecificInformation = new stdClass();

        if (!is_null($this->getAppServerExporter())) {
            $servers = $this->getAppServerExporter()->exportAppServerList();
            $request->productSpecificInformation->servers = ['server' => $servers];
        }

        $counters = $this->formCounters();
        if (!empty($counters)) {
            $request->productSpecificInformation->counters = ['counter' => $counters];
        }

        return $request;
    }