transaction.h

Go to the documentation of this file.
00001 /* This file is auto-generated from "transaction.xml" by the typemaker
00002    tool of Gwenhywfar. 
00003    Do not edit this file -- all changes will be lost! */
00004 #ifndef TRANSACTION_H
00005 #define TRANSACTION_H
00006 
00485 #ifdef __cplusplus
00486 extern "C" {
00487 #endif
00488 
00489 typedef struct AB_TRANSACTION AB_TRANSACTION;
00490 
00491 #ifdef __cplusplus
00492 } /* __cplusplus */
00493 #endif
00494 
00495 #include <gwenhywfar/db.h>
00496 #include <gwenhywfar/inherit.h>
00497 #include <gwenhywfar/list2.h>
00498 #include <gwenhywfar/types.h>
00499 #include <gwenhywfar/gwentime.h>
00500 #include <gwenhywfar/stringlist.h>
00501 #include <aqbanking/value.h>
00502 #include <aqbanking/split.h>
00503 #include <aqbanking/transactionlimits.h>
00504 #include <aqbanking/transactionfns.h>
00505 
00506 #ifdef __cplusplus
00507 extern "C" {
00508 #endif
00509 
00510 typedef enum {
00511   AB_Transaction_PeriodUnknown=-1,
00513   AB_Transaction_PeriodNone=0,
00515   AB_Transaction_PeriodMonthly,
00517   AB_Transaction_PeriodWeekly
00518 } AB_TRANSACTION_PERIOD;
00519 
00520 AB_TRANSACTION_PERIOD AB_Transaction_Period_fromString(const char *s);
00521 const char *AB_Transaction_Period_toString(AB_TRANSACTION_PERIOD v);
00522 
00523 typedef enum {
00524   AB_Transaction_TypeUnknown=-1,
00526   AB_Transaction_TypeTransaction=0,
00528   AB_Transaction_TypeTransfer,
00530   AB_Transaction_TypeDebitNote,
00532   AB_Transaction_TypeEuTransfer
00533 } AB_TRANSACTION_TYPE;
00534 
00535 AB_TRANSACTION_TYPE AB_Transaction_Type_fromString(const char *s);
00536 const char *AB_Transaction_Type_toString(AB_TRANSACTION_TYPE v);
00537 
00538 typedef enum {
00539   AB_Transaction_SubTypeUnknown=-1,
00541   AB_Transaction_SubTypeNone=0,
00543   AB_Transaction_SubTypeStandard,
00545   AB_Transaction_SubTypeCheck,
00547   AB_Transaction_SubTypeBookedDebitNote,
00549   AB_Transaction_SubTypeDrawnDebitNote,
00551   AB_Transaction_SubTypeStandingOrder,
00553   AB_Transaction_SubTypeLoan,
00555   AB_Transaction_SubTypeEuStandard,
00557   AB_Transaction_SubTypeEuASAP
00558 } AB_TRANSACTION_SUBTYPE;
00559 
00560 AB_TRANSACTION_SUBTYPE AB_Transaction_SubType_fromString(const char *s);
00561 const char *AB_Transaction_SubType_toString(AB_TRANSACTION_SUBTYPE v);
00562 
00563 typedef enum {
00564   AB_Transaction_StatusUnknown=-1,
00566   AB_Transaction_StatusNone=0,
00568   AB_Transaction_StatusAccepted,
00570   AB_Transaction_StatusRejected,
00572   AB_Transaction_StatusPending
00573 } AB_TRANSACTION_STATUS;
00574 
00575 AB_TRANSACTION_STATUS AB_Transaction_Status_fromString(const char *s);
00576 const char *AB_Transaction_Status_toString(AB_TRANSACTION_STATUS v);
00577 
00578 typedef enum {
00579   AB_Transaction_ChargeUnknown=-1,
00581   AB_Transaction_ChargeNobody=0,
00583   AB_Transaction_ChargeLocal,
00585   AB_Transaction_ChargeRemote,
00587   AB_Transaction_ChargeShare
00588 } AB_TRANSACTION_CHARGE;
00589 
00590 AB_TRANSACTION_CHARGE AB_Transaction_Charge_fromString(const char *s);
00591 const char *AB_Transaction_Charge_toString(AB_TRANSACTION_CHARGE v);
00592 
00593 GWEN_INHERIT_FUNCTION_LIB_DEFS(AB_TRANSACTION, AQBANKING_API)
00594 GWEN_LIST2_FUNCTION_LIB_DEFS(AB_TRANSACTION, AB_Transaction, AQBANKING_API)
00595 
00598 AQBANKING_API void AB_Transaction_List2_freeAll(AB_TRANSACTION_LIST2 *stl);
00601 AQBANKING_API AB_TRANSACTION_LIST2 *AB_Transaction_List2_dup(const AB_TRANSACTION_LIST2 *stl);
00602 
00605 AQBANKING_API AB_TRANSACTION *AB_Transaction_new();
00608 AQBANKING_API void AB_Transaction_free(AB_TRANSACTION *st);
00611 AQBANKING_API void AB_Transaction_Attach(AB_TRANSACTION *st);
00614 AQBANKING_API AB_TRANSACTION *AB_Transaction_dup(const AB_TRANSACTION*st);
00617 AQBANKING_API AB_TRANSACTION *AB_Transaction_fromDb(GWEN_DB_NODE *db);
00620 AQBANKING_API int AB_Transaction_toDb(const AB_TRANSACTION*st, GWEN_DB_NODE *db);
00623 AQBANKING_API int AB_Transaction_IsModified(const AB_TRANSACTION *st);
00626 AQBANKING_API void AB_Transaction_SetModified(AB_TRANSACTION *st, int i);
00627 
00628 
00629 
00634 
00638 AQBANKING_API const char *AB_Transaction_GetLocalCountry(const AB_TRANSACTION *el);
00642 AQBANKING_API void AB_Transaction_SetLocalCountry(AB_TRANSACTION *el, const char *d);
00643 
00647 AQBANKING_API const char *AB_Transaction_GetLocalBankCode(const AB_TRANSACTION *el);
00651 AQBANKING_API void AB_Transaction_SetLocalBankCode(AB_TRANSACTION *el, const char *d);
00652 
00656 AQBANKING_API const char *AB_Transaction_GetLocalBranchId(const AB_TRANSACTION *el);
00660 AQBANKING_API void AB_Transaction_SetLocalBranchId(AB_TRANSACTION *el, const char *d);
00661 
00665 AQBANKING_API const char *AB_Transaction_GetLocalAccountNumber(const AB_TRANSACTION *el);
00669 AQBANKING_API void AB_Transaction_SetLocalAccountNumber(AB_TRANSACTION *el, const char *d);
00670 
00674 AQBANKING_API const char *AB_Transaction_GetLocalSuffix(const AB_TRANSACTION *el);
00678 AQBANKING_API void AB_Transaction_SetLocalSuffix(AB_TRANSACTION *el, const char *d);
00679 
00683 AQBANKING_API const char *AB_Transaction_GetLocalName(const AB_TRANSACTION *el);
00687 AQBANKING_API void AB_Transaction_SetLocalName(AB_TRANSACTION *el, const char *d);
00688 
00695 
00699 AQBANKING_API const char *AB_Transaction_GetRemoteCountry(const AB_TRANSACTION *el);
00703 AQBANKING_API void AB_Transaction_SetRemoteCountry(AB_TRANSACTION *el, const char *d);
00704 
00708 AQBANKING_API const char *AB_Transaction_GetRemoteBankName(const AB_TRANSACTION *el);
00712 AQBANKING_API void AB_Transaction_SetRemoteBankName(AB_TRANSACTION *el, const char *d);
00713 
00717 AQBANKING_API const char *AB_Transaction_GetRemoteBankLocation(const AB_TRANSACTION *el);
00721 AQBANKING_API void AB_Transaction_SetRemoteBankLocation(AB_TRANSACTION *el, const char *d);
00722 
00726 AQBANKING_API const char *AB_Transaction_GetRemoteBankCode(const AB_TRANSACTION *el);
00730 AQBANKING_API void AB_Transaction_SetRemoteBankCode(AB_TRANSACTION *el, const char *d);
00731 
00735 AQBANKING_API const char *AB_Transaction_GetRemoteBranchId(const AB_TRANSACTION *el);
00739 AQBANKING_API void AB_Transaction_SetRemoteBranchId(AB_TRANSACTION *el, const char *d);
00740 
00744 AQBANKING_API const char *AB_Transaction_GetRemoteAccountNumber(const AB_TRANSACTION *el);
00748 AQBANKING_API void AB_Transaction_SetRemoteAccountNumber(AB_TRANSACTION *el, const char *d);
00749 
00753 AQBANKING_API const char *AB_Transaction_GetRemoteSuffix(const AB_TRANSACTION *el);
00757 AQBANKING_API void AB_Transaction_SetRemoteSuffix(AB_TRANSACTION *el, const char *d);
00758 
00762 AQBANKING_API const char *AB_Transaction_GetRemoteIban(const AB_TRANSACTION *el);
00766 AQBANKING_API void AB_Transaction_SetRemoteIban(AB_TRANSACTION *el, const char *d);
00767 
00771 AQBANKING_API const GWEN_STRINGLIST *AB_Transaction_GetRemoteName(const AB_TRANSACTION *el);
00775 AQBANKING_API void AB_Transaction_SetRemoteName(AB_TRANSACTION *el, const GWEN_STRINGLIST *d);
00776 AQBANKING_API void AB_Transaction_AddRemoteName(AB_TRANSACTION *st, const char *d, int chk);
00777 AQBANKING_API void AB_Transaction_RemoveRemoteName(AB_TRANSACTION *st, const char *d);
00778 AQBANKING_API void AB_Transaction_ClearRemoteName(AB_TRANSACTION *st);
00779 AQBANKING_API int AB_Transaction_HasRemoteName(const AB_TRANSACTION *st, const char *d);
00780 
00786 AQBANKING_API GWEN_TYPE_UINT32 AB_Transaction_GetUniqueId(const AB_TRANSACTION *el);
00790 AQBANKING_API void AB_Transaction_SetUniqueId(AB_TRANSACTION *el, GWEN_TYPE_UINT32 d);
00791 
00798 AQBANKING_API const GWEN_TIME *AB_Transaction_GetValutaDate(const AB_TRANSACTION *el);
00802 AQBANKING_API void AB_Transaction_SetValutaDate(AB_TRANSACTION *el, const GWEN_TIME *d);
00803 
00807 AQBANKING_API const GWEN_TIME *AB_Transaction_GetDate(const AB_TRANSACTION *el);
00811 AQBANKING_API void AB_Transaction_SetDate(AB_TRANSACTION *el, const GWEN_TIME *d);
00812 
00819 
00823 AQBANKING_API const AB_VALUE *AB_Transaction_GetValue(const AB_TRANSACTION *el);
00827 AQBANKING_API void AB_Transaction_SetValue(AB_TRANSACTION *el, const AB_VALUE *d);
00828 
00834 AQBANKING_API AB_SPLIT_LIST *AB_Transaction_GetSplits(const AB_TRANSACTION *el);
00838 AQBANKING_API void AB_Transaction_SetSplits(AB_TRANSACTION *el, AB_SPLIT_LIST *d);
00839 
00847 
00851 AQBANKING_API int AB_Transaction_GetTextKey(const AB_TRANSACTION *el);
00855 AQBANKING_API void AB_Transaction_SetTextKey(AB_TRANSACTION *el, int d);
00856 
00860 AQBANKING_API const char *AB_Transaction_GetTransactionKey(const AB_TRANSACTION *el);
00864 AQBANKING_API void AB_Transaction_SetTransactionKey(AB_TRANSACTION *el, const char *d);
00865 
00869 AQBANKING_API const char *AB_Transaction_GetCustomerReference(const AB_TRANSACTION *el);
00873 AQBANKING_API void AB_Transaction_SetCustomerReference(AB_TRANSACTION *el, const char *d);
00874 
00878 AQBANKING_API const char *AB_Transaction_GetBankReference(const AB_TRANSACTION *el);
00882 AQBANKING_API void AB_Transaction_SetBankReference(AB_TRANSACTION *el, const char *d);
00883 
00887 AQBANKING_API int AB_Transaction_GetTransactionCode(const AB_TRANSACTION *el);
00891 AQBANKING_API void AB_Transaction_SetTransactionCode(AB_TRANSACTION *el, int d);
00892 
00896 AQBANKING_API const char *AB_Transaction_GetTransactionText(const AB_TRANSACTION *el);
00900 AQBANKING_API void AB_Transaction_SetTransactionText(AB_TRANSACTION *el, const char *d);
00901 
00905 AQBANKING_API const char *AB_Transaction_GetPrimanota(const AB_TRANSACTION *el);
00909 AQBANKING_API void AB_Transaction_SetPrimanota(AB_TRANSACTION *el, const char *d);
00910 
00914 AQBANKING_API const char *AB_Transaction_GetFiId(const AB_TRANSACTION *el);
00918 AQBANKING_API void AB_Transaction_SetFiId(AB_TRANSACTION *el, const char *d);
00919 
00923 AQBANKING_API const GWEN_STRINGLIST *AB_Transaction_GetPurpose(const AB_TRANSACTION *el);
00927 AQBANKING_API void AB_Transaction_SetPurpose(AB_TRANSACTION *el, const GWEN_STRINGLIST *d);
00928 AQBANKING_API void AB_Transaction_AddPurpose(AB_TRANSACTION *st, const char *d, int chk);
00929 AQBANKING_API void AB_Transaction_RemovePurpose(AB_TRANSACTION *st, const char *d);
00930 AQBANKING_API void AB_Transaction_ClearPurpose(AB_TRANSACTION *st);
00931 AQBANKING_API int AB_Transaction_HasPurpose(const AB_TRANSACTION *st, const char *d);
00932 
00936 AQBANKING_API const GWEN_STRINGLIST *AB_Transaction_GetCategory(const AB_TRANSACTION *el);
00940 AQBANKING_API void AB_Transaction_SetCategory(AB_TRANSACTION *el, const GWEN_STRINGLIST *d);
00941 AQBANKING_API void AB_Transaction_AddCategory(AB_TRANSACTION *st, const char *d, int chk);
00942 AQBANKING_API void AB_Transaction_RemoveCategory(AB_TRANSACTION *st, const char *d);
00943 AQBANKING_API void AB_Transaction_ClearCategory(AB_TRANSACTION *st);
00944 AQBANKING_API int AB_Transaction_HasCategory(const AB_TRANSACTION *st, const char *d);
00945 
00952 
00956 AQBANKING_API AB_TRANSACTION_PERIOD AB_Transaction_GetPeriod(const AB_TRANSACTION *el);
00960 AQBANKING_API void AB_Transaction_SetPeriod(AB_TRANSACTION *el, AB_TRANSACTION_PERIOD d);
00961 
00965 AQBANKING_API int AB_Transaction_GetCycle(const AB_TRANSACTION *el);
00969 AQBANKING_API void AB_Transaction_SetCycle(AB_TRANSACTION *el, int d);
00970 
00974 AQBANKING_API int AB_Transaction_GetExecutionDay(const AB_TRANSACTION *el);
00978 AQBANKING_API void AB_Transaction_SetExecutionDay(AB_TRANSACTION *el, int d);
00979 
00983 AQBANKING_API const GWEN_TIME *AB_Transaction_GetFirstExecutionDate(const AB_TRANSACTION *el);
00987 AQBANKING_API void AB_Transaction_SetFirstExecutionDate(AB_TRANSACTION *el, const GWEN_TIME *d);
00988 
00992 AQBANKING_API const GWEN_TIME *AB_Transaction_GetLastExecutionDate(const AB_TRANSACTION *el);
00996 AQBANKING_API void AB_Transaction_SetLastExecutionDate(AB_TRANSACTION *el, const GWEN_TIME *d);
00997 
01001 AQBANKING_API const GWEN_TIME *AB_Transaction_GetNextExecutionDate(const AB_TRANSACTION *el);
01005 AQBANKING_API void AB_Transaction_SetNextExecutionDate(AB_TRANSACTION *el, const GWEN_TIME *d);
01006 
01013 
01017 AQBANKING_API AB_TRANSACTION_TYPE AB_Transaction_GetType(const AB_TRANSACTION *el);
01021 AQBANKING_API void AB_Transaction_SetType(AB_TRANSACTION *el, AB_TRANSACTION_TYPE d);
01022 
01026 AQBANKING_API AB_TRANSACTION_SUBTYPE AB_Transaction_GetSubType(const AB_TRANSACTION *el);
01030 AQBANKING_API void AB_Transaction_SetSubType(AB_TRANSACTION *el, AB_TRANSACTION_SUBTYPE d);
01031 
01035 AQBANKING_API AB_TRANSACTION_STATUS AB_Transaction_GetStatus(const AB_TRANSACTION *el);
01039 AQBANKING_API void AB_Transaction_SetStatus(AB_TRANSACTION *el, AB_TRANSACTION_STATUS d);
01040 
01044 AQBANKING_API AB_TRANSACTION_CHARGE AB_Transaction_GetCharge(const AB_TRANSACTION *el);
01048 AQBANKING_API void AB_Transaction_SetCharge(AB_TRANSACTION *el, AB_TRANSACTION_CHARGE d);
01049 
01056 
01060 AQBANKING_API const char *AB_Transaction_GetRemoteAddrStreet(const AB_TRANSACTION *el);
01064 AQBANKING_API void AB_Transaction_SetRemoteAddrStreet(AB_TRANSACTION *el, const char *d);
01065 
01069 AQBANKING_API const char *AB_Transaction_GetRemoteAddrZipcode(const AB_TRANSACTION *el);
01073 AQBANKING_API void AB_Transaction_SetRemoteAddrZipcode(AB_TRANSACTION *el, const char *d);
01074 
01078 AQBANKING_API const char *AB_Transaction_GetRemoteAddrCity(const AB_TRANSACTION *el);
01082 AQBANKING_API void AB_Transaction_SetRemoteAddrCity(AB_TRANSACTION *el, const char *d);
01083 
01087 AQBANKING_API const char *AB_Transaction_GetRemotePhone(const AB_TRANSACTION *el);
01091 AQBANKING_API void AB_Transaction_SetRemotePhone(AB_TRANSACTION *el, const char *d);
01092 
01096 #ifdef __cplusplus
01097 } /* __cplusplus */
01098 #endif
01099 
01100 
01101 #endif /* TRANSACTION_H */

Generated on Sat Jan 7 04:22:41 2006 for aqbanking by  doxygen 1.4.6