public class SignTemplate extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
SignTemplate.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected SignTemplateAdditionalInfoField |
additionalInfo
Additional information on which fields are required and which fields are not editable.
|
protected Boolean |
areEmailSettingsLocked
Indicates if the template email settings are editable or not.
|
protected Boolean |
areFieldsLocked
Indicates if the template input fields are editable or not.
|
protected Boolean |
areFilesLocked
Indicates if the template files are editable or not.
|
protected Boolean |
areOptionsLocked
Indicates if the template document options are editable or not, for example renaming the
document.
|
protected Boolean |
areRecipientsLocked
Indicates if the template signers are editable or not.
|
protected SignTemplateCustomBrandingField |
customBranding
Custom branding applied to notifications and signature requests.
|
protected Long |
daysValid
Set the number of days after which the created signature request will automatically expire if
not completed.
|
protected String |
emailMessage
Message to include in signature request email.
|
protected String |
emailSubject
Subject of signature request email.
|
protected String |
id
Template identifier.
|
protected String |
name
The name of the template.
|
protected FolderMini |
parentFolder |
protected SignTemplateReadySignLinkField |
readySignLink
Box's ready-sign link feature enables you to create a link to a signature request that you've
created from a template.
|
protected List<TemplateSigner> |
signers
Array of signers for the template.
|
protected List<FileMini> |
sourceFiles
List of files to create a signing document from.
|
protected EnumWrapper<SignTemplateTypeField> |
type
The value will always be `sign-template`.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
SignTemplate() |
protected |
SignTemplate(SignTemplate.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
SignTemplateAdditionalInfoField |
getAdditionalInfo() |
Boolean |
getAreEmailSettingsLocked() |
Boolean |
getAreFieldsLocked() |
Boolean |
getAreFilesLocked() |
Boolean |
getAreOptionsLocked() |
Boolean |
getAreRecipientsLocked() |
SignTemplateCustomBrandingField |
getCustomBranding() |
Long |
getDaysValid() |
String |
getEmailMessage() |
String |
getEmailSubject() |
String |
getId() |
String |
getName() |
FolderMini |
getParentFolder() |
SignTemplateReadySignLinkField |
getReadySignLink() |
List<TemplateSigner> |
getSigners() |
List<FileMini> |
getSourceFiles() |
EnumWrapper<SignTemplateTypeField> |
getType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected EnumWrapper<SignTemplateTypeField> type
protected String emailSubject
protected String emailMessage
protected Long daysValid
protected FolderMini parentFolder
protected List<FileMini> sourceFiles
protected Boolean areFieldsLocked
protected Boolean areOptionsLocked
protected Boolean areRecipientsLocked
protected Boolean areEmailSettingsLocked
protected Boolean areFilesLocked
protected List<TemplateSigner> signers
**Note**: It may happen that some signers specified in the template belong to conflicting [segments](https://developer.box.com/reference/resources/shield-information-barrier-segment-member) (user groups). This means that due to the security policies, users are assigned to segments to prevent exchanges or communication that could lead to ethical conflicts. In such a case, an attempt to send a sign request based on a template that lists signers in conflicting segments will result in an error.
Read more about [segments and ethical walls](https://support.box.com/hc/en-us/articles/9920431507603-Understanding-Information-Barriers#h_01GFVJEHQA06N7XEZ4GCZ9GFAQ).
protected SignTemplateAdditionalInfoField additionalInfo
protected SignTemplateReadySignLinkField readySignLink
protected SignTemplateCustomBrandingField customBranding
public SignTemplate()
protected SignTemplate(SignTemplate.Builder builder)
public EnumWrapper<SignTemplateTypeField> getType()
public String getEmailSubject()
public String getEmailMessage()
public Long getDaysValid()
public FolderMini getParentFolder()
public List<FileMini> getSourceFiles()
public Boolean getAreFieldsLocked()
public Boolean getAreOptionsLocked()
public Boolean getAreRecipientsLocked()
public Boolean getAreEmailSettingsLocked()
public Boolean getAreFilesLocked()
public List<TemplateSigner> getSigners()
public SignTemplateAdditionalInfoField getAdditionalInfo()
public SignTemplateReadySignLinkField getReadySignLink()
public SignTemplateCustomBrandingField getCustomBranding()