Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

HBCI::OutboxAccountJob Class Reference

Abstract base class for account based OutboxJob in HBCIAPI Abstract base class for account based jobs. More...

#include <outboxaccjobs.h>

Inheritance diagram for HBCI::OutboxAccountJob:

Inheritance graph
[legend]
List of all members.

Public Methods

 OutboxAccountJob (Pointer< Customer > c, Pointer< Account > a)
 ~OutboxAccountJob ()
Pointer< Accountaccount () const
virtual list< int > resultCodes () const=0

Protected Methods

string _makeDescription (const string &dscr) const

Protected Attributes

Pointer< Account_acc

Detailed Description

Abstract base class for account based OutboxJob in HBCIAPI Abstract base class for account based jobs.

This is an abstract base class of the OpenHBCI-Wrapper API for account based jobs.

Author:
Martin Preuss<martin@libchipcard.de>


Constructor & Destructor Documentation

HBCI::OutboxAccountJob::OutboxAccountJob Pointer< Customer   c,
Pointer< Account   a
 

HBCI::OutboxAccountJob::~OutboxAccountJob  
 


Member Function Documentation

string HBCI::OutboxAccountJob::_makeDescription const string &    dscr const [protected]
 

Pointer<Account> HBCI::OutboxAccountJob::account   const [inline]
 

virtual list<int> HBCI::OutboxAccountJob::resultCodes   const [pure virtual]
 

Returns a list of result codes of this job.

This can be used to get more detailed information if the result of this job was HBCI_JOB_RESULT_FAILED. In that case, you can traverse this list, checking for resultcodes >= 9000. Each of those can be the source of the job failure, so you can react accordingly. HBCI spec suggests that the most important of them can be found at the front() already, but that depends on your bank.

Note: A resultcode >= 9000 does not automatically mean an error, see MessageQueue::getResult().

See also:
MessageQueue::getResult(), Job::errorcodeIsLibraryBug()

Implements HBCI::OutboxJob.

Implemented in HBCI::OutboxJobGetBalance, HBCI::OutboxJobGetTransactions, HBCI::OutboxJobTransfer, HBCI::OutboxJobDebitNote, HBCI::OutboxJobGetStandingOrders, HBCI::OutboxJobNewStandingOrder, and HBCI::OutboxJobDeleteStandingOrder.


Member Data Documentation

Pointer<Account> HBCI::OutboxAccountJob::_acc [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Jun 23 13:41:12 2003 for openhbci by doxygen1.2.17