ElementRequirementValidationRule
Specifies an element requirement validation rule that modifies whether a specific X12 element is required or optional within a segment. This rule provides flexibility to accommodate different trading partner requirements for element presence.
Inherited functions
Casts this X12ValidationRule as a CodeListValidationRule and retrieves its aws.sdk.kotlin.services.b2bi.model.X12CodeListValidationRule value. Throws an exception if the X12ValidationRule is not a CodeListValidationRule.
Casts this X12ValidationRule as a CodeListValidationRule and retrieves its aws.sdk.kotlin.services.b2bi.model.X12CodeListValidationRule value. Returns null if the X12ValidationRule is not a CodeListValidationRule.
Casts this X12ValidationRule as a ElementLengthValidationRule and retrieves its aws.sdk.kotlin.services.b2bi.model.X12ElementLengthValidationRule value. Throws an exception if the X12ValidationRule is not a ElementLengthValidationRule.
Casts this X12ValidationRule as a ElementLengthValidationRule and retrieves its aws.sdk.kotlin.services.b2bi.model.X12ElementLengthValidationRule value. Returns null if the X12ValidationRule is not a ElementLengthValidationRule.
Casts this X12ValidationRule as a ElementRequirementValidationRule and retrieves its aws.sdk.kotlin.services.b2bi.model.X12ElementRequirementValidationRule value. Throws an exception if the X12ValidationRule is not a ElementRequirementValidationRule.
Casts this X12ValidationRule as a ElementRequirementValidationRule and retrieves its aws.sdk.kotlin.services.b2bi.model.X12ElementRequirementValidationRule value. Returns null if the X12ValidationRule is not a ElementRequirementValidationRule.