create_transaction_footer Method
Closes the current transaction set by writing its footer segment.
Syntax
def create_transaction_footer() -> None: ...
Remarks
The on_create_transaction_footer method will write any existing segments to the output stream and then generate and write the transaction set closing segment (SE or UNT). If there are no open transaction sets, an exception will be thrown.