Functions

transactionfns.h File Reference

#include <aqbanking/transaction.h>
#include <aqbanking/account.h>

Go to the source code of this file.

Functions

int AB_Transaction_Compare (const AB_TRANSACTION *t1, const AB_TRANSACTION *t0)
void AB_Transaction_FillLocalFromAccount (AB_TRANSACTION *t, const AB_ACCOUNT *a)

Function Documentation

int AB_Transaction_Compare ( const AB_TRANSACTION t1,
const AB_TRANSACTION t0 
)
Returns:
0 if both transactions are equal, 1 otherwise (and -1 on error)
void AB_Transaction_FillLocalFromAccount ( AB_TRANSACTION t,
const AB_ACCOUNT a 
)

Fills "local account" parts of the given transaction with the data from the given account. In particular, the following fields are set through this function: SetLocalCountry, SetRemoteCountry, SetLocalBankCode, SetLocalAccountNumber, and SetLocalName.