/** * Retrieve the details for a particular template by passing the template ID to the request URI. * * @deprecated Please use `Template::get()` instead. * @see Template::get * @param string $templateId * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials. * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls * @return Template */ public static function get($templateId, $apiContext = null, $restCall = null) { ArgumentValidator::validate($templateId, 'templateId'); $payLoad = ""; $json = self::executeCall("/v1/invoicing/templates/{$templateId}", "GET", $payLoad, null, $apiContext, $restCall); $ret = new Template(); $ret->fromJson($json); return $ret; }