iso8583sim.core.convert
ConversionResult
Outcome of a version conversion.
lossless
True when every field was carried over.
Functions
convert_mti()
Rewrite the MTI’s version digit for the target version.
convert_message()
Convert a message to another ISO 8583 version.
The MTI version digit is rewritten, original data elements move between field 90 and
field 56 where the versions differ, and every other field is checked against the
target version’s definition. Fields that don’t fit are dropped and reported rather
than truncated, because a shortened value would be silently wrong.
Parameters
Parsed message in its source version
ConversionResult with the converted message, dropped fields and notes