Support coming operations

This commit is contained in:
Florent 2014-08-28 11:52:15 +02:00
commit 732417b94a
3 changed files with 39 additions and 5 deletions

View file

@ -96,6 +96,11 @@ class INGBackend(BaseBackend, CapBank, CapBill):
account = self.get_account(account)
return self.browser.get_investments(account)
def iter_coming(self, account):
if not isinstance(account, Account):
account = self.get_account(account)
return self.browser.get_coming(account)
def iter_subscription(self):
return self.browser.get_subscriptions()