ofx-processor/tests/utils.py

15 lines
287 B
Python

import datetime
from dataclasses import dataclass
@dataclass
class OfxTransaction:
"""
Mimick what is retrieved via ofxtools when parsing the file
"""
name: str = ""
memo: str = ""
dtposted: datetime.datetime = None
trnamt: float = 0
trntype: str = ""