public class BoxSignRequestCreateParams extends Object
BoxSignRequest
Constructor and Description |
---|
BoxSignRequestCreateParams() |
Modifier and Type | Method and Description |
---|---|
void |
appendParamsAsJson(JsonObject requestJSON)
Used to append BoxSignRequestCreateParams to request.
|
boolean |
getAreDatesEnabled()
Gets the flag indicating if ability for signer to add dates is enabled.
|
boolean |
getAreRemindersEnabled()
Gets the flag indicating if remind for signers to sign a document on day 3, 8, 13 and 18
(or less if the document has been digitally signed already) is enabled.
|
boolean |
getAreTextSignaturesEnabled()
Gets the flag indicating if usage of signatures generated by typing (text) is enabled.
|
int |
getDaysValid()
Gets the number of days after which this request will automatically expire if not completed.
|
String |
getDeclinedRedirectUrl()
Gets the URL that a signer will be redirected to after declining to sign a document.
|
String |
getEmailMessage()
Gets the message to include in sign request email.
|
String |
getEmailSubject()
Gets the subject of sign request email.
|
String |
getExternalId()
Gets an ID that serve as reference in an external system that the sign request is related to.
|
boolean |
getIsDocumentPreparationNeeded()
Gets the flag indicating if the sender should be taken into the builder flow to prepare the document.
|
String |
getName()
Gets the name of this sign request.
|
List<BoxSignRequestPrefillTag> |
getPrefillTags()
Gets the list of prefill tags.
|
String |
getRedirectUrl()
Gets the redirect URL that a signer will be redirected to after signing a document.
|
BoxSignRequestSignatureColor |
getSignatureColor()
Gets the forced, specific color for the signature.
|
String |
getTemplateId()
Gets the Sign Template ID of the Sign Request.
|
BoxSignRequestCreateParams |
setAreDatesEnabled(boolean areDatesEnabled)
Sets the flag indicating if ability for signer to add dates is enabled.
|
BoxSignRequestCreateParams |
setAreRemindersEnabled(boolean areRemindersEnabled)
Sets the flag indicating if remind for signers to sign a document on day 3, 8, 13 and 18
(or less if the document has been digitally signed already) is enabled.
|
BoxSignRequestCreateParams |
setAreTextSignaturesEnabled(boolean areTextSignaturesEnabled)
Sets the flag indicating if usage of signatures generated by typing (text) is enabled.
|
BoxSignRequestCreateParams |
setDaysValid(int daysValid)
Sets the number of days after which this request will automatically expire if not completed.
|
BoxSignRequestCreateParams |
setDeclinedRedirectUrl(String declinedRedirectUrl)
Sets the URL that a signer will be redirected to after declining to sign a document.
|
BoxSignRequestCreateParams |
setEmailMessage(String emailMessage)
Sets the message to include in sign request email.
|
BoxSignRequestCreateParams |
setEmailSubject(String emailSubject)
Sets the subject of sign request email.
|
BoxSignRequestCreateParams |
setExternalId(String externalId)
Sets the reference id in an external system that this sign request is related to.
|
BoxSignRequestCreateParams |
setIsDocumentPreparationNeeded(boolean isDocumentPreparationNeeded)
Sets the flag indicating if the sender should be taken into the builder flow to prepare the document.
|
BoxSignRequestCreateParams |
setName(String name)
Sets the name of this sign request.
|
BoxSignRequestCreateParams |
setPrefillTags(List<BoxSignRequestPrefillTag> prefillTags)
Sets the list of prefill tags.
|
BoxSignRequestCreateParams |
setRedirectUrl(String redirectUrl)
Sets the redirect URL that a signer will be redirected to after signing a document.
|
BoxSignRequestCreateParams |
setSignatureColor(BoxSignRequestSignatureColor signatureColor)
Sets the forced, specific color for the signature.
|
BoxSignRequestCreateParams |
setTemplateId(String templateId)
Sets the Sign Template ID will be use to create the sign request.
|
public BoxSignRequestCreateParams()
public boolean getIsDocumentPreparationNeeded()
public BoxSignRequestCreateParams setIsDocumentPreparationNeeded(boolean isDocumentPreparationNeeded)
isDocumentPreparationNeeded
- whether or not sender should be taken
into the builder flow to prepare the document.public boolean getAreTextSignaturesEnabled()
public BoxSignRequestCreateParams setAreTextSignaturesEnabled(boolean areTextSignaturesEnabled)
areTextSignaturesEnabled
- indicating if text signatures are enabled for signers.public boolean getAreDatesEnabled()
public BoxSignRequestCreateParams setAreDatesEnabled(boolean areDatesEnabled)
areDatesEnabled
- indicating if ability for signer to add dates is enabled.public BoxSignRequestSignatureColor getSignatureColor()
public BoxSignRequestCreateParams setSignatureColor(BoxSignRequestSignatureColor signatureColor)
signatureColor
- blue, black or red.public String getEmailSubject()
public BoxSignRequestCreateParams setEmailSubject(String emailSubject)
emailSubject
- included in sign request email.public String getEmailMessage()
public BoxSignRequestCreateParams setEmailMessage(String emailMessage)
emailMessage
- included in sign request email.public boolean getAreRemindersEnabled()
public BoxSignRequestCreateParams setAreRemindersEnabled(boolean areRemindersEnabled)
areRemindersEnabled
- indicating if reminders are enabled.public String getName()
public BoxSignRequestCreateParams setName(String name)
name
- of this sign request.public int getDaysValid()
public BoxSignRequestCreateParams setDaysValid(int daysValid)
daysValid
- of this sign request.public String getExternalId()
public BoxSignRequestCreateParams setExternalId(String externalId)
externalId
- of this sign request.public List<BoxSignRequestPrefillTag> getPrefillTags()
public BoxSignRequestCreateParams setPrefillTags(List<BoxSignRequestPrefillTag> prefillTags)
prefillTags
- list for this sign request.public String getRedirectUrl()
public BoxSignRequestCreateParams setRedirectUrl(String redirectUrl)
redirectUrl
- of this sign request.public String getDeclinedRedirectUrl()
public BoxSignRequestCreateParams setDeclinedRedirectUrl(String declinedRedirectUrl)
declinedRedirectUrl
- of this sign request.public String getTemplateId()
public BoxSignRequestCreateParams setTemplateId(String templateId)
templateId
- for this sign request.public void appendParamsAsJson(JsonObject requestJSON)
requestJSON
- request in json to append data to.