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.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 |
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.
|
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.
|
int |
getOrder()
Gets the order of signer.
|
BoxSignRequestSignerRole |
getRole()
Gets the role of the signer.
|
BoxSignRequestSigner.BoxSignerDecision |
getSignerDecision()
Gets the final decision made by 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 |
setInPerson(Boolean isInPerson)
Sets the flag that is used in combination with an embed url for a the sender.
|
BoxSignRequestSigner |
setOrder(Integer order)
Sets the order of signer.
|
BoxSignRequestSigner |
setRole(BoxSignRequestSignerRole role)
Sets the role of the signer.
|
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject
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 BoxSignRequestSignerRole getRole()
public boolean getIsInPerson()
public int getOrder()
public String getEmbedUrlExternalUserId()
public boolean getHasViewedEmail()
public boolean getHasViewedDocument()
public BoxSignRequestSigner.BoxSignerDecision getSignerDecision()
public List<BoxSignRequestSigner.BoxSignerInput> getInputs()
public String getEmbedUrl()
public BoxSignRequestSigner setEmail(String email)
email
- address of the signer.public BoxSignRequestSigner setRole(BoxSignRequestSignerRole role)
role
- of the signer.public Boolean getInPerson()
public BoxSignRequestSigner setInPerson(Boolean isInPerson)
isInPerson
- flag.public BoxSignRequestSigner setOrder(Integer order)
order
- of signer.public BoxSignRequestSigner setEmbedUrlExternalUserId(String embedUrlExternalUserId)
embedUrlExternalUserId
- for this signer in external application responsible
for authentication when accessing the embed url.public JsonObject getJSONObject()