Interface TestMappingRequest.Builder

    • Method Detail

      • inputFileContent

        TestMappingRequest.Builder inputFileContent​(String inputFileContent)

        Specify the contents of the EDI (electronic data interchange) XML or JSON file that is used as input for the transform.

        Parameters:
        inputFileContent - Specify the contents of the EDI (electronic data interchange) XML or JSON file that is used as input for the transform.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mappingTemplate

        TestMappingRequest.Builder mappingTemplate​(String mappingTemplate)

        Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

        This parameter is available for backwards compatibility. Use the Mapping data type instead.

        Parameters:
        mappingTemplate - Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

        This parameter is available for backwards compatibility. Use the Mapping data type instead.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fileFormat

        TestMappingRequest.Builder fileFormat​(String fileFormat)

        Specifies that the currently supported file formats for EDI transformations are JSON and XML.

        Parameters:
        fileFormat - Specifies that the currently supported file formats for EDI transformations are JSON and XML.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FileFormat, FileFormat
      • fileFormat

        TestMappingRequest.Builder fileFormat​(FileFormat fileFormat)

        Specifies that the currently supported file formats for EDI transformations are JSON and XML.

        Parameters:
        fileFormat - Specifies that the currently supported file formats for EDI transformations are JSON and XML.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FileFormat, FileFormat