aqbanking
5.0.24.0-git
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
aqbanking5
aqbanking
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
808
#ifdef __cplusplus
809
extern
"C"
{
810
#endif
811
812
typedef
struct
AB_TRANSACTION
AB_TRANSACTION
;
813
814
#ifdef __cplusplus
815
}
/* __cplusplus */
816
#endif
817
818
#include <gwenhywfar/db.h>
819
#include <gwenhywfar/inherit.h>
820
#include <gwenhywfar/list2.h>
821
/* headers */
822
#include <gwenhywfar/types.h>
823
#include <gwenhywfar/gwentime.h>
824
#include <gwenhywfar/stringlist.h>
825
#include <
aqbanking/value.h
>
826
#include <
aqbanking/transactionlimits.h
>
827
#include <
aqbanking/transactionfns.h
>
828
829
#ifdef __cplusplus
830
extern
"C"
{
831
#endif
832
833
typedef
enum
{
834
AB_Transaction_PeriodUnknown
=-1,
837
AB_Transaction_PeriodNone
=0,
840
AB_Transaction_PeriodMonthly
,
843
AB_Transaction_PeriodWeekly
844
}
AB_TRANSACTION_PERIOD
;
845
846
AQBANKING_API
AB_TRANSACTION_PERIOD
AB_Transaction_Period_fromString
(
const
char
*s);
847
AQBANKING_API
const
char
*
AB_Transaction_Period_toString
(
AB_TRANSACTION_PERIOD
v);
848
849
typedef
enum
{
850
AB_Transaction_TypeUnknown
=-1,
853
AB_Transaction_TypeTransaction
=0,
856
AB_Transaction_TypeTransfer
,
859
AB_Transaction_TypeDebitNote
,
862
AB_Transaction_TypeEuTransfer
863
}
AB_TRANSACTION_TYPE
;
864
865
AQBANKING_API
AB_TRANSACTION_TYPE
AB_Transaction_Type_fromString
(
const
char
*s);
866
AQBANKING_API
const
char
*
AB_Transaction_Type_toString
(
AB_TRANSACTION_TYPE
v);
867
868
typedef
enum
{
869
AB_Transaction_SubTypeUnknown
=-1,
872
AB_Transaction_SubTypeNone
=0,
875
AB_Transaction_SubTypeStandard
,
878
AB_Transaction_SubTypeCheck
,
881
AB_Transaction_SubTypeBookedDebitNote
,
884
AB_Transaction_SubTypeDrawnDebitNote
,
887
AB_Transaction_SubTypeStandingOrder
,
890
AB_Transaction_SubTypeLoan
,
893
AB_Transaction_SubTypeEuStandard
,
896
AB_Transaction_SubTypeEuASAP
,
899
AB_Transaction_SubTypeBuy
,
902
AB_Transaction_SubTypeSell
,
905
AB_Transaction_SubTypeReinvest
,
908
AB_Transaction_SubTypeDividend
909
}
AB_TRANSACTION_SUBTYPE
;
910
911
AQBANKING_API
AB_TRANSACTION_SUBTYPE
AB_Transaction_SubType_fromString
(
const
char
*s);
912
AQBANKING_API
const
char
*
AB_Transaction_SubType_toString
(
AB_TRANSACTION_SUBTYPE
v);
913
914
typedef
enum
{
915
AB_Transaction_StatusUnknown
=-1,
918
AB_Transaction_StatusNone
=0,
921
AB_Transaction_StatusAccepted
,
924
AB_Transaction_StatusRejected
,
927
AB_Transaction_StatusPending
,
930
AB_Transaction_StatusSending
,
933
AB_Transaction_StatusAutoReconciled
,
936
AB_Transaction_StatusManuallyReconciled
,
939
AB_Transaction_StatusRevoked
,
942
AB_Transaction_StatusAborted
943
}
AB_TRANSACTION_STATUS
;
944
945
AQBANKING_API
AB_TRANSACTION_STATUS
AB_Transaction_Status_fromString
(
const
char
*s);
946
AQBANKING_API
const
char
*
AB_Transaction_Status_toString
(
AB_TRANSACTION_STATUS
v);
947
948
typedef
enum
{
949
AB_Transaction_ChargeUnknown
=-1,
952
AB_Transaction_ChargeNobody
=0,
955
AB_Transaction_ChargeLocal
,
958
AB_Transaction_ChargeRemote
,
961
AB_Transaction_ChargeShare
962
}
AB_TRANSACTION_CHARGE
;
963
964
AQBANKING_API
AB_TRANSACTION_CHARGE
AB_Transaction_Charge_fromString
(
const
char
*s);
965
AQBANKING_API
const
char
*
AB_Transaction_Charge_toString
(
AB_TRANSACTION_CHARGE
v);
966
967
968
GWEN_INHERIT_FUNCTION_LIB_DEFS
(
AB_TRANSACTION
,
AQBANKING_API
)
969
GWEN_LIST2_FUNCTION_LIB_DEFS
(
AB_TRANSACTION
, AB_Transaction,
AQBANKING_API
)
970
973
AQBANKING_API
void
AB_Transaction_List2_freeAll
(
AB_TRANSACTION_LIST2
*stl);
974
977
AQBANKING_API
AB_TRANSACTION *
AB_Transaction_new
(
void
);
980
AQBANKING_API
AB_TRANSACTION *
AB_Transaction_fromDb
(GWEN_DB_NODE *db);
983
AQBANKING_API
AB_TRANSACTION *
AB_Transaction_dup
(const AB_TRANSACTION*st);
986
AQBANKING_API
void
AB_Transaction_free
(AB_TRANSACTION *st);
989
AQBANKING_API
void
AB_Transaction_Attach
(AB_TRANSACTION *st);
992
AQBANKING_API
int
AB_Transaction_ReadDb
(AB_TRANSACTION *st, GWEN_DB_NODE *db);
995
AQBANKING_API
int
AB_Transaction_toDb
(const AB_TRANSACTION*st, GWEN_DB_NODE *db);
998
AQBANKING_API
int
AB_Transaction_IsModified
(const AB_TRANSACTION *st);
1001
AQBANKING_API
void
AB_Transaction_SetModified
(AB_TRANSACTION *st,
int
i);
1002
1003
1004
1010
1014
AQBANKING_API
const
char
*
AB_Transaction_GetLocalCountry
(const AB_TRANSACTION *el);
1018
AQBANKING_API
void
AB_Transaction_SetLocalCountry
(AB_TRANSACTION *el, const
char
*d);
1019
1023
AQBANKING_API
const
char
*
AB_Transaction_GetLocalBankCode
(const AB_TRANSACTION *el);
1027
AQBANKING_API
void
AB_Transaction_SetLocalBankCode
(AB_TRANSACTION *el, const
char
*d);
1028
1032
AQBANKING_API
const
char
*
AB_Transaction_GetLocalBranchId
(const AB_TRANSACTION *el);
1036
AQBANKING_API
void
AB_Transaction_SetLocalBranchId
(AB_TRANSACTION *el, const
char
*d);
1037
1041
AQBANKING_API
const
char
*
AB_Transaction_GetLocalAccountNumber
(const AB_TRANSACTION *el);
1045
AQBANKING_API
void
AB_Transaction_SetLocalAccountNumber
(AB_TRANSACTION *el, const
char
*d);
1046
1050
AQBANKING_API
const
char
*
AB_Transaction_GetLocalSuffix
(const AB_TRANSACTION *el);
1054
AQBANKING_API
void
AB_Transaction_SetLocalSuffix
(AB_TRANSACTION *el, const
char
*d);
1055
1059
AQBANKING_API
const
char
*
AB_Transaction_GetLocalIban
(const AB_TRANSACTION *el);
1063
AQBANKING_API
void
AB_Transaction_SetLocalIban
(AB_TRANSACTION *el, const
char
*d);
1064
1068
AQBANKING_API
const
char
*
AB_Transaction_GetLocalName
(const AB_TRANSACTION *el);
1072
AQBANKING_API
void
AB_Transaction_SetLocalName
(AB_TRANSACTION *el, const
char
*d);
1073
1077
AQBANKING_API
const
char
*
AB_Transaction_GetLocalBic
(const AB_TRANSACTION *el);
1081
AQBANKING_API
void
AB_Transaction_SetLocalBic
(AB_TRANSACTION *el, const
char
*d);
1082
1090
1094
AQBANKING_API
const
char
*
AB_Transaction_GetRemoteCountry
(const AB_TRANSACTION *el);
1098
AQBANKING_API
void
AB_Transaction_SetRemoteCountry
(AB_TRANSACTION *el, const
char
*d);
1099
1103
AQBANKING_API
const
char
*
AB_Transaction_GetRemoteBankName
(const AB_TRANSACTION *el);
1107
AQBANKING_API
void
AB_Transaction_SetRemoteBankName
(AB_TRANSACTION *el, const
char
*d);
1108
1112
AQBANKING_API
const
char
*
AB_Transaction_GetRemoteBankLocation
(const AB_TRANSACTION *el);
1116
AQBANKING_API
void
AB_Transaction_SetRemoteBankLocation
(AB_TRANSACTION *el, const
char
*d);
1117
1121
AQBANKING_API
const
char
*
AB_Transaction_GetRemoteBankCode
(const AB_TRANSACTION *el);
1125
AQBANKING_API
void
AB_Transaction_SetRemoteBankCode
(AB_TRANSACTION *el, const
char
*d);
1126
1130
AQBANKING_API
const
char
*
AB_Transaction_GetRemoteBranchId
(const AB_TRANSACTION *el);
1134
AQBANKING_API
void
AB_Transaction_SetRemoteBranchId
(AB_TRANSACTION *el, const
char
*d);
1135
1139
AQBANKING_API
const
char
*
AB_Transaction_GetRemoteAccountNumber
(const AB_TRANSACTION *el);
1143
AQBANKING_API
void
AB_Transaction_SetRemoteAccountNumber
(AB_TRANSACTION *el, const
char
*d);
1144
1148
AQBANKING_API
const
char
*
AB_Transaction_GetRemoteSuffix
(const AB_TRANSACTION *el);
1152
AQBANKING_API
void
AB_Transaction_SetRemoteSuffix
(AB_TRANSACTION *el, const
char
*d);
1153
1157
AQBANKING_API
const
char
*
AB_Transaction_GetRemoteIban
(const AB_TRANSACTION *el);
1161
AQBANKING_API
void
AB_Transaction_SetRemoteIban
(AB_TRANSACTION *el, const
char
*d);
1162
1166
AQBANKING_API
const GWEN_STRINGLIST *
AB_Transaction_GetRemoteName
(const AB_TRANSACTION *el);
1170
AQBANKING_API
void
AB_Transaction_SetRemoteName
(AB_TRANSACTION *el, const GWEN_STRINGLIST *d);
1171
AQBANKING_API
void
AB_Transaction_AddRemoteName
(AB_TRANSACTION *st, const
char
*d,
int
chk);
1172
AQBANKING_API
void
AB_Transaction_RemoveRemoteName
(AB_TRANSACTION *st, const
char
*d);
1173
AQBANKING_API
void
AB_Transaction_ClearRemoteName
(AB_TRANSACTION *st);
1174
AQBANKING_API
int
AB_Transaction_HasRemoteName
(const AB_TRANSACTION *st, const
char
*d);
1175
1179
AQBANKING_API
const
char
*
AB_Transaction_GetRemoteBic
(const AB_TRANSACTION *el);
1183
AQBANKING_API
void
AB_Transaction_SetRemoteBic
(AB_TRANSACTION *el, const
char
*d);
1184
1190
AQBANKING_API
uint32_t
AB_Transaction_GetUniqueId
(const AB_TRANSACTION *el);
1194
AQBANKING_API
void
AB_Transaction_SetUniqueId
(AB_TRANSACTION *el, uint32_t d);
1195
1199
AQBANKING_API
uint32_t
AB_Transaction_GetIdForApplication
(const AB_TRANSACTION *el);
1203
AQBANKING_API
void
AB_Transaction_SetIdForApplication
(AB_TRANSACTION *el, uint32_t d);
1204
1208
AQBANKING_API
uint32_t
AB_Transaction_GetGroupId
(const AB_TRANSACTION *el);
1212
AQBANKING_API
void
AB_Transaction_SetGroupId
(AB_TRANSACTION *el, uint32_t d);
1213
1220
AQBANKING_API
const GWEN_TIME *
AB_Transaction_GetValutaDate
(const AB_TRANSACTION *el);
1224
AQBANKING_API
void
AB_Transaction_SetValutaDate
(AB_TRANSACTION *el, const GWEN_TIME *d);
1225
1229
AQBANKING_API
const GWEN_TIME *
AB_Transaction_GetDate
(const AB_TRANSACTION *el);
1233
AQBANKING_API
void
AB_Transaction_SetDate
(AB_TRANSACTION *el, const GWEN_TIME *d);
1234
1241
1245
AQBANKING_API
const
AB_VALUE
*
AB_Transaction_GetValue
(const AB_TRANSACTION *el);
1249
AQBANKING_API
void
AB_Transaction_SetValue
(AB_TRANSACTION *el, const
AB_VALUE
*d);
1250
1256
AQBANKING_API
const
AB_VALUE
*
AB_Transaction_GetFees
(const AB_TRANSACTION *el);
1260
AQBANKING_API
void
AB_Transaction_SetFees
(AB_TRANSACTION *el, const
AB_VALUE
*d);
1261
1277
1281
AQBANKING_API
int
AB_Transaction_GetTextKey
(const AB_TRANSACTION *el);
1285
AQBANKING_API
void
AB_Transaction_SetTextKey
(AB_TRANSACTION *el,
int
d);
1286
1290
AQBANKING_API
int
AB_Transaction_GetTextKeyExt
(const AB_TRANSACTION *el);
1294
AQBANKING_API
void
AB_Transaction_SetTextKeyExt
(AB_TRANSACTION *el,
int
d);
1295
1299
AQBANKING_API
const
char
*
AB_Transaction_GetTransactionKey
(const AB_TRANSACTION *el);
1303
AQBANKING_API
void
AB_Transaction_SetTransactionKey
(AB_TRANSACTION *el, const
char
*d);
1304
1308
AQBANKING_API
const
char
*
AB_Transaction_GetCustomerReference
(const AB_TRANSACTION *el);
1312
AQBANKING_API
void
AB_Transaction_SetCustomerReference
(AB_TRANSACTION *el, const
char
*d);
1313
1317
AQBANKING_API
const
char
*
AB_Transaction_GetBankReference
(const AB_TRANSACTION *el);
1321
AQBANKING_API
void
AB_Transaction_SetBankReference
(AB_TRANSACTION *el, const
char
*d);
1322
1326
AQBANKING_API
const
char
*
AB_Transaction_GetEndToEndReference
(const AB_TRANSACTION *el);
1330
AQBANKING_API
void
AB_Transaction_SetEndToEndReference
(AB_TRANSACTION *el, const
char
*d);
1331
1335
AQBANKING_API
const
char
*
AB_Transaction_GetMandateReference
(const AB_TRANSACTION *el);
1339
AQBANKING_API
void
AB_Transaction_SetMandateReference
(AB_TRANSACTION *el, const
char
*d);
1340
1344
AQBANKING_API
const
char
*
AB_Transaction_GetCreditorIdentifier
(const AB_TRANSACTION *el);
1348
AQBANKING_API
void
AB_Transaction_SetCreditorIdentifier
(AB_TRANSACTION *el, const
char
*d);
1349
1353
AQBANKING_API
const
char
*
AB_Transaction_GetOriginatorIdentifier
(const AB_TRANSACTION *el);
1357
AQBANKING_API
void
AB_Transaction_SetOriginatorIdentifier
(AB_TRANSACTION *el, const
char
*d);
1358
1362
AQBANKING_API
int
AB_Transaction_GetTransactionCode
(const AB_TRANSACTION *el);
1366
AQBANKING_API
void
AB_Transaction_SetTransactionCode
(AB_TRANSACTION *el,
int
d);
1367
1371
AQBANKING_API
const
char
*
AB_Transaction_GetTransactionText
(const AB_TRANSACTION *el);
1375
AQBANKING_API
void
AB_Transaction_SetTransactionText
(AB_TRANSACTION *el, const
char
*d);
1376
1380
AQBANKING_API
const
char
*
AB_Transaction_GetPrimanota
(const AB_TRANSACTION *el);
1384
AQBANKING_API
void
AB_Transaction_SetPrimanota
(AB_TRANSACTION *el, const
char
*d);
1385
1389
AQBANKING_API
const
char
*
AB_Transaction_GetFiId
(const AB_TRANSACTION *el);
1393
AQBANKING_API
void
AB_Transaction_SetFiId
(AB_TRANSACTION *el, const
char
*d);
1394
1398
AQBANKING_API
const GWEN_STRINGLIST *
AB_Transaction_GetPurpose
(const AB_TRANSACTION *el);
1402
AQBANKING_API
void
AB_Transaction_SetPurpose
(AB_TRANSACTION *el, const GWEN_STRINGLIST *d);
1403
AQBANKING_API
void
AB_Transaction_AddPurpose
(AB_TRANSACTION *st, const
char
*d,
int
chk);
1404
AQBANKING_API
void
AB_Transaction_RemovePurpose
(AB_TRANSACTION *st, const
char
*d);
1405
AQBANKING_API
void
AB_Transaction_ClearPurpose
(AB_TRANSACTION *st);
1406
AQBANKING_API
int
AB_Transaction_HasPurpose
(const AB_TRANSACTION *st, const
char
*d);
1407
1411
AQBANKING_API
const GWEN_STRINGLIST *
AB_Transaction_GetCategory
(const AB_TRANSACTION *el);
1415
AQBANKING_API
void
AB_Transaction_SetCategory
(AB_TRANSACTION *el, const GWEN_STRINGLIST *d);
1416
AQBANKING_API
void
AB_Transaction_AddCategory
(AB_TRANSACTION *st, const
char
*d,
int
chk);
1417
AQBANKING_API
void
AB_Transaction_RemoveCategory
(AB_TRANSACTION *st, const
char
*d);
1418
AQBANKING_API
void
AB_Transaction_ClearCategory
(AB_TRANSACTION *st);
1419
AQBANKING_API
int
AB_Transaction_HasCategory
(const AB_TRANSACTION *st, const
char
*d);
1420
1430
1434
AQBANKING_API
AB_TRANSACTION_PERIOD
AB_Transaction_GetPeriod
(const AB_TRANSACTION *el);
1438
AQBANKING_API
void
AB_Transaction_SetPeriod
(AB_TRANSACTION *el,
AB_TRANSACTION_PERIOD
d);
1439
1443
AQBANKING_API
int
AB_Transaction_GetCycle
(const AB_TRANSACTION *el);
1447
AQBANKING_API
void
AB_Transaction_SetCycle
(AB_TRANSACTION *el,
int
d);
1448
1452
AQBANKING_API
int
AB_Transaction_GetExecutionDay
(const AB_TRANSACTION *el);
1456
AQBANKING_API
void
AB_Transaction_SetExecutionDay
(AB_TRANSACTION *el,
int
d);
1457
1461
AQBANKING_API
const GWEN_TIME *
AB_Transaction_GetFirstExecutionDate
(const AB_TRANSACTION *el);
1465
AQBANKING_API
void
AB_Transaction_SetFirstExecutionDate
(AB_TRANSACTION *el, const GWEN_TIME *d);
1466
1470
AQBANKING_API
const GWEN_TIME *
AB_Transaction_GetLastExecutionDate
(const AB_TRANSACTION *el);
1474
AQBANKING_API
void
AB_Transaction_SetLastExecutionDate
(AB_TRANSACTION *el, const GWEN_TIME *d);
1475
1479
AQBANKING_API
const GWEN_TIME *
AB_Transaction_GetNextExecutionDate
(const AB_TRANSACTION *el);
1483
AQBANKING_API
void
AB_Transaction_SetNextExecutionDate
(AB_TRANSACTION *el, const GWEN_TIME *d);
1484
1494
1498
AQBANKING_API
AB_TRANSACTION_TYPE
AB_Transaction_GetType
(const AB_TRANSACTION *el);
1502
AQBANKING_API
void
AB_Transaction_SetType
(AB_TRANSACTION *el,
AB_TRANSACTION_TYPE
d);
1503
1507
AQBANKING_API
AB_TRANSACTION_SUBTYPE
AB_Transaction_GetSubType
(const AB_TRANSACTION *el);
1511
AQBANKING_API
void
AB_Transaction_SetSubType
(AB_TRANSACTION *el,
AB_TRANSACTION_SUBTYPE
d);
1512
1516
AQBANKING_API
AB_TRANSACTION_STATUS
AB_Transaction_GetStatus
(const AB_TRANSACTION *el);
1520
AQBANKING_API
void
AB_Transaction_SetStatus
(AB_TRANSACTION *el,
AB_TRANSACTION_STATUS
d);
1521
1525
AQBANKING_API
AB_TRANSACTION_CHARGE
AB_Transaction_GetCharge
(const AB_TRANSACTION *el);
1529
AQBANKING_API
void
AB_Transaction_SetCharge
(AB_TRANSACTION *el,
AB_TRANSACTION_CHARGE
d);
1530
1540
1544
AQBANKING_API
const
char
*
AB_Transaction_GetRemoteAddrStreet
(const AB_TRANSACTION *el);
1548
AQBANKING_API
void
AB_Transaction_SetRemoteAddrStreet
(AB_TRANSACTION *el, const
char
*d);
1549
1553
AQBANKING_API
const
char
*
AB_Transaction_GetRemoteAddrZipcode
(const AB_TRANSACTION *el);
1557
AQBANKING_API
void
AB_Transaction_SetRemoteAddrZipcode
(AB_TRANSACTION *el, const
char
*d);
1558
1562
AQBANKING_API
const
char
*
AB_Transaction_GetRemoteAddrCity
(const AB_TRANSACTION *el);
1566
AQBANKING_API
void
AB_Transaction_SetRemoteAddrCity
(AB_TRANSACTION *el, const
char
*d);
1567
1571
AQBANKING_API
const
char
*
AB_Transaction_GetRemotePhone
(const AB_TRANSACTION *el);
1575
AQBANKING_API
void
AB_Transaction_SetRemotePhone
(AB_TRANSACTION *el, const
char
*d);
1576
1586
1590
AQBANKING_API
const
char
*
AB_Transaction_GetUnitId
(const AB_TRANSACTION *el);
1594
AQBANKING_API
void
AB_Transaction_SetUnitId
(AB_TRANSACTION *el, const
char
*d);
1595
1599
AQBANKING_API
const
char
*
AB_Transaction_GetUnitIdNameSpace
(const AB_TRANSACTION *el);
1603
AQBANKING_API
void
AB_Transaction_SetUnitIdNameSpace
(AB_TRANSACTION *el, const
char
*d);
1604
1608
AQBANKING_API
const
AB_VALUE
*
AB_Transaction_GetUnits
(const AB_TRANSACTION *el);
1612
AQBANKING_API
void
AB_Transaction_SetUnits
(AB_TRANSACTION *el, const
AB_VALUE
*d);
1613
1617
AQBANKING_API
const
AB_VALUE
*
AB_Transaction_GetUnitPrice
(const AB_TRANSACTION *el);
1621
AQBANKING_API
void
AB_Transaction_SetUnitPrice
(AB_TRANSACTION *el, const
AB_VALUE
*d);
1622
1626
AQBANKING_API
const
AB_VALUE
*
AB_Transaction_GetCommission
(const AB_TRANSACTION *el);
1630
AQBANKING_API
void
AB_Transaction_SetCommission
(AB_TRANSACTION *el, const
AB_VALUE
*d);
1631
1635
#ifdef __cplusplus
1636
}
/* __cplusplus */
1637
#endif
1638
1639
1640
#endif
/* TRANSACTION_H */
Generated on Sun Jun 3 2012 18:45:32 for aqbanking by
1.8.1