Interface LineItemGroup.Builder

All Superinterfaces:
Buildable, CopyableBuilder<LineItemGroup.Builder,LineItemGroup>, SdkBuilder<LineItemGroup.Builder,LineItemGroup>, SdkPojo
Enclosing class:
LineItemGroup

public static interface LineItemGroup.Builder extends SdkPojo, CopyableBuilder<LineItemGroup.Builder,LineItemGroup>
  • Method Details

    • lineItemGroupIndex

      LineItemGroup.Builder lineItemGroupIndex(Integer lineItemGroupIndex)

      The number used to identify a specific table in a document. The first table encountered will have a LineItemGroupIndex of 1, the second 2, etc.

      Parameters:
      lineItemGroupIndex - The number used to identify a specific table in a document. The first table encountered will have a LineItemGroupIndex of 1, the second 2, etc.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lineItems

      The breakdown of information on a particular line of a table.

      Parameters:
      lineItems - The breakdown of information on a particular line of a table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lineItems

      LineItemGroup.Builder lineItems(LineItemFields... lineItems)

      The breakdown of information on a particular line of a table.

      Parameters:
      lineItems - The breakdown of information on a particular line of a table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lineItems

      The breakdown of information on a particular line of a table.

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

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

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