Class: Aws::B2bi::Types::X12CodeListValidationRule

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 allowed code values for a specific X12 element. This rule allows you to add or remove valid codes from an element's standard code list, providing flexibility to accommodate trading partner-specific requirements or industry variations. You can specify codes to add to expand the allowed values beyond the X12 standard, or codes to remove to restrict the allowed values for stricter validation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codes_to_addArray<String>

Specifies a list of code values to add to the element's allowed values. These codes will be considered valid for the specified element in addition to the standard codes defined by the X12 specification.

Returns:

  • (Array<String>)


2903
2904
2905
2906
2907
2908
2909
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/types.rb', line 2903

class X12CodeListValidationRule < Struct.new(
  :element_id,
  :codes_to_add,
  :codes_to_remove)
  SENSITIVE = []
  include Aws::Structure
end

#codes_to_removeArray<String>

Specifies a list of code values to remove from the element's allowed values. These codes will be considered invalid for the specified element, even if they are part of the standard codes defined by the X12 specification.

Returns:

  • (Array<String>)


2903
2904
2905
2906
2907
2908
2909
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/types.rb', line 2903

class X12CodeListValidationRule < Struct.new(
  :element_id,
  :codes_to_add,
  :codes_to_remove)
  SENSITIVE = []
  include Aws::Structure
end

#element_idString

Specifies the four-digit element ID to which the code list modifications apply. This identifies which X12 element will have its allowed code values modified.

Returns:

  • (String)


2903
2904
2905
2906
2907
2908
2909
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/types.rb', line 2903

class X12CodeListValidationRule < Struct.new(
  :element_id,
  :codes_to_add,
  :codes_to_remove)
  SENSITIVE = []
  include Aws::Structure
end