Skip to main content

Module quirks

Module quirks 

Source
Expand description

Repairs for bank messages that break the message layout.

A QuirkChain holds Quirks. Each quirk recognises one kind of damage and leaves every other message as it is, so all of them run on every message. An answer from the bank goes through three stages (QuirkChain::incoming):

  1. raw: Quirk::incoming_raw sees the answer as it arrived, still in its PIN/TAN envelope (HNVSK, HNVSD). Damage to the message head HNHBK is repaired here.
  2. The envelope is opened: HNVSK goes, HNVSD is replaced by the segments it carries. What remains is HNHBK, the inner segments and HNHBS.
  3. clear text: Quirk::incoming sees that result.

A request passes Quirk::outgoing before it is sent.

tolerant holds the repairs of the default chain and explains their order.

Modules§

tolerant
Tolerant-parsing quirks: repairs for bank answers that break the message layout of the FinTS 3.0 formals (message header HNHBK, status segment order, continuous segment numbering).

Structs§

QuirkChain
The quirks of one connection, in the order they run.
QuirkContext
Facts about the request that an answer belongs to.

Traits§

Quirk
The repair of one kind of damage.