/***************************************************************************
 $RCSfile$
 -------------------
 cvs         : $Id: jobtransferbase_l.h 947 2006-02-21 17:04:54Z aquamaniac $
 begin       : Mon Mar 01 2004
 copyright   : (C) 2004 by Martin Preuss
 email       : martin@libchipcard.de

 ***************************************************************************
 *          Please see toplevel file COPYING for license details           *
 ***************************************************************************/


#ifndef AQBANKING_JOBTRANSFERBASE_L_H
#define AQBANKING_JOBTRANSFERBASE_L_H


#include <aqbanking/job.h>


AB_JOB *AB_JobTransferBase_new(AB_JOB_TYPE jt, AB_ACCOUNT *a);

int AB_JobTransferBase_SetTransaction(AB_JOB *j, const AB_TRANSACTION *t);
const AB_TRANSACTION *AB_JobTransferBase_GetTransaction(const AB_JOB *j);

const AB_TRANSACTION_LIMITS *AB_JobTransferBase_GetFieldLimits(AB_JOB *j);

void AB_JobTransferBase_SetFieldLimits(AB_JOB *j,
                                       AB_TRANSACTION_LIMITS *limits);

AB_JOB *AB_JobTransferBase_fromDb(AB_JOB_TYPE jt,
                                  AB_ACCOUNT *a,
                                  GWEN_DB_NODE *db);
int AB_JobTransferBase_toDb(const AB_JOB *j, GWEN_DB_NODE *db);





#endif

