#include <balance.h>
Public Methods | |
AccountBalance () | |
~AccountBalance () | |
void | dump () |
Dumps the data of this object to stderr. | |
Balance | |
void | setBookedBalance (const Balance &b) |
const Balance & | bookedBalance () const |
Returns the booked Balance. | |
void | setNotedBalance (const Balance &b) |
const Balance & | notedBalance () const |
Returns the noted Balance (which is probably more up-to-date than the booked balance). | |
void | setCurrency (const string &s) |
const string & | currency () const |
Returns the ISO-4217 currency string of this account balance. | |
Overdraft | |
void | setBankLine (const Value &v) |
const Value & | bankLine () const |
Returns the bank line (limit value) for this account. | |
void | setDisposable (const Value &v) |
const Value & | disposable () const |
Returns the amount that is still at your disposal in this account. | |
void | setDisposed (const Value &v) |
const Value & | disposed () const |
Returns the amount that is already disposed. | |
Date and Time | |
const Date & | date () const |
void | setDate (const Date &d) |
const Time & | time () const |
void | setTime (const Time &t) |
Friends | |
class | SEGBalance |
This class stores the balances of your account. An Account usually has several different balances at the same time (e.g. booked/noted balance). You can query it from the institute by sending the OutboxJobGetBalance (using the lowlevel job JOBGetBalance).
|
Empty Constructor. |
|
Default Destructor. |
|
Returns the bank line (limit value) for this account. I.e. the money your balance is allowed to go negative. |
|
Returns the booked Balance. The booked balance is the balance including all transactions that are booked, i.e. that are "really" executed. |
|
Returns the ISO-4217 currency string of this account balance.
|
|
Returns the Date when this balance was created. |
|
Returns the amount that is still at your disposal in this account. If the difference between your current balance (whether noted or booked depends on the conditions of your bank) and the bank line value results in a positive amount, then you have money left at your disposal. (Which is [hopefully] the usual case.) |
|
Returns the amount that is already disposed. FIXME: exakt meaning still unknown. hmm, we will se when first data arrive, i don't know yet |
|
Dumps the data of this object to stderr. Useful for debuggin purposes. |
|
Returns the noted Balance (which is probably more up-to-date than the booked balance). The noted balance includes all transactions from the booked, plus those transactions which the bank has noted for execution but are not yet "really" executed. |
|
Set the limit value you have on this account. |
|
Set the booked balance.
|
|
Sets the ISO-4217 currency string of this account balance.
|
|
Set the Date when this balance was created.
|
|
Set the amount that is still at your disposal in this account.
|
|
Set the amount that is already disposed.
|
|
Set the noted balance.
|
|
Set the Time when this balance was created.
|
|
Returns the Time when this balance was created. |
|
|