ofxparse
ofxparse copied to clipboard
Add writer of Credit Card Statement
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 thedtserver
field using theparseOfxDateTime
method fromOfxParser
.
Printing improvements:
-
ofxparse/ofxprinter.py
: TheOfxPrinter
class now has atabs
parameter in the__init__
method, which is used to control the indentation of the output. -
ofxparse/ofxprinter.py
: ThewriteSignOn
method has been expanded to handle a variety of fields and conditions for thesignon
object. -
ofxparse/ofxprinter.py
: A new methodwriteCCStmTrs
has been added to handle the printing of credit card statement transactions. -
ofxparse/ofxprinter.py
: ThewriteBankMsgsRsv1
method has been expanded to handle credit card messages via the newwriteCreditCardMsgsRsv1
method.