Package | Description |
---|---|
com.hellosign.sdk | |
com.hellosign.sdk.http | |
com.hellosign.sdk.resource | |
com.hellosign.sdk.resource.support |
Modifier and Type | Method and Description |
---|---|
Template |
HelloSignClient.addTemplateUser(String templateId,
String idOrEmail)
Adds the provided user to the template indicated by the provided template ID.
|
int |
HelloSignClient.cancelSignatureRequest(String id)
Cancels an existing signature request.
|
Account |
HelloSignClient.createAccount(String email,
String password)
Creates a new HelloSign account.
|
Account |
HelloSignClient.createAccount(String email,
String password,
String clientId,
String clientSecret)
Creates a new HelloSign account and provides OAuth app credentials to automatically
generate an OAuth token with the user Account response.
|
AbstractRequest |
HelloSignClient.createEmbeddedRequest(EmbeddedRequest embeddedReq)
Creates a signature request that can be embedded within your website.
|
Team |
HelloSignClient.createTeam(String teamName)
Creates a new team for the current user with the given name.
|
UnclaimedDraft |
HelloSignClient.createUnclaimedDraft(UnclaimedDraft draft)
Creates an unclaimed draft using the provided request draft object.
|
int |
HelloSignClient.destroyTeam()
Destroys the current user's team.
|
Account |
HelloSignClient.getAccount()
Returns the current user's account information.
|
EmbeddedResponse |
HelloSignClient.getEmbeddedSignUrl(String signatureId)
Retrieves the necessary information to build an embedded signature
request.
|
File |
HelloSignClient.getFiles(String requestId)
Retrieves a PDF copy of the files associated with a signature request.
|
File |
HelloSignClient.getFiles(String requestId,
String format)
Retrieves the file associated with a signature request.
|
File |
HelloSignClient.getFinalCopy(String requestId)
Deprecated.
Use getFiles(requestId)
|
OauthData |
HelloSignClient.getOauthData(String code,
String clientId,
String secret)
Performs an OAuth request and returns the necessary data for authorizing an API
application.
|
OauthData |
HelloSignClient.getOauthData(String code,
String clientId,
String secret,
boolean autoSetRequestToken)
Performs an OAuth request and returns the necessary data for authorizing an API
application, and will automatically set the access token and code for making
authenticated requests with this client.
|
SignatureRequest |
HelloSignClient.getSignatureRequest(String id)
Retrieves a Signature Request with the given ID.
|
SignatureRequestList |
HelloSignClient.getSignatureRequests()
Retrieves the current user's signature requests.
|
SignatureRequestList |
HelloSignClient.getSignatureRequests(int page)
Retrieves a specific page of the current user's signature requests.
|
Team |
HelloSignClient.getTeam()
Retrieves the Team for the current user account.
|
Template |
HelloSignClient.getTemplate(String templateId)
Retrieves a specific Template based on the provided Template ID.
|
TemplateList |
HelloSignClient.getTemplates()
Retrieves the templates for the current user account.
|
TemplateList |
HelloSignClient.getTemplates(int page)
Retreives a page of templates for the current user account.
|
Team |
HelloSignClient.inviteTeamMember(String idOrEmail)
Adds the user to the current user's team.
|
boolean |
HelloSignClient.isAccountValid(String email)
Returns true if an account exists with the provided email address.
|
OauthData |
HelloSignClient.refreshOauthData(String refreshToken)
Refreshes the OauthData for this client with the provided refresh
token.
|
Team |
HelloSignClient.removeTeamMember(String idOrEmail)
Removes the team member indicated by the user account ID or email address.
|
Template |
HelloSignClient.removeTemplateUser(String templateId,
String idOrEmail)
Adds the provided user to the template indicated by the provided template ID.
|
SignatureRequest |
HelloSignClient.requestEmailReminder(String requestId,
String email)
Instructs HelloSign to email the given address with a reminder to sign the
SignatureRequest referenced by the given request ID.
|
SignatureRequest |
HelloSignClient.sendSignatureRequest(SignatureRequest req)
Sends the provided signature request to HelloSign.
|
SignatureRequest |
HelloSignClient.sendTemplateSignatureRequest(TemplateSignatureRequest req)
Creates a new Signature Request based on the template provided.
|
void |
HelloSignClient.setAccessToken(String accessToken,
String tokenType)
Sets the access token for the OAuth user that this client will use to
perform requests.
|
Account |
HelloSignClient.setCallback(String callback)
Updates the current user's callback URL.
|
Team |
HelloSignClient.updateTeamName(String teamName)
Updates the current user's team name.
|
Constructor and Description |
---|
HelloSignClient(Authentication auth)
Create a client with the provided authentication object.
|
HelloSignClient(String email,
String password)
Creates a new HelloSign client using your website account's
email address and password.
|
Modifier and Type | Method and Description |
---|---|
File |
HttpGetRequest.getFileResponse(String filename)
Execute the GET request and process the response as a file.
|
int |
HttpPostRequest.getHttpResponseCode()
Performs a field-less POST request to the provided URL using basic auth and
returns the HTTP code.
|
org.json.JSONObject |
HttpPostRequest.getJsonResponse()
Performs a POST request to the given URL, using the authentication
details and POST fields provided.
|
org.json.JSONObject |
HttpGetRequest.getJsonResponse()
Executes the GET request and converts the response to a JSON
object.
|
void |
Authentication.setAccessToken(String accessToken,
String tokenType)
Sets the access token for the HelloSign client authentication.
|
void |
Authentication.setWebsiteCredentials(String email,
String password)
Sets the email and password to use for authenticating the
client.
|
protected static void |
AbstractHttpRequest.validate(org.json.JSONObject json,
int code) |
Constructor and Description |
---|
Authentication(Authentication clone) |
HttpGetRequest(String url) |
HttpGetRequest(String url,
Authentication auth) |
HttpGetRequest(String url,
Map<String,String> parameters) |
HttpGetRequest(String url,
Map<String,String> parameters,
Authentication auth) |
HttpPostRequest(String url) |
HttpPostRequest(String url,
Authentication auth) |
HttpPostRequest(String url,
Map<String,Serializable> fields) |
HttpPostRequest(String url,
Map<String,Serializable> fields,
Authentication auth) |
Modifier and Type | Method and Description |
---|---|
void |
SignatureRequest.addDocument(Document doc)
Adds a Document to the signature request.
|
void |
SignatureRequest.addDocument(Document doc,
int order)
Adds a Document to the signature request at the specific order.
|
void |
UnclaimedDraft.addFile(File file)
Adds a file to the unclaimed draft.
|
void |
SignatureRequest.addFile(File file)
Adds the file to the request.
|
void |
UnclaimedDraft.addFile(File file,
int order)
Adds a file to the unclaimed draft at the given document order.
|
void |
SignatureRequest.addFile(File file,
Integer order)
Adds the file to the request in the given order.
|
void |
SignatureRequest.addSigner(Signer signer)
Adds the signer to the list of signers for this request.
|
void |
SignatureRequest.addSigner(String email,
String name)
Adds the signer to the list of signers for this request.
|
void |
SignatureRequest.addSigner(String email,
String name,
int order)
Adds the signer with the given order to the list of signers for
this request.
|
void |
TemplateSignatureRequest.addTemplateId(String id)
Adds the template ID to be used in this request.
|
void |
TemplateSignatureRequest.addTemplateId(String id,
Integer index)
Add the template ID to be used at the specified index.
|
protected void |
AbstractResource.addToList(String key,
AbstractResource listItem) |
void |
UnclaimedDraft.clearFiles()
Removes all files from this request.
|
protected void |
AbstractResource.clearList(String key) |
List<E> |
AbstractResourceList.filterCurrentPageBy(String columnName,
Serializable filterValue)
Filters the current page of results by the given column and value.
|
String |
Event.getAccountId()
Returns the account ID that this event is reporting for.
|
List<E> |
AbstractResourceList.getCurrentPageList()
Returns the current page of results for this list object.
|
OauthData |
Account.getOauthData() |
Map<String,Serializable> |
UnclaimedDraft.getPostFields() |
Map<String,Serializable> |
TemplateSignatureRequest.getPostFields()
Internal method used to retrieve the necessary POST fields to submit the
signature request.
|
Map<String,Serializable> |
SignatureRequest.getPostFields()
Internal method used to retrieve the necessary POST fields to submit the
signature request.
|
Map<String,Serializable> |
EmbeddedRequest.getPostFields() |
protected Map<String,Serializable> |
AbstractRequest.getPostFields() |
Signature |
Event.getRelatedSignature()
Returns the associated Signature object with this event.
|
String |
Event.getRelatedSignatureId()
Returns the signature ID to which this event is associated.
|
RoleType |
Account.getRoleCode() |
Signature |
SignatureRequest.getSignature(String email,
String name)
Returns the signature for the given email/name combination, or
null if not found on this request.
|
String |
TemplateSignatureRequest.getTemplateId()
Get the template ID that will be used with this request.
|
boolean |
Event.hasAccountId()
Returns true if this event has a "reported_for_account_id" field.
|
boolean |
Event.isValid(String apiKey)
Returns true if the event hash matches the computed hash using the provided
API key.
|
void |
SignatureRequest.removeSigner(String email)
Removes the signer from the list.
|
void |
TemplateSignatureRequest.removeSignerByEmail(String email)
Removes signer(s) from this request by email address.
|
void |
TemplateSignatureRequest.setSigner(String role,
String email,
String name)
Adds the signer to the list of signers for this request.
|
void |
TemplateSignatureRequest.setTemplateId(String id)
Set the template ID of the template that should be used with this request.
|
Constructor and Description |
---|
AbstractRequest(org.json.JSONObject json,
String optionalKey) |
AbstractResource(org.json.JSONObject json,
String optionalKey) |
AbstractResourceList(org.json.JSONObject json,
String listKey) |
Account(org.json.JSONObject json) |
EmbeddedResponse(org.json.JSONObject json) |
Event(org.json.JSONObject json)
Default constructor.
|
SignatureRequest(org.json.JSONObject json) |
SignatureRequest(org.json.JSONObject json,
String key) |
Team(org.json.JSONObject json) |
Template(org.json.JSONObject json) |
TemplateSignatureRequest(List<Template> templates)
Convenience constructor that accepts a list of Templates.
|
TemplateSignatureRequest(Template template)
Convenience constructor that accepts a single Template.
|
UnclaimedDraft(org.json.JSONObject json)
Constructor to provide a way to store the API response JSON information.
|
Modifier and Type | Method and Description |
---|---|
void |
Document.addFormField(FormField formField)
Adds the form field to this document.
|
void |
Signer.setEmail(String email) |
void |
Document.setFormFields(List<FormField> formFields)
Overwrites the form fields for this document.
|
Constructor and Description |
---|
CustomField(org.json.JSONObject json) |
Document(org.json.JSONObject json) |
FormField(org.json.JSONObject json) |
Metadata(org.json.JSONObject json) |
OauthData(org.json.JSONObject json) |
Quotas(org.json.JSONObject json) |
ResponseData(org.json.JSONObject json) |
Signature(org.json.JSONObject json) |
SignatureRequestList(org.json.JSONObject json) |
Signer(String email,
String nameOrRole) |
TemplateList(org.json.JSONObject json) |
TemplateRole(org.json.JSONObject json) |
Copyright © 2015 HelloSign. All rights reserved.