Interface ListInvoiceUnitsResponse.Builder

  • Method Details

    • invoiceUnits

      An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.

      Parameters:
      invoiceUnits - An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • invoiceUnits

      ListInvoiceUnitsResponse.Builder invoiceUnits(InvoiceUnit... invoiceUnits)

      An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.

      Parameters:
      invoiceUnits - An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • invoiceUnits

      An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.

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

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

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

      The next token used to indicate where the returned list should start from.

      Parameters:
      nextToken - The next token used to indicate where the returned list should start from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.