source/Core/OnlineLicenseCheck.php
public function validateNewSerial($serial)
    {
        $serials = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam("aSerials");
        $serials[] = ['attributes' => ['state' => 'new'], 'value' => $serial];

        return $this->validate($serials);
    }
public function validateNewSerial($serial)
    {
        $serials = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam("aSerials");
        $serials[] = ['attributes' => ['state' => 'new'], 'value' => $serial];

        return $this->validate($serials);
    }
public function validateNewSerial ( $ serial ) { $ serials = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( "aSerials" ) ; $ serials [ ] = [ 'attributes' => [ 'state' => 'new' ] , 'value' => $ serial ] ; return $ this -> validate ( $ serials ) ; }
The Online shop license check for the new serial is performed. Returns check result.

@param string $serial Serial to check.

@return bool
The Online shop license check for the new serial is performed . Returns check result .