Interface LegalTerm.Builder

  • Method Details

    • id

      The unique identifier of the term.

      Parameters:
      id - The unique identifier of the term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The category of the term.

      Parameters:
      type - The category of the term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The category of the term.

      Parameters:
      type - The category of the term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • documents

      LegalTerm.Builder documents(Collection<DocumentItem> documents)

      The legal documents proposed to the buyer as part of this term.

      Parameters:
      documents - The legal documents proposed to the buyer as part of this term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • documents

      LegalTerm.Builder documents(DocumentItem... documents)

      The legal documents proposed to the buyer as part of this term.

      Parameters:
      documents - The legal documents proposed to the buyer as part of this term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • documents

      The legal documents proposed to the buyer as part of this term.

      This is a convenience method that creates an instance of the DocumentItem.Builder avoiding the need to create one manually via DocumentItem.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to documents(List<DocumentItem>).

      Parameters:
      documents - a consumer that will call methods on DocumentItem.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: