Package com.pdfgate

Class EnvelopeDocument.Builder

java.lang.Object
com.pdfgate.EnvelopeDocument.Builder
Enclosing class:
EnvelopeDocument

public static final class EnvelopeDocument.Builder extends Object
Builder for EnvelopeDocument.
  • Method Details

    • sourceDocumentId

      public EnvelopeDocument.Builder sourceDocumentId(String sourceDocumentId)
      Sets the source document ID.
      Parameters:
      sourceDocumentId - source document ID.
      Returns:
      this builder.
    • name

      public EnvelopeDocument.Builder name(String name)
      Sets the display name inside the envelope.
      Parameters:
      name - display name inside the envelope.
      Returns:
      this builder.
    • recipients

      public EnvelopeDocument.Builder recipients(List<EnvelopeRecipient> recipients)
      Sets the recipients for the document.
      Parameters:
      recipients - recipients for the document.
      Returns:
      this builder.
    • build

      public EnvelopeDocument build()
      Builds the envelope document parameters.
      Returns:
      the envelope document parameters.