service/LicenseeService.php
public static function get(Context $context, $number)
    {
        CheckUtils::paramNotEmpty($number, Constants::NUMBER);

        $response = NetLicensingService::getInstance()
            ->get($context, Constants::LICENSEE_ENDPOINT_PATH . '/' . $number);

        $licensee = null;

        if (!empty($response->items->item[0])) {
            $licensee = ItemToLicenseeConverter::convert($response->items->item[0]);
            $licensee->exists = true;
        }

        return $licensee;
    }
public static function get(Context $context, $number)
    {
        CheckUtils::paramNotEmpty($number, Constants::NUMBER);

        $response = NetLicensingService::getInstance()
            ->get($context, Constants::LICENSEE_ENDPOINT_PATH . '/' . $number);

        $licensee = null;

        if (!empty($response->items->item[0])) {
            $licensee = ItemToLicenseeConverter::convert($response->items->item[0]);
            $licensee->exists = true;
        }

        return $licensee;
    }
Gets licensee by its number.See NetLicensingAPI for details:
https://www.labs64.de/confluence/display/NLICPUB/Licensee+Services#LicenseeServices-Getlicensee

determines the vendor on whose behalf the call is performed
@param Context $context

the licensee number
@param $number

return the licensee
@return Licensee|null
@throws MalformedArgumentsException
@throws \ErrorException
@throws RestException