Interface OutputConversion.Builder

  • Method Details

    • toFormat

      OutputConversion.Builder toFormat(String toFormat)

      The format for the output from an outbound transformer: only X12 is currently supported.

      Parameters:
      toFormat - The format for the output from an outbound transformer: only X12 is currently supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • toFormat

      OutputConversion.Builder toFormat(ToFormat toFormat)

      The format for the output from an outbound transformer: only X12 is currently supported.

      Parameters:
      toFormat - The format for the output from an outbound transformer: only X12 is currently supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • formatOptions

      OutputConversion.Builder formatOptions(FormatOptions formatOptions)

      A structure that contains the X12 transaction set and version for the transformer output.

      Parameters:
      formatOptions - A structure that contains the X12 transaction set and version for the transformer output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • formatOptions

      default OutputConversion.Builder formatOptions(Consumer<FormatOptions.Builder> formatOptions)

      A structure that contains the X12 transaction set and version for the transformer output.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to formatOptions(FormatOptions).

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