Class X12InterchangeControlHeaders
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<X12InterchangeControlHeaders.Builder,X12InterchangeControlHeaders>
In X12, the Interchange Control Header is the first segment of an EDI document and is part of the Interchange Envelope. It contains information about the sender and receiver, the date and time of transmission, and the X12 version being used. It also includes delivery information, such as the sender and receiver IDs.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringLocated at position ISA-14 in the header.builder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringLocated at position ISA-08 in the header.final StringLocated at position ISA-07 in the header.final StringLocated at position ISA-11 in the header.final StringsenderId()Located at position ISA-06 in the header.final StringLocated at position ISA-05 in the header.static Class<? extends X12InterchangeControlHeaders.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringLocated at position ISA-15 in the header.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
senderIdQualifier
Located at position ISA-05 in the header. Qualifier for the sender ID. Together, the ID and qualifier uniquely identify the sending trading partner.
- Returns:
- Located at position ISA-05 in the header. Qualifier for the sender ID. Together, the ID and qualifier uniquely identify the sending trading partner.
-
senderId
Located at position ISA-06 in the header. This value (along with the
senderIdQualifier) identifies the sender of the interchange.- Returns:
- Located at position ISA-06 in the header. This value (along with the
senderIdQualifier) identifies the sender of the interchange.
-
receiverIdQualifier
Located at position ISA-07 in the header. Qualifier for the receiver ID. Together, the ID and qualifier uniquely identify the receiving trading partner.
- Returns:
- Located at position ISA-07 in the header. Qualifier for the receiver ID. Together, the ID and qualifier uniquely identify the receiving trading partner.
-
receiverId
Located at position ISA-08 in the header. This value (along with the
receiverIdQualifier) identifies the intended recipient of the interchange.- Returns:
- Located at position ISA-08 in the header. This value (along with the
receiverIdQualifier) identifies the intended recipient of the interchange.
-
repetitionSeparator
Located at position ISA-11 in the header. This string makes it easier when you need to group similar adjacent element values together without using extra segments.
This parameter is only honored for version greater than 401 (
VERSION_4010and higher).For versions less than 401, this field is called StandardsId, in which case our service sets the value to
U.- Returns:
- Located at position ISA-11 in the header. This string makes it easier when you need to group similar
adjacent element values together without using extra segments.
This parameter is only honored for version greater than 401 (
VERSION_4010and higher).For versions less than 401, this field is called StandardsId, in which case our service sets the value to
U.
-
acknowledgmentRequestedCode
Located at position ISA-14 in the header. The value "1" indicates that the sender is requesting an interchange acknowledgment at receipt of the interchange. The value "0" is used otherwise.
- Returns:
- Located at position ISA-14 in the header. The value "1" indicates that the sender is requesting an interchange acknowledgment at receipt of the interchange. The value "0" is used otherwise.
-
usageIndicatorCode
Located at position ISA-15 in the header. Specifies how this interchange is being used:
-
Tindicates this interchange is for testing. -
Pindicates this interchange is for production. -
Iindicates this interchange is informational.
- Returns:
- Located at position ISA-15 in the header. Specifies how this interchange is being used:
-
Tindicates this interchange is for testing. -
Pindicates this interchange is for production. -
Iindicates this interchange is informational.
-
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<X12InterchangeControlHeaders.Builder,X12InterchangeControlHeaders> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-