EU Transfer
[Transfer Jobs]


Arguments

int AB_JobEuTransfer_SetTransaction (AB_JOB *j, const AB_TRANSACTION *t)
const AB_TRANSACTIONAB_JobEuTransfer_GetTransaction (const AB_JOB *j)

Parameters

The functions in this group are only available after the function AB_Job_CheckAvailability has been called and only if that call flagged success (i.e. that the job is available).

const AB_EUTRANSFER_INFOAB_JobEuTransfer_FindCountryInfo (const AB_JOB *j, const char *cnt)
const AB_EUTRANSFER_INFO_LISTAB_JobEuTransfer_GetCountryInfoList (const AB_JOB *j)
int AB_JobEuTransfer_GetIbanAllowed (const AB_JOB *j)
AB_JOBEUTRANSFER_CHARGE_WHOM AB_JobEuTransfer_GetChargeWhom (const AB_JOB *j)
void AB_JobEuTransfer_SetChargeWhom (AB_JOB *j, AB_JOBEUTRANSFER_CHARGE_WHOM i)

Backend Functions

Functions in this group are only to be called by banking backends.

void AB_JobEuTransfer_SetCountryInfoList (AB_JOB *j, AB_EUTRANSFER_INFO_LIST *l)
void AB_JobEuTransfer_SetIbanAllowed (AB_JOB *j, int b)

Enumerations

enum  AB_JOBEUTRANSFER_CHARGE_WHOM { AB_JobEuTransfer_ChargeWhom_Unknown = 0, AB_JobEuTransfer_ChargeWhom_Local, AB_JobEuTransfer_ChargeWhom_Remote, AB_JobEuTransfer_ChargeWhom_Share }

Functions

AB_JOBAB_JobEuTransfer_new (AB_ACCOUNT *a)


Enumeration Type Documentation

enum AB_JOBEUTRANSFER_CHARGE_WHOM
 

This type indicates who is to be charged for the EU transfer.

Enumerator:
AB_JobEuTransfer_ChargeWhom_Unknown 
AB_JobEuTransfer_ChargeWhom_Local  the issuer of the transfer pays for it
AB_JobEuTransfer_ChargeWhom_Remote  the recipient of the transfer pays
AB_JobEuTransfer_ChargeWhom_Share  the issuer and the recipient share in paying the fees

Definition at line 36 of file jobeutransfer.h.


Function Documentation

const AB_EUTRANSFER_INFO* AB_JobEuTransfer_FindCountryInfo const AB_JOB j,
const char *  cnt
 

AB_JOBEUTRANSFER_CHARGE_WHOM AB_JobEuTransfer_GetChargeWhom const AB_JOB j  ) 
 

const AB_EUTRANSFER_INFO_LIST* AB_JobEuTransfer_GetCountryInfoList const AB_JOB j  ) 
 

int AB_JobEuTransfer_GetIbanAllowed const AB_JOB j  ) 
 

Returns !=0 if the IBAN field of a transaction can be used to specify the destination account. If 0 then the remote account info must set the traditional way (see AB_Transaction_SetRemoteBankCode).

const AB_TRANSACTION* AB_JobEuTransfer_GetTransaction const AB_JOB j  ) 
 

Returns the currently stored transaction for this job. After the job has been executed by the backend the transaction returned will very likely be a pointer to the validated replacement for the initially given transaction.

AB_JOB* AB_JobEuTransfer_new AB_ACCOUNT a  ) 
 

void AB_JobEuTransfer_SetChargeWhom AB_JOB j,
AB_JOBEUTRANSFER_CHARGE_WHOM  i
 

Indicate who is to be charged for this transfer (i.e. who has to pay the extra fees for this transfer).

void AB_JobEuTransfer_SetCountryInfoList AB_JOB j,
AB_EUTRANSFER_INFO_LIST l
 

Set the country info list (containing information about valid destination countries and transfer limits per country). This function takes over the given list and all its members.

void AB_JobEuTransfer_SetIbanAllowed AB_JOB j,
int  b
 

Tell AqBanking whether it is allowed to specify the IBAN for the destination account.

int AB_JobEuTransfer_SetTransaction AB_JOB j,
const AB_TRANSACTION t
 

This function sets the transfer to be performed.

Please note that the backend might later replace the transaction given here with a validated version (upon execution of the job). So if you want to be sure that you have the recent version of the transaction you should call AB_JobEuTransfer_GetTransaction. The remote country code in the transaction must refer to the destination country (see AB_Transaction_SetRemoteCountry).

This transaction MUST NOT contain splits.


Generated on Wed Jun 28 15:17:45 2006 for aqbanking by  doxygen 1.4.6