DocFromTemplate

Class to create documents

Class inherited from the Doc class.

Properties:

nametypedescription

signer_name

String

Signer name

template_id

String

Template Id

data

class list of variables

send_automatic_email

boolean

If true, ZapSign will send an email to the signer with the link to sign the document. If false (default), you will be responsible for sharing the subscription link with the signatory, whether through your website, widget, WhatsApp, SMS, email, chat etc.

Note: For this to work, it is mandatory that the signer's email address is defined.

send_automatic_whatsapp

boolean

If true, ZapSign will send a whatsapp to the signer with the link to sign the document. If false (default), you will be responsible for sharing the subscription link with the signatory, whether through your website, widget, WhatsApp, SMS, email, chat etc.

Note: For this to work, it is mandatory that the signer's cell phone is defined.

custom_message

String

The custom_message is the personalized message that you can insert in the email sent by ZapSign to the signer.

Example: "Hello So-and-so, \n This is your employment contract. \n Hugs, Team XPTO". The \n symbol serves to "skip a line" in the email text. Default: ""

signer_has_incomplete_fields

boolean

If set to true, the signer will be redirected to fill out the template form before signing the document. Default: false

Override:

DocFromTemplate não recebe signatários, então não é possivel realizar metodos como:

  • getSigners

  • setSigners

Last updated