aqbanking  5.7.8
transaction.h
Go to the documentation of this file.
1 /* This file is auto-generated from "transaction.xml" by the typemaker
2  tool of Gwenhywfar.
3  Do not edit this file -- all changes will be lost! */
4 #ifndef TRANSACTION_H
5 #define TRANSACTION_H
6 
651 #ifdef __cplusplus
652 extern "C" {
653 #endif
654 
656 
657 #ifdef __cplusplus
658 } /* __cplusplus */
659 #endif
660 
661 #include <gwenhywfar/db.h>
662 #include <gwenhywfar/inherit.h>
663 #include <gwenhywfar/misc.h>
664 #include <gwenhywfar/list2.h>
665 /* headers */
666 #include <gwenhywfar/types.h>
667 #include <gwenhywfar/gwentime.h>
668 #include <gwenhywfar/gwendate.h>
669 #include <gwenhywfar/stringlist.h>
670 #include <aqbanking/value.h>
673 
674 #ifdef __cplusplus
675 extern "C" {
676 #endif
677 
678 typedef enum {
687 
688 AQBANKING_API AB_TRANSACTION_PERIOD AB_Transaction_Period_fromString(const char *s);
689 AQBANKING_API const char *AB_Transaction_Period_toString(AB_TRANSACTION_PERIOD v);
690 
691 typedef enum {
708 
709 AQBANKING_API AB_TRANSACTION_TYPE AB_Transaction_Type_fromString(const char *s);
710 AQBANKING_API const char *AB_Transaction_Type_toString(AB_TRANSACTION_TYPE v);
711 
712 typedef enum {
741 
742 AQBANKING_API AB_TRANSACTION_SUBTYPE AB_Transaction_SubType_fromString(const char *s);
743 AQBANKING_API const char *AB_Transaction_SubType_toString(AB_TRANSACTION_SUBTYPE v);
744 
745 typedef enum {
766 
767 AQBANKING_API AB_TRANSACTION_STATUS AB_Transaction_Status_fromString(const char *s);
768 AQBANKING_API const char *AB_Transaction_Status_toString(AB_TRANSACTION_STATUS v);
769 
770 typedef enum {
781 
782 AQBANKING_API AB_TRANSACTION_CHARGE AB_Transaction_Charge_fromString(const char *s);
783 AQBANKING_API const char *AB_Transaction_Charge_toString(AB_TRANSACTION_CHARGE v);
784 
785 typedef enum {
796 
797 AQBANKING_API AB_TRANSACTION_SEQUENCETYPE AB_Transaction_SequenceType_fromString(const char *s);
798 AQBANKING_API const char *AB_Transaction_SequenceType_toString(AB_TRANSACTION_SEQUENCETYPE v);
799 
800 
804 
806 
807 
810 
828 AQBANKING_API int AB_Transaction_ReadDb(AB_TRANSACTION *st, GWEN_DB_NODE *db);
831 AQBANKING_API int AB_Transaction_toDb(const AB_TRANSACTION*st, GWEN_DB_NODE *db);
838 
839 
840 
845 
854 
863 
872 
881 
890 
899 
908 
917 
924 
933 
942 
951 
960 
969 
978 
987 
996 
1000 AQBANKING_API const GWEN_STRINGLIST *AB_Transaction_GetRemoteName(const AB_TRANSACTION *el);
1004 AQBANKING_API void AB_Transaction_SetRemoteName(AB_TRANSACTION *el, const GWEN_STRINGLIST *d);
1005 AQBANKING_API void AB_Transaction_AddRemoteName(AB_TRANSACTION *st, const char *d, int chk);
1008 AQBANKING_API int AB_Transaction_HasRemoteName(const AB_TRANSACTION *st, const char *d);
1009 
1018 
1029 
1038 
1047 
1054 AQBANKING_API const GWEN_TIME *AB_Transaction_GetValutaDate(const AB_TRANSACTION *el);
1058 AQBANKING_API void AB_Transaction_SetValutaDate(AB_TRANSACTION *el, const GWEN_TIME *d);
1059 
1063 AQBANKING_API const GWEN_TIME *AB_Transaction_GetDate(const AB_TRANSACTION *el);
1067 AQBANKING_API void AB_Transaction_SetDate(AB_TRANSACTION *el, const GWEN_TIME *d);
1068 
1075 
1084 
1095 
1101 
1110 
1119 
1128 
1137 
1146 
1155 
1164 
1173 
1182 
1191 
1195 AQBANKING_API const char *AB_Transaction_GetFiId(const AB_TRANSACTION *el);
1199 AQBANKING_API void AB_Transaction_SetFiId(AB_TRANSACTION *el, const char *d);
1200 
1204 AQBANKING_API const GWEN_STRINGLIST *AB_Transaction_GetPurpose(const AB_TRANSACTION *el);
1208 AQBANKING_API void AB_Transaction_SetPurpose(AB_TRANSACTION *el, const GWEN_STRINGLIST *d);
1209 AQBANKING_API void AB_Transaction_AddPurpose(AB_TRANSACTION *st, const char *d, int chk);
1212 AQBANKING_API int AB_Transaction_HasPurpose(const AB_TRANSACTION *st, const char *d);
1213 
1217 AQBANKING_API const GWEN_STRINGLIST *AB_Transaction_GetCategory(const AB_TRANSACTION *el);
1221 AQBANKING_API void AB_Transaction_SetCategory(AB_TRANSACTION *el, const GWEN_STRINGLIST *d);
1222 AQBANKING_API void AB_Transaction_AddCategory(AB_TRANSACTION *st, const char *d, int chk);
1225 AQBANKING_API int AB_Transaction_HasCategory(const AB_TRANSACTION *st, const char *d);
1226 
1233 
1237 AQBANKING_API AB_TRANSACTION_PERIOD AB_Transaction_GetPeriod(const AB_TRANSACTION *el);
1241 AQBANKING_API void AB_Transaction_SetPeriod(AB_TRANSACTION *el, AB_TRANSACTION_PERIOD d);
1242 
1251 
1260 
1269 
1278 
1287 
1294 
1298 AQBANKING_API AB_TRANSACTION_TYPE AB_Transaction_GetType(const AB_TRANSACTION *el);
1302 AQBANKING_API void AB_Transaction_SetType(AB_TRANSACTION *el, AB_TRANSACTION_TYPE d);
1303 
1307 AQBANKING_API AB_TRANSACTION_SUBTYPE AB_Transaction_GetSubType(const AB_TRANSACTION *el);
1311 AQBANKING_API void AB_Transaction_SetSubType(AB_TRANSACTION *el, AB_TRANSACTION_SUBTYPE d);
1312 
1316 AQBANKING_API AB_TRANSACTION_STATUS AB_Transaction_GetStatus(const AB_TRANSACTION *el);
1320 AQBANKING_API void AB_Transaction_SetStatus(AB_TRANSACTION *el, AB_TRANSACTION_STATUS d);
1321 
1325 AQBANKING_API AB_TRANSACTION_CHARGE AB_Transaction_GetCharge(const AB_TRANSACTION *el);
1329 AQBANKING_API void AB_Transaction_SetCharge(AB_TRANSACTION *el, AB_TRANSACTION_CHARGE d);
1330 
1337 
1346 
1355 
1364 
1373 
1380 
1388 AQBANKING_API void AB_Transaction_SetUnitId(AB_TRANSACTION *el, const char *d);
1389 
1398 
1407 
1416 
1425 
1432 
1441 
1450 
1454 AQBANKING_API const GWEN_DATE *AB_Transaction_GetMandateDate(const AB_TRANSACTION *el);
1458 AQBANKING_API void AB_Transaction_SetMandateDate(AB_TRANSACTION *el, const GWEN_DATE *d);
1459 
1468 
1477 
1486 
1495 
1499 AQBANKING_API AB_TRANSACTION_SEQUENCETYPE AB_Transaction_GetSequenceType(const AB_TRANSACTION *el);
1503 AQBANKING_API void AB_Transaction_SetSequenceType(AB_TRANSACTION *el, AB_TRANSACTION_SEQUENCETYPE d);
1504 
1508 #ifdef __cplusplus
1509 } /* __cplusplus */
1510 #endif
1511 
1512 
1513 #endif /* TRANSACTION_H */
void AB_Transaction_SetRemotePhone(AB_TRANSACTION *el, const char *d)
int AB_Transaction_IsModified(const AB_TRANSACTION *st)
const char * AB_Transaction_SubType_toString(AB_TRANSACTION_SUBTYPE v)
int AB_Transaction_GetTransactionCode(const AB_TRANSACTION *el)
void AB_Transaction_SetType(AB_TRANSACTION *el, AB_TRANSACTION_TYPE d)
void AB_Transaction_SetRemoteIban(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetRemoteSuffix(AB_TRANSACTION *el, const char *d)
AB_TRANSACTION * AB_Transaction_new(void)
void AB_Transaction_Attach(AB_TRANSACTION *st)
AB_TRANSACTION * AB_Transaction_dup(const AB_TRANSACTION *st)
void AB_Transaction_SetCreditorSchemeId(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetPrimanota(AB_TRANSACTION *el, const char *d)
const char * AB_Transaction_Period_toString(AB_TRANSACTION_PERIOD v)
int AB_Transaction_GetTextKey(const AB_TRANSACTION *el)
void AB_Transaction_SetTransactionText(AB_TRANSACTION *el, const char *d)
int AB_Transaction_GetCycle(const AB_TRANSACTION *el)
AB_TRANSACTION_SEQUENCETYPE AB_Transaction_SequenceType_fromString(const char *s)
const char * AB_Transaction_GetTransactionText(const AB_TRANSACTION *el)
const char * AB_Transaction_Type_toString(AB_TRANSACTION_TYPE v)
void AB_Transaction_SetExecutionDay(AB_TRANSACTION *el, int d)
AB_TRANSACTION_TYPE
Definition: transaction.h:691
int AB_Transaction_HasCategory(const AB_TRANSACTION *st, const char *d)
const GWEN_DATE * AB_Transaction_GetMandateDate(const AB_TRANSACTION *el)
void AB_Transaction_SetCharge(AB_TRANSACTION *el, AB_TRANSACTION_CHARGE d)
void AB_Transaction_SetCommission(AB_TRANSACTION *el, const AB_VALUE *d)
const char * AB_Transaction_GetRemoteCountry(const AB_TRANSACTION *el)
const GWEN_TIME * AB_Transaction_GetFirstExecutionDate(const AB_TRANSACTION *el)
const char * AB_Transaction_GetOriginalCreditorSchemeId(const AB_TRANSACTION *el)
AB_TRANSACTION_PERIOD
Definition: transaction.h:678
AB_TRANSACTION_STATUS AB_Transaction_GetStatus(const AB_TRANSACTION *el)
const GWEN_STRINGLIST * AB_Transaction_GetCategory(const AB_TRANSACTION *el)
void AB_Transaction_SetMandateDebitorName(AB_TRANSACTION *el, const char *d)
const char * AB_Transaction_GetRemoteBankCode(const AB_TRANSACTION *el)
uint32_t AB_Transaction_GetIdForApplication(const AB_TRANSACTION *el)
AB_TRANSACTION_STATUS AB_Transaction_Status_fromString(const char *s)
void AB_Transaction_SetLocalBic(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetLocalCountry(AB_TRANSACTION *el, const char *d)
const char * AB_Transaction_GetRemoteAddrCity(const AB_TRANSACTION *el)
void AB_Transaction_SetMandateDate(AB_TRANSACTION *el, const GWEN_DATE *d)
void AB_Transaction_SetRemoteBranchId(AB_TRANSACTION *el, const char *d)
#define AQBANKING_API
Definition: error.h:55
const char * AB_Transaction_GetOriginatorIdentifier(const AB_TRANSACTION *el)
struct AB_VALUE AB_VALUE
Definition: value.h:32
void AB_Transaction_SetNextExecutionDate(AB_TRANSACTION *el, const GWEN_TIME *d)
void AB_Transaction_SetTextKey(AB_TRANSACTION *el, int d)
void AB_Transaction_SetRemoteBankLocation(AB_TRANSACTION *el, const char *d)
AB_TRANSACTION_PERIOD AB_Transaction_Period_fromString(const char *s)
void AB_Transaction_RemoveCategory(AB_TRANSACTION *st, const char *d)
const AB_VALUE * AB_Transaction_GetFees(const AB_TRANSACTION *el)
const GWEN_STRINGLIST * AB_Transaction_GetPurpose(const AB_TRANSACTION *el)
void AB_Transaction_SetSequenceType(AB_TRANSACTION *el, AB_TRANSACTION_SEQUENCETYPE d)
void AB_Transaction_SetValutaDate(AB_TRANSACTION *el, const GWEN_TIME *d)
const char * AB_Transaction_GetLocalBankCode(const AB_TRANSACTION *el)
void AB_Transaction_SetOriginalMandateId(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetUnits(AB_TRANSACTION *el, const AB_VALUE *d)
AB_TRANSACTION_SEQUENCETYPE AB_Transaction_GetSequenceType(const AB_TRANSACTION *el)
const char * AB_Transaction_GetUnitIdNameSpace(const AB_TRANSACTION *el)
const char * AB_Transaction_GetOriginalMandateId(const AB_TRANSACTION *el)
uint32_t AB_Transaction_GetUniqueId(const AB_TRANSACTION *el)
const char * AB_Transaction_GetLocalBranchId(const AB_TRANSACTION *el)
void AB_Transaction_SetTextKeyExt(AB_TRANSACTION *el, int d)
void AB_Transaction_List2_freeAll(AB_TRANSACTION_LIST2 *stl)
void AB_Transaction_AddPurpose(AB_TRANSACTION *st, const char *d, int chk)
const char * AB_Transaction_GetRemoteBic(const AB_TRANSACTION *el)
const char * AB_Transaction_GetCustomerReference(const AB_TRANSACTION *el)
void AB_Transaction_SetLocalSuffix(AB_TRANSACTION *el, const char *d)
AB_TRANSACTION_PERIOD AB_Transaction_GetPeriod(const AB_TRANSACTION *el)
AB_TRANSACTION_CHARGE AB_Transaction_GetCharge(const AB_TRANSACTION *el)
const char * AB_Transaction_GetLocalIban(const AB_TRANSACTION *el)
void AB_Transaction_SetRemoteAccountNumber(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetUnitIdNameSpace(AB_TRANSACTION *el, const char *d)
const char * AB_Transaction_SequenceType_toString(AB_TRANSACTION_SEQUENCETYPE v)
const char * AB_Transaction_GetLocalName(const AB_TRANSACTION *el)
void AB_Transaction_SetRemoteCountry(AB_TRANSACTION *el, const char *d)
GWEN_INHERIT_FUNCTION_LIB_DEFS(AB_BANKINFO_PLUGIN,) GWEN_LIST2_FUNCTION_LIB_DEFS(AB_BANKINFO_PLUGIN
void AB_Transaction_SetUnitId(AB_TRANSACTION *el, const char *d)
const char * AB_Transaction_GetMandateId(const AB_TRANSACTION *el)
void AB_Transaction_SetOriginalCreditorName(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetLocalAccountNumber(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetLocalIban(AB_TRANSACTION *el, const char *d)
const GWEN_TIME * AB_Transaction_GetNextExecutionDate(const AB_TRANSACTION *el)
struct AB_TRANSACTION AB_TRANSACTION
Definition: transaction.h:655
AB_TRANSACTION_SUBTYPE AB_Transaction_GetSubType(const AB_TRANSACTION *el)
const char * AB_Transaction_GetBankReference(const AB_TRANSACTION *el)
void AB_Transaction_SetPurpose(AB_TRANSACTION *el, const GWEN_STRINGLIST *d)
void AB_Transaction_SetUnitPrice(AB_TRANSACTION *el, const AB_VALUE *d)
void AB_Transaction_SetCycle(AB_TRANSACTION *el, int d)
GWEN_LIST2_FUNCTION_LIB_DEFS(AB_ACCOUNT_STATUS, AB_AccountStatus,) AB_ACCOUNT_STATUS *AB_AccountStatus_new()
void AB_Transaction_SetFirstExecutionDate(AB_TRANSACTION *el, const GWEN_TIME *d)
const char * AB_Transaction_Charge_toString(AB_TRANSACTION_CHARGE v)
void AB_Transaction_SetCustomerReference(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetLastExecutionDate(AB_TRANSACTION *el, const GWEN_TIME *d)
const char * AB_Transaction_Status_toString(AB_TRANSACTION_STATUS v)
struct AB_TRANSACTION_LIST2 AB_TRANSACTION_LIST2
Definition: listdoc.h:5002
void AB_Transaction_SetCategory(AB_TRANSACTION *el, const GWEN_STRINGLIST *d)
void AB_Transaction_AddCategory(AB_TRANSACTION *st, const char *d, int chk)
void AB_Transaction_ClearPurpose(AB_TRANSACTION *st)
const char * AB_Transaction_GetLocalSuffix(const AB_TRANSACTION *el)
void AB_Transaction_free(AB_TRANSACTION *st)
int AB_Transaction_HasPurpose(const AB_TRANSACTION *st, const char *d)
int AB_Transaction_toDb(const AB_TRANSACTION *st, GWEN_DB_NODE *db)
void AB_Transaction_SetValue(AB_TRANSACTION *el, const AB_VALUE *d)
void AB_Transaction_SetTransactionCode(AB_TRANSACTION *el, int d)
AB_TRANSACTION_SUBTYPE
Definition: transaction.h:712
void AB_Transaction_SetGroupId(AB_TRANSACTION *el, uint32_t d)
AB_TRANSACTION_SUBTYPE AB_Transaction_SubType_fromString(const char *s)
void AB_Transaction_SetRemoteAddrZipcode(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetMandateId(AB_TRANSACTION *el, const char *d)
const char * AB_Transaction_GetLocalBic(const AB_TRANSACTION *el)
void AB_Transaction_SetLocalName(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetOriginatorIdentifier(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetLocalBranchId(AB_TRANSACTION *el, const char *d)
void AB_Transaction_ClearCategory(AB_TRANSACTION *st)
int AB_Transaction_HasRemoteName(const AB_TRANSACTION *st, const char *d)
void AB_Transaction_SetIdForApplication(AB_TRANSACTION *el, uint32_t d)
const GWEN_TIME * AB_Transaction_GetDate(const AB_TRANSACTION *el)
const char * AB_Transaction_GetLocalCountry(const AB_TRANSACTION *el)
void AB_Transaction_SetRemoteAddrStreet(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetDate(AB_TRANSACTION *el, const GWEN_TIME *d)
AB_TRANSACTION_TYPE AB_Transaction_Type_fromString(const char *s)
AB_TRANSACTION_TYPE AB_Transaction_GetType(const AB_TRANSACTION *el)
void AB_Transaction_ClearRemoteName(AB_TRANSACTION *st)
const char * AB_Transaction_GetLocalAccountNumber(const AB_TRANSACTION *el)
int AB_Transaction_GetTextKeyExt(const AB_TRANSACTION *el)
void AB_Transaction_SetTransactionKey(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetSubType(AB_TRANSACTION *el, AB_TRANSACTION_SUBTYPE d)
const AB_VALUE * AB_Transaction_GetUnits(const AB_TRANSACTION *el)
AB_TRANSACTION_STATUS
Definition: transaction.h:745
const char * AB_Transaction_GetCreditorSchemeId(const AB_TRANSACTION *el)
AB_TRANSACTION_CHARGE AB_Transaction_Charge_fromString(const char *s)
const char * AB_Transaction_GetRemoteBankLocation(const AB_TRANSACTION *el)
void AB_Transaction_SetUniqueId(AB_TRANSACTION *el, uint32_t d)
AB_TRANSACTION * AB_Transaction_fromDb(GWEN_DB_NODE *db)
const char * AB_Transaction_GetMandateDebitorName(const AB_TRANSACTION *el)
const char * AB_Transaction_GetRemoteBankName(const AB_TRANSACTION *el)
void AB_Transaction_SetRemoteBic(AB_TRANSACTION *el, const char *d)
const char * AB_Transaction_GetRemoteBranchId(const AB_TRANSACTION *el)
void AB_Transaction_SetRemoteAddrCity(AB_TRANSACTION *el, const char *d)
const char * AB_Transaction_GetRemotePhone(const AB_TRANSACTION *el)
void AB_Transaction_SetModified(AB_TRANSACTION *st, int i)
AB_TRANSACTION_CHARGE
Definition: transaction.h:770
const char * AB_Transaction_GetFiId(const AB_TRANSACTION *el)
const char * AB_Transaction_GetUnitId(const AB_TRANSACTION *el)
void AB_Transaction_SetFees(AB_TRANSACTION *el, const AB_VALUE *d)
const char * AB_Transaction_GetRemoteAccountNumber(const AB_TRANSACTION *el)
void AB_Transaction_SetLocalBankCode(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetOriginalCreditorSchemeId(AB_TRANSACTION *el, const char *d)
const GWEN_STRINGLIST * AB_Transaction_GetRemoteName(const AB_TRANSACTION *el)
int AB_Transaction_GetExecutionDay(const AB_TRANSACTION *el)
const char * AB_Transaction_GetEndToEndReference(const AB_TRANSACTION *el)
const GWEN_TIME * AB_Transaction_GetLastExecutionDate(const AB_TRANSACTION *el)
const AB_VALUE * AB_Transaction_GetUnitPrice(const AB_TRANSACTION *el)
const char * AB_Transaction_GetRemoteAddrStreet(const AB_TRANSACTION *el)
const AB_VALUE * AB_Transaction_GetCommission(const AB_TRANSACTION *el)
void AB_Transaction_SetEndToEndReference(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetRemoteBankCode(AB_TRANSACTION *el, const char *d)
const char * AB_Transaction_GetTransactionKey(const AB_TRANSACTION *el)
const AB_VALUE * AB_Transaction_GetValue(const AB_TRANSACTION *el)
const char * AB_Transaction_GetRemoteIban(const AB_TRANSACTION *el)
void AB_Transaction_SetRemoteName(AB_TRANSACTION *el, const GWEN_STRINGLIST *d)
const char * AB_Transaction_GetRemoteAddrZipcode(const AB_TRANSACTION *el)
void AB_Transaction_SetFiId(AB_TRANSACTION *el, const char *d)
void AB_Transaction_RemoveRemoteName(AB_TRANSACTION *st, const char *d)
GWEN_LIST_FUNCTION_LIB_DEFS(AB_PROVIDER_DESCRIPTION, AB_ProviderDescription,) GWEN_LIST2_FUNCTION_LIB_DEFS(AB_PROVIDER_DESCRIPTION
AB_TRANSACTION_LIST * AB_Transaction_List_dup(const AB_TRANSACTION_LIST *stl)
void AB_Transaction_RemovePurpose(AB_TRANSACTION *st, const char *d)
int AB_Transaction_ReadDb(AB_TRANSACTION *st, GWEN_DB_NODE *db)
const char * AB_Transaction_GetOriginalCreditorName(const AB_TRANSACTION *el)
void AB_Transaction_SetBankReference(AB_TRANSACTION *el, const char *d)
void AB_Transaction_SetStatus(AB_TRANSACTION *el, AB_TRANSACTION_STATUS d)
uint32_t AB_Transaction_GetGroupId(const AB_TRANSACTION *el)
AB_TRANSACTION_SEQUENCETYPE
Definition: transaction.h:785
const char * AB_Transaction_GetPrimanota(const AB_TRANSACTION *el)
void AB_Transaction_AddRemoteName(AB_TRANSACTION *st, const char *d, int chk)
void AB_Transaction_SetRemoteBankName(AB_TRANSACTION *el, const char *d)
const GWEN_TIME * AB_Transaction_GetValutaDate(const AB_TRANSACTION *el)
const char * AB_Transaction_GetRemoteSuffix(const AB_TRANSACTION *el)
void AB_Transaction_SetPeriod(AB_TRANSACTION *el, AB_TRANSACTION_PERIOD d)