aqbanking  5.7.8
Typedefs | Enumerations | Functions

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,
  AB_AccountType_Credit, AB_AccountType_Last
}
 

Functions

void AB_Account_List2_FreeAll (AB_ACCOUNT_LIST2 *al)
 
AB_ACCOUNTAB_Account_List2_GetAccountByUniqueId (const AB_ACCOUNT_LIST2 *al, uint32_t aid)
 
void AB_Account_free (AB_ACCOUNT *acc)
 
AB_BANKINGAB_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_PROVIDERAB_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_LIST2AB_Account_GetUsers (const AB_ACCOUNT *acc)
 
AB_USERAB_Account_GetFirstUser (const AB_ACCOUNT *acc)
 
int AB_Account_HasUser (const AB_ACCOUNT *a, uint32_t uid)
 
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_LIST2AB_Account_GetSelectedUsers (const AB_ACCOUNT *acc)
 
AB_USERAB_Account_GetFirstSelectedUser (const AB_ACCOUNT *acc)
 
int AB_Account_HasSelectedUser (const AB_ACCOUNT *a, uint32_t uid)
 
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

◆ AB_ACCOUNT

typedef struct AB_ACCOUNT AB_ACCOUNT

Definition at line 44 of file aqbanking/account.h.

Enumeration Type Documentation

◆ AB_ACCOUNT_TYPE

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 
AB_AccountType_Credit 
AB_AccountType_Last 

Definition at line 58 of file aqbanking/account.h.

Function Documentation

◆ AB_Account_free()

void AB_Account_free ( AB_ACCOUNT acc)

◆ AB_Account_GetAccountName()

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.

◆ AB_Account_GetAccountNumber()

const char* AB_Account_GetAccountNumber ( const AB_ACCOUNT acc)

◆ AB_Account_GetAccountType()

AB_ACCOUNT_TYPE AB_Account_GetAccountType ( const AB_ACCOUNT acc)

◆ AB_Account_GetBackendName()

const char* AB_Account_GetBackendName ( const AB_ACCOUNT acc)

◆ AB_Account_GetBankCode()

const char* AB_Account_GetBankCode ( const AB_ACCOUNT acc)

◆ AB_Account_GetBanking()

AB_BANKING* AB_Account_GetBanking ( const AB_ACCOUNT acc)

◆ AB_Account_GetBankName()

const char* AB_Account_GetBankName ( const AB_ACCOUNT acc)

Returns the name of the bank, or NULL if none was set.

◆ AB_Account_GetBIC()

const char* AB_Account_GetBIC ( const AB_ACCOUNT a)

◆ AB_Account_GetCountry()

const char* AB_Account_GetCountry ( const AB_ACCOUNT acc)

Returns the two-character ISO 3166 country code ("de" for Germany).

◆ AB_Account_GetCurrency()

const char* AB_Account_GetCurrency ( const AB_ACCOUNT acc)

◆ AB_Account_GetFirstSelectedUser()

AB_USER* AB_Account_GetFirstSelectedUser ( const AB_ACCOUNT acc)

◆ AB_Account_GetFirstUser()

AB_USER* AB_Account_GetFirstUser ( const AB_ACCOUNT acc)

◆ AB_Account_GetIBAN()

const char* AB_Account_GetIBAN ( const AB_ACCOUNT a)

◆ AB_Account_GetOwnerName()

const char* AB_Account_GetOwnerName ( const AB_ACCOUNT acc)

◆ AB_Account_GetProvider()

AB_PROVIDER* AB_Account_GetProvider ( const AB_ACCOUNT acc)

◆ AB_Account_GetSelectedUsers()

AB_USER_LIST2* AB_Account_GetSelectedUsers ( const AB_ACCOUNT acc)

◆ AB_Account_GetSubAccountId()

const char* AB_Account_GetSubAccountId ( const AB_ACCOUNT acc)

◆ AB_Account_GetUniqueId()

uint32_t AB_Account_GetUniqueId ( const AB_ACCOUNT acc)

◆ AB_Account_GetUsers()

AB_USER_LIST2* AB_Account_GetUsers ( 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).

◆ AB_Account_HasSelectedUser()

int AB_Account_HasSelectedUser ( const AB_ACCOUNT a,
uint32_t  uid 
)

◆ AB_Account_HasUser()

int AB_Account_HasUser ( const AB_ACCOUNT a,
uint32_t  uid 
)

◆ AB_Account_List2_FreeAll()

void AB_Account_List2_FreeAll ( AB_ACCOUNT_LIST2 al)

◆ AB_Account_List2_GetAccountByUniqueId()

AB_ACCOUNT* AB_Account_List2_GetAccountByUniqueId ( const AB_ACCOUNT_LIST2 al,
uint32_t  aid 
)

◆ AB_Account_SetAccountName()

void AB_Account_SetAccountName ( AB_ACCOUNT acc,
const char *  s 
)

◆ AB_Account_SetAccountNumber()

void AB_Account_SetAccountNumber ( AB_ACCOUNT acc,
const char *  s 
)

◆ AB_Account_SetAccountType()

void AB_Account_SetAccountType ( AB_ACCOUNT acc,
AB_ACCOUNT_TYPE  t 
)

◆ AB_Account_SetBankCode()

void AB_Account_SetBankCode ( AB_ACCOUNT acc,
const char *  s 
)

◆ AB_Account_SetBankName()

void AB_Account_SetBankName ( AB_ACCOUNT acc,
const char *  s 
)

◆ AB_Account_SetBIC()

void AB_Account_SetBIC ( AB_ACCOUNT a,
const char *  s 
)

◆ AB_Account_SetCountry()

void AB_Account_SetCountry ( AB_ACCOUNT acc,
const char *  s 
)

◆ AB_Account_SetCurrency()

void AB_Account_SetCurrency ( AB_ACCOUNT acc,
const char *  s 
)

◆ AB_Account_SetIBAN()

void AB_Account_SetIBAN ( AB_ACCOUNT a,
const char *  s 
)

◆ AB_Account_SetOwnerName()

void AB_Account_SetOwnerName ( AB_ACCOUNT acc,
const char *  s 
)

◆ AB_Account_SetSelectedUser()

void AB_Account_SetSelectedUser ( AB_ACCOUNT a,
const AB_USER u 
)

◆ AB_Account_SetSelectedUsers()

void AB_Account_SetSelectedUsers ( AB_ACCOUNT acc,
const AB_USER_LIST2 ul 
)

◆ AB_Account_SetSubAccountId()

void AB_Account_SetSubAccountId ( AB_ACCOUNT acc,
const char *  s 
)

◆ AB_Account_SetUniqueId()

void AB_Account_SetUniqueId ( AB_ACCOUNT acc,
uint32_t  id 
)

◆ AB_Account_SetUser()

void AB_Account_SetUser ( AB_ACCOUNT acc,
const AB_USER u 
)

◆ AB_Account_SetUsers()

void AB_Account_SetUsers ( AB_ACCOUNT acc,
const AB_USER_LIST2 ul 
)