Package com.docusign.esign.model
Class Email
- java.lang.Object
-
- com.docusign.esign.model.Email
-
public class Email extends Object
Email.
-
-
Constructor Summary
Constructors Constructor Description Email()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmailaddTabGroupLabelsItem(String tabGroupLabelsItem)addTabGroupLabelsItem.EmailanchorCaseSensitive(String anchorCaseSensitive)anchorCaseSensitive.EmailanchorHorizontalAlignment(String anchorHorizontalAlignment)anchorHorizontalAlignment.EmailanchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent)anchorIgnoreIfNotPresent.EmailanchorMatchWholeWord(String anchorMatchWholeWord)anchorMatchWholeWord.EmailanchorString(String anchorString)anchorString.EmailanchorUnits(String anchorUnits)anchorUnits.EmailanchorXOffset(String anchorXOffset)anchorXOffset.EmailanchorYOffset(String anchorYOffset)anchorYOffset.Emailbold(String bold)bold.EmailconcealValueOnDocument(String concealValueOnDocument)concealValueOnDocument.EmailconditionalParentLabel(String conditionalParentLabel)conditionalParentLabel.EmailconditionalParentValue(String conditionalParentValue)conditionalParentValue.EmailcustomTabId(String customTabId)customTabId.EmaildisableAutoSize(String disableAutoSize)disableAutoSize.EmaildocumentId(String documentId)documentId.booleanequals(Object o)Compares objects.EmailerrorDetails(ErrorDetails errorDetails)errorDetails.Emailfont(String font)font.EmailfontColor(String fontColor)fontColor.EmailfontSize(String fontSize)fontSize.StringgetAnchorCaseSensitive()When set to **true**, the anchor string does not consider case when matching strings in the document.StringgetAnchorHorizontalAlignment()Specifies the alignment of anchor tabs with anchor strings.StringgetAnchorIgnoreIfNotPresent()When set to **true**, this tab is ignored if anchorString is not found in the document..StringgetAnchorMatchWholeWord()When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**..StringgetAnchorString()Anchor text information for a radio button..StringgetAnchorUnits()Specifies units of the X and Y offset.StringgetAnchorXOffset()Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString..StringgetAnchorYOffset()Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString..StringgetBold()When set to **true**, the information in the tab is bold..StringgetConcealValueOnDocument()When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender.StringgetConditionalParentLabel()For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility..StringgetConditionalParentValue()For conditional fields, this is the value of the parent tab that controls the tab's visibility.StringgetCustomTabId()The DocuSign generated custom tab ID for the custom tab to be applied.StringgetDisableAutoSize()When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data.StringgetDocumentId()Specifies the document ID number that the tab is placed on.ErrorDetailsgetErrorDetails()Get errorDetails.StringgetFont()The font to be used for the tab value.StringgetFontColor()The font color used for the information in the tab.StringgetFontSize()The font size used for the information in the tab.StringgetItalic()When set to **true**, the information in the tab is italic..StringgetLocked()When set to **true**, the signer cannot change the data of the custom tab..IntegergetMaxLength()An optional value that describes the maximum length of the property when the property is a string..MergeFieldgetMergeField()Get mergeField.StringgetName().StringgetOriginalValue()The initial value of the tab when it was sent to the recipient.StringgetPageNumber()Specifies the page number on which the tab is located..StringgetRecipientId()Unique for the recipient.StringgetRequireAll()When set to **true** and shared is true, information must be entered in this field to complete the envelope.StringgetRequired()When set to **true**, the signer is required to fill out this tab.StringgetRequireInitialOnSharedChange()Optional element for field markup.StringgetSenderRequired()When set to **true**, the sender must populate the tab before an envelope can be sent using the template.StringgetShared()When set to **true**, this custom tab is shared..StringgetStatus()Indicates the envelope status.List<String>getTabGroupLabels().StringgetTabId()The unique identifier for the tab.StringgetTabLabel()The label string associated with the tab..StringgetTabOrder().StringgetTemplateLocked()When set to **true**, the sender cannot change any attributes of the recipient.StringgetTemplateRequired()When set to **true**, the sender may not remove the recipient.StringgetTooltip().StringgetUnderline()When set to **true**, the information in the tab is underlined..StringgetValidationMessage()The message displayed if the custom tab fails input validation (either custom of embedded)..StringgetValidationPattern()A regular expression used to validate input for the tab..StringgetValue()Specifies the value of the tab.IntegergetWidth()Width of the tab in pixels..StringgetXPosition()This indicates the horizontal offset of the object on the page.StringgetYPosition()This indicates the vertical offset of the object on the page.inthashCode()Returns the HashCode.Emailitalic(String italic)italic.Emaillocked(String locked)locked.EmailmaxLength(Integer maxLength)maxLength.EmailmergeField(MergeField mergeField)mergeField.Emailname(String name)name.EmailoriginalValue(String originalValue)originalValue.EmailpageNumber(String pageNumber)pageNumber.EmailrecipientId(String recipientId)recipientId.EmailrequireAll(String requireAll)requireAll.Emailrequired(String required)required.EmailrequireInitialOnSharedChange(String requireInitialOnSharedChange)requireInitialOnSharedChange.EmailsenderRequired(String senderRequired)senderRequired.voidsetAnchorCaseSensitive(String anchorCaseSensitive)setAnchorCaseSensitive.voidsetAnchorHorizontalAlignment(String anchorHorizontalAlignment)setAnchorHorizontalAlignment.voidsetAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent)setAnchorIgnoreIfNotPresent.voidsetAnchorMatchWholeWord(String anchorMatchWholeWord)setAnchorMatchWholeWord.voidsetAnchorString(String anchorString)setAnchorString.voidsetAnchorUnits(String anchorUnits)setAnchorUnits.voidsetAnchorXOffset(String anchorXOffset)setAnchorXOffset.voidsetAnchorYOffset(String anchorYOffset)setAnchorYOffset.voidsetBold(String bold)setBold.voidsetConcealValueOnDocument(String concealValueOnDocument)setConcealValueOnDocument.voidsetConditionalParentLabel(String conditionalParentLabel)setConditionalParentLabel.voidsetConditionalParentValue(String conditionalParentValue)setConditionalParentValue.voidsetCustomTabId(String customTabId)setCustomTabId.voidsetDisableAutoSize(String disableAutoSize)setDisableAutoSize.voidsetDocumentId(String documentId)setDocumentId.voidsetErrorDetails(ErrorDetails errorDetails)setErrorDetails.voidsetFont(String font)setFont.voidsetFontColor(String fontColor)setFontColor.voidsetFontSize(String fontSize)setFontSize.voidsetItalic(String italic)setItalic.voidsetLocked(String locked)setLocked.voidsetMaxLength(Integer maxLength)setMaxLength.voidsetMergeField(MergeField mergeField)setMergeField.voidsetName(String name)setName.voidsetOriginalValue(String originalValue)setOriginalValue.voidsetPageNumber(String pageNumber)setPageNumber.voidsetRecipientId(String recipientId)setRecipientId.voidsetRequireAll(String requireAll)setRequireAll.voidsetRequired(String required)setRequired.voidsetRequireInitialOnSharedChange(String requireInitialOnSharedChange)setRequireInitialOnSharedChange.voidsetSenderRequired(String senderRequired)setSenderRequired.voidsetShared(String shared)setShared.voidsetStatus(String status)setStatus.voidsetTabGroupLabels(List<String> tabGroupLabels)setTabGroupLabels.voidsetTabId(String tabId)setTabId.voidsetTabLabel(String tabLabel)setTabLabel.voidsetTabOrder(String tabOrder)setTabOrder.voidsetTemplateLocked(String templateLocked)setTemplateLocked.voidsetTemplateRequired(String templateRequired)setTemplateRequired.voidsetTooltip(String tooltip)setTooltip.voidsetUnderline(String underline)setUnderline.voidsetValidationMessage(String validationMessage)setValidationMessage.voidsetValidationPattern(String validationPattern)setValidationPattern.voidsetValue(String value)setValue.voidsetWidth(Integer width)setWidth.voidsetXPosition(String xPosition)setXPosition.voidsetYPosition(String yPosition)setYPosition.Emailshared(String shared)shared.Emailstatus(String status)status.EmailtabGroupLabels(List<String> tabGroupLabels)tabGroupLabels.EmailtabId(String tabId)tabId.EmailtabLabel(String tabLabel)tabLabel.EmailtabOrder(String tabOrder)tabOrder.EmailtemplateLocked(String templateLocked)templateLocked.EmailtemplateRequired(String templateRequired)templateRequired.Emailtooltip(String tooltip)tooltip.StringtoString()Converts the given object to string.Emailunderline(String underline)underline.EmailvalidationMessage(String validationMessage)validationMessage.EmailvalidationPattern(String validationPattern)validationPattern.Emailvalue(String value)value.Emailwidth(Integer width)width.EmailxPosition(String xPosition)xPosition.EmailyPosition(String yPosition)yPosition.
-
-
-
Method Detail
-
anchorCaseSensitive
public Email anchorCaseSensitive(String anchorCaseSensitive)
anchorCaseSensitive.- Returns:
-
getAnchorCaseSensitive
public String getAnchorCaseSensitive()
When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**..- Returns:
- anchorCaseSensitive
-
setAnchorCaseSensitive
public void setAnchorCaseSensitive(String anchorCaseSensitive)
setAnchorCaseSensitive.
-
anchorHorizontalAlignment
public Email anchorHorizontalAlignment(String anchorHorizontalAlignment)
anchorHorizontalAlignment.- Returns:
-
getAnchorHorizontalAlignment
public String getAnchorHorizontalAlignment()
Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**..- Returns:
- anchorHorizontalAlignment
-
setAnchorHorizontalAlignment
public void setAnchorHorizontalAlignment(String anchorHorizontalAlignment)
setAnchorHorizontalAlignment.
-
anchorIgnoreIfNotPresent
public Email anchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent)
anchorIgnoreIfNotPresent.- Returns:
-
getAnchorIgnoreIfNotPresent
public String getAnchorIgnoreIfNotPresent()
When set to **true**, this tab is ignored if anchorString is not found in the document..- Returns:
- anchorIgnoreIfNotPresent
-
setAnchorIgnoreIfNotPresent
public void setAnchorIgnoreIfNotPresent(String anchorIgnoreIfNotPresent)
setAnchorIgnoreIfNotPresent.
-
anchorMatchWholeWord
public Email anchorMatchWholeWord(String anchorMatchWholeWord)
anchorMatchWholeWord.- Returns:
-
getAnchorMatchWholeWord
public String getAnchorMatchWholeWord()
When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**..- Returns:
- anchorMatchWholeWord
-
setAnchorMatchWholeWord
public void setAnchorMatchWholeWord(String anchorMatchWholeWord)
setAnchorMatchWholeWord.
-
getAnchorString
public String getAnchorString()
Anchor text information for a radio button..- Returns:
- anchorString
-
setAnchorString
public void setAnchorString(String anchorString)
setAnchorString.
-
getAnchorUnits
public String getAnchorUnits()
Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches..- Returns:
- anchorUnits
-
setAnchorUnits
public void setAnchorUnits(String anchorUnits)
setAnchorUnits.
-
getAnchorXOffset
public String getAnchorXOffset()
Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString..- Returns:
- anchorXOffset
-
setAnchorXOffset
public void setAnchorXOffset(String anchorXOffset)
setAnchorXOffset.
-
getAnchorYOffset
public String getAnchorYOffset()
Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString..- Returns:
- anchorYOffset
-
setAnchorYOffset
public void setAnchorYOffset(String anchorYOffset)
setAnchorYOffset.
-
getBold
public String getBold()
When set to **true**, the information in the tab is bold..- Returns:
- bold
-
setBold
public void setBold(String bold)
setBold.
-
concealValueOnDocument
public Email concealValueOnDocument(String concealValueOnDocument)
concealValueOnDocument.- Returns:
-
getConcealValueOnDocument
public String getConcealValueOnDocument()
When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes..- Returns:
- concealValueOnDocument
-
setConcealValueOnDocument
public void setConcealValueOnDocument(String concealValueOnDocument)
setConcealValueOnDocument.
-
conditionalParentLabel
public Email conditionalParentLabel(String conditionalParentLabel)
conditionalParentLabel.- Returns:
-
getConditionalParentLabel
public String getConditionalParentLabel()
For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility..- Returns:
- conditionalParentLabel
-
setConditionalParentLabel
public void setConditionalParentLabel(String conditionalParentLabel)
setConditionalParentLabel.
-
conditionalParentValue
public Email conditionalParentValue(String conditionalParentValue)
conditionalParentValue.- Returns:
-
getConditionalParentValue
public String getConditionalParentValue()
For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. .- Returns:
- conditionalParentValue
-
setConditionalParentValue
public void setConditionalParentValue(String conditionalParentValue)
setConditionalParentValue.
-
getCustomTabId
public String getCustomTabId()
The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties..- Returns:
- customTabId
-
setCustomTabId
public void setCustomTabId(String customTabId)
setCustomTabId.
-
disableAutoSize
public Email disableAutoSize(String disableAutoSize)
disableAutoSize.- Returns:
-
getDisableAutoSize
public String getDisableAutoSize()
When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes..- Returns:
- disableAutoSize
-
setDisableAutoSize
public void setDisableAutoSize(String disableAutoSize)
setDisableAutoSize.
-
getDocumentId
public String getDocumentId()
Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute..- Returns:
- documentId
-
setDocumentId
public void setDocumentId(String documentId)
setDocumentId.
-
errorDetails
public Email errorDetails(ErrorDetails errorDetails)
errorDetails.- Returns:
-
getErrorDetails
public ErrorDetails getErrorDetails()
Get errorDetails.- Returns:
- errorDetails
-
setErrorDetails
public void setErrorDetails(ErrorDetails errorDetails)
setErrorDetails.
-
getFont
public String getFont()
The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default..- Returns:
- font
-
setFont
public void setFont(String font)
setFont.
-
getFontColor
public String getFontColor()
The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White..- Returns:
- fontColor
-
setFontColor
public void setFontColor(String fontColor)
setFontColor.
-
getFontSize
public String getFontSize()
The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72..- Returns:
- fontSize
-
setFontSize
public void setFontSize(String fontSize)
setFontSize.
-
getItalic
public String getItalic()
When set to **true**, the information in the tab is italic..- Returns:
- italic
-
setItalic
public void setItalic(String italic)
setItalic.
-
getLocked
public String getLocked()
When set to **true**, the signer cannot change the data of the custom tab..- Returns:
- locked
-
setLocked
public void setLocked(String locked)
setLocked.
-
getMaxLength
public Integer getMaxLength()
An optional value that describes the maximum length of the property when the property is a string..- Returns:
- maxLength
-
setMaxLength
public void setMaxLength(Integer maxLength)
setMaxLength.
-
mergeField
public Email mergeField(MergeField mergeField)
mergeField.- Returns:
-
getMergeField
public MergeField getMergeField()
Get mergeField.- Returns:
- mergeField
-
setMergeField
public void setMergeField(MergeField mergeField)
setMergeField.
-
getName
public String getName()
.- Returns:
- name
-
setName
public void setName(String name)
setName.
-
getOriginalValue
public String getOriginalValue()
The initial value of the tab when it was sent to the recipient. .- Returns:
- originalValue
-
setOriginalValue
public void setOriginalValue(String originalValue)
setOriginalValue.
-
getPageNumber
public String getPageNumber()
Specifies the page number on which the tab is located..- Returns:
- pageNumber
-
setPageNumber
public void setPageNumber(String pageNumber)
setPageNumber.
-
getRecipientId
public String getRecipientId()
Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document..- Returns:
- recipientId
-
setRecipientId
public void setRecipientId(String recipientId)
setRecipientId.
-
getRequireAll
public String getRequireAll()
When set to **true** and shared is true, information must be entered in this field to complete the envelope. .- Returns:
- requireAll
-
setRequireAll
public void setRequireAll(String requireAll)
setRequireAll.
-
getRequired
public String getRequired()
When set to **true**, the signer is required to fill out this tab.- Returns:
- required
-
setRequired
public void setRequired(String required)
setRequired.
-
requireInitialOnSharedChange
public Email requireInitialOnSharedChange(String requireInitialOnSharedChange)
requireInitialOnSharedChange.- Returns:
-
getRequireInitialOnSharedChange
public String getRequireInitialOnSharedChange()
Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field..- Returns:
- requireInitialOnSharedChange
-
setRequireInitialOnSharedChange
public void setRequireInitialOnSharedChange(String requireInitialOnSharedChange)
setRequireInitialOnSharedChange.
-
getSenderRequired
public String getSenderRequired()
When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope..- Returns:
- senderRequired
-
setSenderRequired
public void setSenderRequired(String senderRequired)
setSenderRequired.
-
getShared
public String getShared()
When set to **true**, this custom tab is shared..- Returns:
- shared
-
setShared
public void setShared(String shared)
setShared.
-
getStatus
public String getStatus()
Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later..- Returns:
- status
-
setStatus
public void setStatus(String status)
setStatus.
-
tabGroupLabels
public Email tabGroupLabels(List<String> tabGroupLabels)
tabGroupLabels.- Returns:
-
addTabGroupLabelsItem
public Email addTabGroupLabelsItem(String tabGroupLabelsItem)
addTabGroupLabelsItem.- Returns:
-
getTabId
public String getTabId()
The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. .- Returns:
- tabId
-
setTabId
public void setTabId(String tabId)
setTabId.
-
getTabLabel
public String getTabLabel()
The label string associated with the tab..- Returns:
- tabLabel
-
setTabLabel
public void setTabLabel(String tabLabel)
setTabLabel.
-
getTabOrder
public String getTabOrder()
.- Returns:
- tabOrder
-
setTabOrder
public void setTabOrder(String tabOrder)
setTabOrder.
-
getTemplateLocked
public String getTemplateLocked()
When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. .- Returns:
- templateLocked
-
setTemplateLocked
public void setTemplateLocked(String templateLocked)
setTemplateLocked.
-
templateRequired
public Email templateRequired(String templateRequired)
templateRequired.- Returns:
-
getTemplateRequired
public String getTemplateRequired()
When set to **true**, the sender may not remove the recipient. Used only when working with template recipients..- Returns:
- templateRequired
-
setTemplateRequired
public void setTemplateRequired(String templateRequired)
setTemplateRequired.
-
getTooltip
public String getTooltip()
.- Returns:
- tooltip
-
setTooltip
public void setTooltip(String tooltip)
setTooltip.
-
getUnderline
public String getUnderline()
When set to **true**, the information in the tab is underlined..- Returns:
- underline
-
setUnderline
public void setUnderline(String underline)
setUnderline.
-
validationMessage
public Email validationMessage(String validationMessage)
validationMessage.- Returns:
-
getValidationMessage
public String getValidationMessage()
The message displayed if the custom tab fails input validation (either custom of embedded)..- Returns:
- validationMessage
-
setValidationMessage
public void setValidationMessage(String validationMessage)
setValidationMessage.
-
validationPattern
public Email validationPattern(String validationPattern)
validationPattern.- Returns:
-
getValidationPattern
public String getValidationPattern()
A regular expression used to validate input for the tab..- Returns:
- validationPattern
-
setValidationPattern
public void setValidationPattern(String validationPattern)
setValidationPattern.
-
getValue
public String getValue()
Specifies the value of the tab. .- Returns:
- value
-
setValue
public void setValue(String value)
setValue.
-
getWidth
public Integer getWidth()
Width of the tab in pixels..- Returns:
- width
-
setWidth
public void setWidth(Integer width)
setWidth.
-
getXPosition
public String getXPosition()
This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position..- Returns:
- xPosition
-
setXPosition
public void setXPosition(String xPosition)
setXPosition.
-
getYPosition
public String getYPosition()
This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position..- Returns:
- yPosition
-
setYPosition
public void setYPosition(String yPosition)
setYPosition.
-
equals
public boolean equals(Object o)
Compares objects.
-
-