/usr/include/aqbanking5/aqbanking/jobeutransfer.h is in libaqbanking34-dev 5.3.5beta-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | /***************************************************************************
begin : Mon Mar 01 2004
copyright : (C) 2004-2013 by Martin Preuss
email : martin@libchipcard.de
***************************************************************************
* This file is part of the project "AqBanking". *
* Please see toplevel file COPYING of that project for license details. *
***************************************************************************/
#ifndef AQBANKING_JOBEUTRANSFER_H
#define AQBANKING_JOBEUTRANSFER_H
#include <aqbanking/job.h>
#include <aqbanking/transaction.h>
#include <aqbanking/eutransferinfo.h>
/** @addtogroup G_AB_JOBS_XFER_EU
*
*/
/*@{*/
#ifdef __cplusplus
extern "C" {
#endif
/**
* This type indicates who is to be charged for the EU transfer.
*/
typedef enum {
AB_JobEuTransfer_ChargeWhom_Unknown=0,
/** the issuer of the transfer pays for it */
AB_JobEuTransfer_ChargeWhom_Local,
/** the recipient of the transfer pays */
AB_JobEuTransfer_ChargeWhom_Remote,
/** the issuer and the recipient share in paying the fees */
AB_JobEuTransfer_ChargeWhom_Share
} AB_JOBEUTRANSFER_CHARGE_WHOM;
AQBANKING_API
AB_JOB *AB_JobEuTransfer_new(AB_ACCOUNT *a);
/** @name Arguments
*
*
*/
/*@{*/
/**
* <p>
* This function sets the transfer to be performed.
* </p>
* <p>
* 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 @ref AB_JobEuTransfer_GetTransaction.
* </p>
* The remote country code in the transaction must refer to the destination
* country (see @ref AB_Transaction_SetRemoteCountry).
* <p>
* This transaction MUST NOT contain splits.
* </p>
*/
AQBANKING_API
int AB_JobEuTransfer_SetTransaction(AB_JOB *j, const AB_TRANSACTION *t);
/**
* 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.
*/
AQBANKING_API
const AB_TRANSACTION *AB_JobEuTransfer_GetTransaction(const AB_JOB *j);
/*@}*/
/** @name Parameters
*
* The functions in this group are only available after the function
* @ref AB_Job_CheckAvailability has been called and only if that call flagged
* success (i.e. that the job is available).
*/
/*@{*/
AQBANKING_API
const AB_EUTRANSFER_INFO *AB_JobEuTransfer_FindCountryInfo(const AB_JOB *j,
const char *cnt);
AQBANKING_API
const AB_EUTRANSFER_INFO_LIST*
AB_JobEuTransfer_GetCountryInfoList(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 @ref AB_Transaction_SetRemoteBankCode).
*/
AQBANKING_API
int AB_JobEuTransfer_GetIbanAllowed(const AB_JOB *j);
AQBANKING_API
AB_JOBEUTRANSFER_CHARGE_WHOM AB_JobEuTransfer_GetChargeWhom(const AB_JOB *j);
/**
* Indicate who is to be charged for this transfer (i.e. who has to pay the
* extra fees for this transfer).
*/
AQBANKING_API
void AB_JobEuTransfer_SetChargeWhom(AB_JOB *j,
AB_JOBEUTRANSFER_CHARGE_WHOM i);
/*@}*/
#ifdef __cplusplus
}
#endif
/*@}*/ /* addtogroup */
#endif
|