@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2017-03-06T16:42:36.211-08:00") public class EventNotification extends Object
This optional complex element allows a message to be sent a specified URL when the envelope or recipient changes status. It is similar to DocuSign Connect. For example, if an envelope changes from "Sent" to "Delivered", a message containing the updated envelope status and optionally the documents is sent to the URL. When an eventNotification is attached to an envelope using the API, it only applies to the envelope (treating the envelope as the sender). This is different from envelopes created through the console user interface, where the user is treated as the sender.
| Constructor and Description |
|---|
EventNotification() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<EnvelopeEvent> |
getEnvelopeEvents()
A list of envelope-level event statuses that will trigger Connect to send updates to the endpoint specified in the
url property. |
String |
getIncludeCertificateOfCompletion()
When set to true, the Connect Service includes the Certificate of Completion with completed envelopes.
|
String |
getIncludeCertificateWithSoap()
When set to true, this tells the Connect service to send the DocuSign signedby certificate as part of the outgoing SOAP xml.
|
String |
getIncludeDocumentFields()
When set to true, the Document Fields associated with envelope documents are included in the data.
|
String |
getIncludeDocuments()
When set to true, the PDF documents are included in the message along with the updated XML.
|
String |
getIncludeEnvelopeVoidReason()
When set to true, this tells the Connect Service to include the void reason, as entered by the person that voided the envelope, in the message.
|
String |
getIncludeSenderAccountAsCustomField()
When set to true, the sender account ID is included as a envelope custom field in the data.
|
String |
getIncludeTimeZone()
When set to true, the envelope time zone information is included in the message.
|
String |
getLoggingEnabled()
When set to true, logging is turned on for envelope events on the Web Console Connect page.
|
List<RecipientEvent> |
getRecipientEvents()
A list of recipient event statuses that will trigger Connect to send updates to the endpoint specified in the url property.\n\nTo receive notifications, you must include either an
envelopeEvents node or a recipientEvents node. |
String |
getRequireAcknowledgment()
When set to true, the DocuSign Connect service checks that the message was received and retries on failures.
|
String |
getSignMessageWithX509Cert()
When set to true, messages are signed with an X509 certificate.
|
String |
getSoapNameSpace()
This lists the namespace in the SOAP listener provided.
|
String |
getUrl()
Specifies the endpoint to which envelope updates are sent.
|
String |
getUseSoapInterface()
When set to true, this tells the Connect service that the user’s endpoint has implemented a SOAP interface.
|
int |
hashCode() |
void |
setEnvelopeEvents(List<EnvelopeEvent> envelopeEvents) |
void |
setIncludeCertificateOfCompletion(String includeCertificateOfCompletion) |
void |
setIncludeCertificateWithSoap(String includeCertificateWithSoap) |
void |
setIncludeDocumentFields(String includeDocumentFields) |
void |
setIncludeDocuments(String includeDocuments) |
void |
setIncludeEnvelopeVoidReason(String includeEnvelopeVoidReason) |
void |
setIncludeSenderAccountAsCustomField(String includeSenderAccountAsCustomField) |
void |
setIncludeTimeZone(String includeTimeZone) |
void |
setLoggingEnabled(String loggingEnabled) |
void |
setRecipientEvents(List<RecipientEvent> recipientEvents) |
void |
setRequireAcknowledgment(String requireAcknowledgment) |
void |
setSignMessageWithX509Cert(String signMessageWithX509Cert) |
void |
setSoapNameSpace(String soapNameSpace) |
void |
setUrl(String url) |
void |
setUseSoapInterface(String useSoapInterface) |
String |
toString() |
public List<EnvelopeEvent> getEnvelopeEvents()
A list of envelope-level event statuses that will trigger Connect to send updates to the endpoint specified in the url property. \n\nTo receive notifications, you must include either an envelopeEvents node or a recipientEvents node. You do not need to specify both.
public void setEnvelopeEvents(List<EnvelopeEvent> envelopeEvents)
public String getIncludeCertificateOfCompletion()
When set to true, the Connect Service includes the Certificate of Completion with completed envelopes.
public void setIncludeCertificateOfCompletion(String includeCertificateOfCompletion)
public String getIncludeCertificateWithSoap()
When set to true, this tells the Connect service to send the DocuSign signedby certificate as part of the outgoing SOAP xml. This appears in the XML as wsse:BinarySecurityToken.
public void setIncludeCertificateWithSoap(String includeCertificateWithSoap)
public String getIncludeDocumentFields()
When set to true, the Document Fields associated with envelope documents are included in the data. Document Fields are optional custom name-value pairs added to documents using the API.
public void setIncludeDocumentFields(String includeDocumentFields)
public String getIncludeDocuments()
When set to true, the PDF documents are included in the message along with the updated XML.
public void setIncludeDocuments(String includeDocuments)
public String getIncludeEnvelopeVoidReason()
When set to true, this tells the Connect Service to include the void reason, as entered by the person that voided the envelope, in the message.
public void setIncludeEnvelopeVoidReason(String includeEnvelopeVoidReason)
public String getIncludeSenderAccountAsCustomField()
When set to true, the sender account ID is included as a envelope custom field in the data.
public void setIncludeSenderAccountAsCustomField(String includeSenderAccountAsCustomField)
public String getIncludeTimeZone()
When set to true, the envelope time zone information is included in the message.
public void setIncludeTimeZone(String includeTimeZone)
public String getLoggingEnabled()
When set to true, logging is turned on for envelope events on the Web Console Connect page.
public void setLoggingEnabled(String loggingEnabled)
public List<RecipientEvent> getRecipientEvents()
A list of recipient event statuses that will trigger Connect to send updates to the endpoint specified in the url property.\n\nTo receive notifications, you must include either an envelopeEvents node or a recipientEvents node. You do not need to specify both.
public void setRecipientEvents(List<RecipientEvent> recipientEvents)
public String getRequireAcknowledgment()
When set to true, the DocuSign Connect service checks that the message was received and retries on failures.
public void setRequireAcknowledgment(String requireAcknowledgment)
public String getSignMessageWithX509Cert()
When set to true, messages are signed with an X509 certificate. This provides support for 2-way SSL in the envelope.
public void setSignMessageWithX509Cert(String signMessageWithX509Cert)
public String getSoapNameSpace()
This lists the namespace in the SOAP listener provided.
public void setSoapNameSpace(String soapNameSpace)
public String getUrl()
Specifies the endpoint to which envelope updates are sent. Udpates are sent as XML unless useSoapInterface property is set to true.
public void setUrl(String url)
public String getUseSoapInterface()
When set to true, this tells the Connect service that the user’s endpoint has implemented a SOAP interface.
public void setUseSoapInterface(String useSoapInterface)
Copyright © 2017. All Rights Reserved.