Skip to content

Conversation

@diraol
Copy link

@diraol diraol commented Apr 14, 2024

This pull request includes changes to the ofxparse Python library, specifically in the ofxparse.py and ofxprinter.py files. The changes are centered around improving the handling of OFX data, including parsing and printing. The main changes include parsing the dtserver field in the __init__ method of ofxparse.py, adding a tabs parameter in the OfxPrinter class of ofxprinter.py, and expanding the writeHeaders, writeStmTrs, and writeBankMsgsRsv1 methods in ofxprinter.py.

Parsing improvements:

  • ofxparse/ofxparse.py: The __init__ method now parses the dtserver field using the parseOfxDateTime method from OfxParser.

Printing improvements:

  • ofxparse/ofxprinter.py: The OfxPrinter class now has a tabs parameter in the __init__ method, which is used to control the indentation of the output.
  • ofxparse/ofxprinter.py: The writeSignOn method has been expanded to handle a variety of fields and conditions for the signon object.
  • ofxparse/ofxprinter.py: A new method writeCCStmTrs has been added to handle the printing of credit card statement transactions.
  • ofxparse/ofxprinter.py: The writeBankMsgsRsv1 method has been expanded to handle credit card messages via the new writeCreditCardMsgsRsv1 method.

@diraol diraol force-pushed the dro/write_credit_card branch from 503f22a to 690abe7 Compare April 14, 2024 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant