X-Git-Url: http://dolda2000.com/gitweb/?p=fulbank.git;a=blobdiff_plain;f=fulbank%2Ffsb.py;fp=fulbank%2Ffsb.py;h=d908f790c1720be9db6c9e8790d9ca115347a64f;hp=b529d465bb107f5903f05089d35d04d5be94da32;hb=0ba154d0708ed7df541070fc58d4bcb7da37661c;hpb=8c456209c0fd2a23dd883202d64a87b2a73cf155 diff --git a/fulbank/fsb.py b/fulbank/fsb.py index b529d46..d908f79 100644 --- a/fulbank/fsb.py +++ b/fulbank/fsb.py @@ -96,6 +96,8 @@ class account(object): @property def fullnumber(self): return resolve(self.data, ("fullyFormattedNumber",)) @property + def balance(self): return currency.currency.get(resolve(self.data, ("balance", "currencyCode"))).parse(resolve(self.data, ("balance", "amount"))) + @property def name(self): return resolve(self._idata, ("name",)) def transactions(self):