This group represents accounts.
More...
Typedefs |
typedef struct AB_ACCOUNT | AB_ACCOUNT |
Enumerations |
enum | AB_ACCOUNT_TYPE {
AB_AccountType_Unknown = 0,
AB_AccountType_Bank,
AB_AccountType_CreditCard,
AB_AccountType_Checking,
AB_AccountType_Savings,
AB_AccountType_Investment,
AB_AccountType_Cash,
AB_AccountType_MoneyMarket
} |
Functions |
void | AB_Account_List2_FreeAll (AB_ACCOUNT_LIST2 *al) |
void | AB_Account_free (AB_ACCOUNT *acc) |
AB_BANKING * | AB_Account_GetBanking (const AB_ACCOUNT *acc) |
AB_ACCOUNT_TYPE | AB_Account_GetAccountType (const AB_ACCOUNT *acc) |
void | AB_Account_SetAccountType (AB_ACCOUNT *acc, AB_ACCOUNT_TYPE t) |
uint32_t | AB_Account_GetUniqueId (const AB_ACCOUNT *acc) |
void | AB_Account_SetUniqueId (AB_ACCOUNT *acc, uint32_t id) |
const char * | AB_Account_GetBackendName (const AB_ACCOUNT *acc) |
AB_PROVIDER * | AB_Account_GetProvider (const AB_ACCOUNT *acc) |
const char * | AB_Account_GetAccountNumber (const AB_ACCOUNT *acc) |
void | AB_Account_SetAccountNumber (AB_ACCOUNT *acc, const char *s) |
const char * | AB_Account_GetSubAccountId (const AB_ACCOUNT *acc) |
void | AB_Account_SetSubAccountId (AB_ACCOUNT *acc, const char *s) |
const char * | AB_Account_GetBankCode (const AB_ACCOUNT *acc) |
void | AB_Account_SetBankCode (AB_ACCOUNT *acc, const char *s) |
const char * | AB_Account_GetAccountName (const AB_ACCOUNT *acc) |
void | AB_Account_SetAccountName (AB_ACCOUNT *acc, const char *s) |
const char * | AB_Account_GetBankName (const AB_ACCOUNT *acc) |
void | AB_Account_SetBankName (AB_ACCOUNT *acc, const char *s) |
const char * | AB_Account_GetIBAN (const AB_ACCOUNT *a) |
void | AB_Account_SetIBAN (AB_ACCOUNT *a, const char *s) |
const char * | AB_Account_GetBIC (const AB_ACCOUNT *a) |
void | AB_Account_SetBIC (AB_ACCOUNT *a, const char *s) |
const char * | AB_Account_GetOwnerName (const AB_ACCOUNT *acc) |
void | AB_Account_SetOwnerName (AB_ACCOUNT *acc, const char *s) |
const char * | AB_Account_GetCurrency (const AB_ACCOUNT *acc) |
void | AB_Account_SetCurrency (AB_ACCOUNT *acc, const char *s) |
const char * | AB_Account_GetCountry (const AB_ACCOUNT *acc) |
void | AB_Account_SetCountry (AB_ACCOUNT *acc, const char *s) |
AB_USER_LIST2 * | AB_Account_GetUsers (const AB_ACCOUNT *acc) |
AB_USER * | AB_Account_GetFirstUser (const AB_ACCOUNT *acc) |
void | AB_Account_SetUsers (AB_ACCOUNT *acc, const AB_USER_LIST2 *ul) |
void | AB_Account_SetUser (AB_ACCOUNT *acc, const AB_USER *u) |
AB_USER_LIST2 * | AB_Account_GetSelectedUsers (const AB_ACCOUNT *acc) |
AB_USER * | AB_Account_GetFirstSelectedUser (const AB_ACCOUNT *acc) |
void | AB_Account_SetSelectedUsers (AB_ACCOUNT *acc, const AB_USER_LIST2 *ul) |
void | AB_Account_SetSelectedUser (AB_ACCOUNT *a, const AB_USER *u) |
Detailed Description
This group represents accounts.
Accounts are only created by AB_PROVIDERs, not by the application.
Please note: Changing any of the attributes of an account permanently requires calling AB_Banking_BeginExclUseAccount() before the modifications and AB_Banking_EndExclUseAccount() afterwards. This locking makes sure that concurrent access to the settings doesn't corrupt the configuration database.
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
AB_AccountType_Unknown |
|
AB_AccountType_Bank |
|
AB_AccountType_CreditCard |
|
AB_AccountType_Checking |
|
AB_AccountType_Savings |
|
AB_AccountType_Investment |
|
AB_AccountType_Cash |
|
AB_AccountType_MoneyMarket |
|
Definition at line 52 of file aqbanking/account.h.
Function Documentation
const char* AB_Account_GetAccountName |
( |
const AB_ACCOUNT * |
acc | ) |
|
Returns the name of the account product (really: "Kontoproduktbezeichnung" according to HBCI spec). This may or may not be useful for your application. The bank may freely choose what to say in here.
const char* AB_Account_GetAccountNumber |
( |
const AB_ACCOUNT * |
acc | ) |
|
const char* AB_Account_GetBackendName |
( |
const AB_ACCOUNT * |
acc | ) |
|
const char* AB_Account_GetBankCode |
( |
const AB_ACCOUNT * |
acc | ) |
|
const char* AB_Account_GetBankName |
( |
const AB_ACCOUNT * |
acc | ) |
|
Returns the name of the bank, or NULL if none was set.
const char* AB_Account_GetBIC |
( |
const AB_ACCOUNT * |
a | ) |
|
const char* AB_Account_GetCountry |
( |
const AB_ACCOUNT * |
acc | ) |
|
Returns the two-character ISO 3166 country code ("de" for Germany).
const char* AB_Account_GetCurrency |
( |
const AB_ACCOUNT * |
acc | ) |
|
const char* AB_Account_GetIBAN |
( |
const AB_ACCOUNT * |
a | ) |
|
const char* AB_Account_GetOwnerName |
( |
const AB_ACCOUNT * |
acc | ) |
|
const char* AB_Account_GetSubAccountId |
( |
const AB_ACCOUNT * |
acc | ) |
|
uint32_t AB_Account_GetUniqueId |
( |
const AB_ACCOUNT * |
acc | ) |
|
Returns a stringlist containing the unique ids of the users assigned to this account. The caller is responsible for freeing the list returned (if any).
void AB_Account_SetAccountName |
( |
AB_ACCOUNT * |
acc, |
|
|
const char * |
s |
|
) |
| |
void AB_Account_SetAccountNumber |
( |
AB_ACCOUNT * |
acc, |
|
|
const char * |
s |
|
) |
| |
void AB_Account_SetBankCode |
( |
AB_ACCOUNT * |
acc, |
|
|
const char * |
s |
|
) |
| |
void AB_Account_SetBankName |
( |
AB_ACCOUNT * |
acc, |
|
|
const char * |
s |
|
) |
| |
void AB_Account_SetBIC |
( |
AB_ACCOUNT * |
a, |
|
|
const char * |
s |
|
) |
| |
void AB_Account_SetCountry |
( |
AB_ACCOUNT * |
acc, |
|
|
const char * |
s |
|
) |
| |
void AB_Account_SetCurrency |
( |
AB_ACCOUNT * |
acc, |
|
|
const char * |
s |
|
) |
| |
void AB_Account_SetIBAN |
( |
AB_ACCOUNT * |
a, |
|
|
const char * |
s |
|
) |
| |
void AB_Account_SetOwnerName |
( |
AB_ACCOUNT * |
acc, |
|
|
const char * |
s |
|
) |
| |
void AB_Account_SetSubAccountId |
( |
AB_ACCOUNT * |
acc, |
|
|
const char * |
s |
|
) |
| |
void AB_Account_SetUniqueId |
( |
AB_ACCOUNT * |
acc, |
|
|
uint32_t |
id |
|
) |
| |