Skip to main content
Version: v0.0.6

Interface: MessageInput

The message to build: an optional header, the body records, and an optional terminator code.

Properties

readonly optional header?: HeaderInput

Header fields; the canonical H|\^& declaration is always emitted.


records

readonly records: readonly AstmRecordInput[]

The body records, in order. H and L are supplied by the builder.


terminationCode?

readonly optional terminationCode?: string

Field 3 of the auto-appended L (terminator) record: the termination code (e.g. N normal). Omitted by default (not defaulted to a value the caller did not choose); the L seq is always emitted.