First work on transfer
This commit is contained in:
parent
10c336fca9
commit
af96a09be0
4 changed files with 58 additions and 11 deletions
|
|
@ -79,3 +79,9 @@ class INGBackend(BaseBackend, ICapBank):
|
|||
account = self.get_account(account)
|
||||
for recipient in self.browser.get_recipients(account):
|
||||
yield recipient
|
||||
|
||||
def transfer(self, account, recipient, amount, reason):
|
||||
with self.browser:
|
||||
if not isinstance(account, Account):
|
||||
account = self.get_account(account)
|
||||
self.browser.transfer(account, recipient, amount, reason)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue