Add writer of Credit Card Statement #175
Open
+104
−7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes changes to the
ofxparse
Python library, specifically in theofxparse.py
andofxprinter.py
files. The changes are centered around improving the handling of OFX data, including parsing and printing. The main changes include parsing thedtserver
field in the__init__
method ofofxparse.py
, adding atabs
parameter in theOfxPrinter
class ofofxprinter.py
, and expanding thewriteHeaders
,writeStmTrs
, andwriteBankMsgsRsv1
methods inofxprinter.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.