saman-payment-pos
    Preparing search index...

    Class Iso8583Message

    Packed ISO-8583 message. Field values are stored as their logical "content bytes".

    Index
    • Returns the field bytes (useful for binary fields such as DE64).

      Parameters

      • field: number

      Returns Buffer<ArrayBufferLike> | undefined

    • Parameters

      • field: number

      Returns Buffer<ArrayBufferLike> | undefined

    • Returns the field as text (digits for N/XN, windows-1256-decoded text for ASCII fields), with any trailing NUL padding removed. Use getBin for the raw bytes.

      Parameters

      • field: number

      Returns string | undefined

    • Parameters

      • field: number

      Returns boolean

    • Pack without touching the MAC (DE64 used as-is if present).

      Returns Buffer

    • Pack and append the SSP1126 DE64 CBC-MAC. Returns the full on-wire message.

      Returns Buffer

    • Parameters

      • field: number
      • value: Buffer

      Returns this

    • Parameters

      • mti: string

      Returns this

    • Parameters

      • field: number
      • value: string

      Returns this