PayPal\Api\Invoice::setTemplateId PHP Method

setTemplateId() public method

The template ID used for the invoice. Useful for copy functionality.
public setTemplateId ( string $template_id )
$template_id string
    public function setTemplateId($template_id)
    {
        $this->template_id = $template_id;
        return $this;
    }