This simple example code shows you how to use the Java SDK in order to configure your documents' visibility to your recipients.
By default, during a Signing Ceremony all recipients can view all documents in a transaction. The Document Visibility feature allows recipients to only view specific documents in a package during a Signing Ceremony. This can save recipients from having to process documents they don't need to see, and it can ensure that documents with sensitive information are viewed only by their intended recipients.
To notice: some functions are extended from Apex SDK, so please copy paste all dependent functions when testing in your own code.