Interface: TelecomTransaction
A decoded Telecom transmission: the fixed header, the variable segments of the first transaction (field-id-keyed, in wire order), the header's declared transaction count, and any non-fatal warnings. Everything is frozen.
Properties
header
readonlyheader:TelecomHeader
The decoded fixed Transaction Header. For a response, the overlapping fields (version, transaction code, count, service provider) are lifted from the response header; request-only fields (BIN, PCN, …) are empty.
kind
readonlykind:"request"|"response"
Whether this is a request transmission (decoded against the 56-byte request header) or a response transmission (decoded against the response header).
profile?
readonlyoptionalprofile?:NcpdpProfile
The trading-partner profile in effect for this parse: either passed
explicitly via options.profile or resolved from the process-scoped
default. Present only when a profile applied; attribution only (v1 profiles
never alter the parse).
responseHeader?
readonlyoptionalresponseHeader?:TelecomResponseHeader
The decoded Response Transaction Header: present only when kind is "response".
segments
readonlysegments: readonlyTelecomSegment[]
The first transaction's segments, in wire order.
transactionCount
readonlytransactionCount:string
Declared number of transactions (109-A9), verbatim from the header.
warnings
readonlywarnings: readonlyNcpdpTelecomWarning[]
Non-fatal parse warnings: stable code + byte offset + field id, never PHI.