from abc import ABCMeta, abstractmethod
class Storage:
class Storage():
'''
ABC for accounting storage
__metaclass__ = ABCMeta
def __init__(self, *args, **kw):
raise NotImplementedError()
pass
@abstractmethod
def get_transactions(self, *args, **kw):
raise NotImplementedError
def get_transaction(self, *args, **kw):
def get_account(self, *args, **kw):
def get_accounts(self, *args, **kw):
def update_transaction(self, transaction):
def reverse_transaction(self, transaction_id):