Class: Aws::B2bi::Types::X12ElementRequirementValidationRule

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/types.rb

Overview

Defines a validation rule that modifies the requirement status of a specific X12 element within a segment. This rule allows you to make optional elements mandatory or mandatory elements optional, providing flexibility to accommodate different trading partner requirements and business rules. The rule targets a specific element position within a segment and sets its requirement status to either OPTIONAL or MANDATORY.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#element_positionString

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:

  • (String)


3064
3065
3066
3067
3068
3069
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/types.rb', line 3064

class X12ElementRequirementValidationRule < Struct.new(
  :element_position,
  :requirement)
  SENSITIVE = []
  include Aws::Structure
end

#requirementString

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:

  • (String)


3064
3065
3066
3067
3068
3069
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/types.rb', line 3064

class X12ElementRequirementValidationRule < Struct.new(
  :element_position,
  :requirement)
  SENSITIVE = []
  include Aws::Structure
end