public class BoxSignRequestSigner extends BoxJSONObject
Modifier and Type | Class and Description |
---|---|
class |
BoxSignRequestSigner.BoxSignerDecision
Represents a final decision made by signer (type and time the decision was made).
|
class |
BoxSignRequestSigner.BoxSignerInput
Represents an input created by a signer on a sign request.
|
static class |
BoxSignRequestSigner.BoxSignRequestInputContentType
Represents a content type of input.
|
static class |
BoxSignRequestSigner.BoxSignRequestInputType
Represents a type of input.
|
static class |
BoxSignRequestSigner.BoxSignRequestSignerDecisionType
Type of decision made by signer.
|
Constructor and Description |
---|
BoxSignRequestSigner(JsonObject jsonObject,
BoxAPIConnection api)
Construct a BoxSignRequestSigner.
|
BoxSignRequestSigner(String email)
Constructs a BoxSignRequestSigner with an email.
|
Modifier and Type | Method and Description |
---|---|
String |
getDeclinedRedirectUrl()
Gets the declined redirect url for the signer.
|
String |
getEmail()
Gets the email address of the signer.
|
String |
getEmbedUrl()
Gets the url to direct signer to for signing.
|
String |
getEmbedUrlExternalUserId()
Gets the user id for this signer in external application responsible
for authentication when accessing the embed url.
|
boolean |
getHasViewedDocument()
Gets the flag indicating if signer has viewed the document.
|
boolean |
getHasViewedEmail()
Gets the flag indicating if signer has viewed the sign request email.
|
String |
getIframeableEmedUrl()
Gets the URL designed for signing documents within an HTML iframe tag.
|
Boolean |
getInPerson()
Gets the flag that is used in combination with an embed url for a the sender.
|
List<BoxSignRequestSigner.BoxSignerInput> |
getInputs()
Gets the inputs created by a signer on a sign request.
|
boolean |
getIsInPerson()
Gets the flag that when used in combination with an embed url on the sender.
|
JsonObject |
getJSONObject()
Gets a JSON object representing this class.
|
Boolean |
getLoginRequired()
If set to true, signer will need to login to a Box account before signing the request.
|
int |
getOrder()
Gets the order of signer.
|
String |
getPassword()
If set, the signer is required to enter the password before they are able to sign a document.
|
String |
getRedirectUrl()
Gets the redirect url for the signer.
|
BoxSignRequestSignerRole |
getRole()
Gets the role of the signer.
|
BoxSignRequestSigner.BoxSignerDecision |
getSignerDecision()
Gets the final decision made by signer.
|
String |
getSignerGroupId()
Gets the signer group id.
|
Boolean |
getSuppressNotifications()
Gets the flag that suppresses email notifications for the signer.
|
String |
getVerificationPhoneNumber()
Gets the phone number used for verification.
|
BoxSignRequestSigner |
setDeclinedRedirectUrl(String declinedRedirectUrl)
Sets the declined redirect url for the signer.
|
BoxSignRequestSigner |
setEmail(String email)
Sets the email address of the signer.
|
BoxSignRequestSigner |
setEmbedUrlExternalUserId(String embedUrlExternalUserId)
Sets the user id for this signer in external application responsible
for authentication when accessing the embed url.
|
BoxSignRequestSigner |
setIframeableEmedUrl(String iframeableEmedUrl)
Sets the URL designed for signing documents within an HTML iframe tag.
|
BoxSignRequestSigner |
setInPerson(Boolean isInPerson)
Sets the flag that is used in combination with an embed url for a the sender.
|
BoxSignRequestSigner |
setLoginRequired(Boolean loginRequired)
If set to true, signer will need to login to a Box account before signing the request.
|
BoxSignRequestSigner |
setOrder(Integer order)
Sets the order of signer.
|
BoxSignRequestSigner |
setPassword(String password)
Sets the password required for the signer to access the sign request.
|
BoxSignRequestSigner |
setRedirectUrl(String redirectUrl)
Sets the redirect url for the signer.
|
BoxSignRequestSigner |
setRole(BoxSignRequestSignerRole role)
Sets the role of the signer.
|
BoxSignRequestSigner |
setSignerGroupId(String signerGroupId)
Sets the group id.
|
BoxSignRequestSigner |
setSuppressNotifications(Boolean suppressNotifications)
Sets the flag that suppresses email notifications for the signer.
|
BoxSignRequestSigner |
setVerificationPhoneNumber(String verificationPhoneNumber)
Sets the phone number used for verification.
|
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObject
public BoxSignRequestSigner(String email)
email
- of signer.public BoxSignRequestSigner(JsonObject jsonObject, BoxAPIConnection api)
jsonObject
- the parsed JSON object.api
- the API connection to be used to fetch interacted itempublic String getEmail()
public BoxSignRequestSigner setEmail(String email)
email
- address of the signer.public BoxSignRequestSignerRole getRole()
public BoxSignRequestSigner setRole(BoxSignRequestSignerRole role)
role
- of the signer.public boolean getIsInPerson()
public int getOrder()
public BoxSignRequestSigner setOrder(Integer order)
order
- of signer.public String getEmbedUrlExternalUserId()
public BoxSignRequestSigner setEmbedUrlExternalUserId(String embedUrlExternalUserId)
embedUrlExternalUserId
- for this signer in external application responsible
for authentication when accessing the embed url.public boolean getHasViewedEmail()
public boolean getHasViewedDocument()
public BoxSignRequestSigner.BoxSignerDecision getSignerDecision()
public List<BoxSignRequestSigner.BoxSignerInput> getInputs()
public String getEmbedUrl()
public Boolean getInPerson()
public BoxSignRequestSigner setInPerson(Boolean isInPerson)
isInPerson
- flag.public String getRedirectUrl()
public BoxSignRequestSigner setRedirectUrl(String redirectUrl)
redirectUrl
- for the signer.public String getDeclinedRedirectUrl()
public BoxSignRequestSigner setDeclinedRedirectUrl(String declinedRedirectUrl)
declinedRedirectUrl
- for the signer.public String getIframeableEmedUrl()
public BoxSignRequestSigner setIframeableEmedUrl(String iframeableEmedUrl)
iframeableEmedUrl
- url for signing documents within an HTML iframe tag.public String getSignerGroupId()
public BoxSignRequestSigner setSignerGroupId(String signerGroupId)
signerGroupId
- id of the group to which the sign request will be sentpublic Boolean getLoginRequired()
public BoxSignRequestSigner setLoginRequired(Boolean loginRequired)
loginRequired
- indicates if login is required for the signer.public String getPassword()
public BoxSignRequestSigner setPassword(String password)
password
- required for the signer to access the sign request.public Boolean getSuppressNotifications()
public BoxSignRequestSigner setSuppressNotifications(Boolean suppressNotifications)
suppressNotifications
- indicates if email notifications are suppressed for the signer.public String getVerificationPhoneNumber()
public BoxSignRequestSigner setVerificationPhoneNumber(String verificationPhoneNumber)
verificationPhoneNumber
- phone number used for verification.public JsonObject getJSONObject()