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

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

        $licenseTemplate = null;

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

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

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

        $licenseTemplate = null;

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

        return $licenseTemplate;
    }
Gets license template by its number.See NetLicensingAPI for details:
https://www.labs64.de/confluence/display/NLICPUB/License+Template+Services#LicenseTemplateServices-Getlicensetemplate

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

the license template number
@param string $number

return the license template object
@return LicenseTemplate|null
@throws MalformedArgumentsException
@throws \ErrorException
@throws RestException