Interface X12ElementRequirementValidationRule.Builder

  • Method Details

    • elementPosition

      X12ElementRequirementValidationRule.Builder elementPosition(String elementPosition)

      Specifies the position of the element within an X12 segment for which the requirement status will be modified. The format follows the pattern of segment identifier followed by element position (e.g., "ST-01" for the first element of the ST segment).

      Parameters:
      elementPosition - Specifies the position of the element within an X12 segment for which the requirement status will be modified. The format follows the pattern of segment identifier followed by element position (e.g., "ST-01" for the first element of the ST segment).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requirement

      Specifies the requirement status for the element at the specified position. Valid values are OPTIONAL (the element may be omitted) or MANDATORY (the element must be present).

      Parameters:
      requirement - Specifies the requirement status for the element at the specified position. Valid values are OPTIONAL (the element may be omitted) or MANDATORY (the element must be present).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requirement

      Specifies the requirement status for the element at the specified position. Valid values are OPTIONAL (the element may be omitted) or MANDATORY (the element must be present).

      Parameters:
      requirement - Specifies the requirement status for the element at the specified position. Valid values are OPTIONAL (the element may be omitted) or MANDATORY (the element must be present).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: