35#ifndef DIALOG_AB_TRANS_H
36#define DIALOG_AB_TRANS_H
40#include <aqbanking/banking.h>
46#define GNC_RESPONSE_NOW GTK_RESPONSE_YES
47#define GNC_RESPONSE_LATER GTK_RESPONSE_NO
51typedef enum _GncABTransType GncABTransType;
56 SINGLE_INTERNAL_TRANSFER
59#if (AQBANKING_VERSION_INT >= 60400)
60 , SEPA_INTERNAL_TRANSFER
83 GncABTransType trans_type,
104#if (AQBANKING_VERSION_INT >= 60400)
117GList *gnc_ab_trans_dialog_get_templ(
const GncABTransDialog *td,
151 const AB_TRANSACTION *ab_trans,
152 GncABTransType trans_type);
Account handling public routines.
AqBanking utility functions.
GtkWidget * gnc_ab_trans_dialog_get_parent(const GncABTransDialog *td)
Retrieve the widget used as parent.
GncABTransDialog * gnc_ab_trans_dialog_new(GtkWidget *parent, GNC_AB_ACCOUNT_SPEC *ab_acc, gint commodity_scu, GncABTransType trans_type, GList *templates)
Create a new AqBanking transfer dialog.
GNC_AB_JOB * gnc_ab_trans_dialog_get_job(const GncABTransDialog *td)
Receive the Aqbanking job filled by the dialog.
gint gnc_ab_trans_dialog_run_until_ok(GncABTransDialog *td)
Run the Aqbanking transfer dialog until correct values where entered or the user cancelled the dialog...
const AB_TRANSACTION * gnc_ab_trans_dialog_get_ab_trans(const GncABTransDialog *td)
Receive the Aqbanking Transaction filled by the dialog.
void gnc_ab_trans_dialog_free(GncABTransDialog *td)
Free a Aqbanking transfer dialog.
gboolean gnc_ab_trans_isSEPA(GncABTransType t)
Returns true if the given GncABTransType is an European (SEPA) transaction (transfer or debit note),...
GNC_AB_JOB * gnc_ab_get_trans_job(GNC_AB_ACCOUNT_SPEC *ab_acc, const AB_TRANSACTION *ab_trans, GncABTransType trans_type)
Return the AqBanking job associated with the transaction.