public class Template extends AbstractResource
Modifier and Type | Field and Description |
---|---|
static String |
TEMPLATE_ACCOUNTS |
static String |
TEMPLATE_CAN_EDIT |
static String |
TEMPLATE_CC_ROLES |
static String |
TEMPLATE_CUSTOM_FIELDS |
static String |
TEMPLATE_DOCUMENTS |
static String |
TEMPLATE_ID |
static String |
TEMPLATE_IS_CREATOR |
static String |
TEMPLATE_IS_EMBEDDED |
static String |
TEMPLATE_KEY |
static String |
TEMPLATE_MESSAGE |
static String |
TEMPLATE_SIGNER_ROLES |
static String |
TEMPLATE_TITLE |
dataObj, warnings
Constructor and Description |
---|
Template() |
Template(org.json.JSONObject json) |
Modifier and Type | Method and Description |
---|---|
boolean |
canEdit() |
List<Account> |
getAccounts() |
List<TemplateRole> |
getCCRoles() |
List<CustomField> |
getCustomFields() |
List<Document> |
getDocuments() |
String |
getId() |
String |
getMessage() |
List<TemplateRole> |
getSignerRoles()
Returns a list of SignerRoles.
|
String |
getTitle() |
boolean |
hasId() |
boolean |
hasMessage() |
boolean |
hasTitle() |
boolean |
isCreator() |
boolean |
isEmbedded()
Returns true if this template was created on a site other than
hellosign.com.
|
add, addToList, clearList, get, getBoolean, getConstructor, getDate, getInteger, getJSONObject, getList, getList, getLong, getString, getWarnings, has, hasString, set, toString, toString
public static final String TEMPLATE_KEY
public static final String TEMPLATE_ID
public static final String TEMPLATE_TITLE
public static final String TEMPLATE_MESSAGE
public static final String TEMPLATE_DOCUMENTS
public static final String TEMPLATE_SIGNER_ROLES
public static final String TEMPLATE_CC_ROLES
public static final String TEMPLATE_ACCOUNTS
public static final String TEMPLATE_CAN_EDIT
public static final String TEMPLATE_IS_CREATOR
public static final String TEMPLATE_CUSTOM_FIELDS
public static final String TEMPLATE_IS_EMBEDDED
public Template()
public Template(org.json.JSONObject json) throws HelloSignException
HelloSignException
public String getId()
public boolean hasId()
public String getTitle()
public boolean hasTitle()
public String getMessage()
public boolean hasMessage()
public List<TemplateRole> getSignerRoles()
public List<TemplateRole> getCCRoles()
public boolean canEdit()
public boolean isCreator()
public List<CustomField> getCustomFields()
public boolean isEmbedded()
Copyright © 2017 HelloSign. All rights reserved.