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 String
Located at position ISA-14 in the header.builder()
final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final String
Located at position ISA-08 in the header.final String
Located at position ISA-07 in the header.final String
Located at position ISA-11 in the header.final String
senderId()
Located at position ISA-06 in the header.final String
Located 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 String
toString()
Returns a string representation of this object.final String
Located 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_4010
and 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_4010
and 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:
-
T
indicates this interchange is for testing. -
P
indicates this interchange is for production. -
I
indicates this interchange is informational.
- Returns:
- Located at position ISA-15 in the header. Specifies how this interchange is being used:
-
T
indicates this interchange is for testing. -
P
indicates this interchange is for production. -
I
indicates this interchange is informational.
-
-
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<X12InterchangeControlHeaders.Builder,
X12InterchangeControlHeaders> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-