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

HBCI::AbstractTrans Class Reference

Abstract base class for transactions and similar business cases in HBCI. More...

#include <abstracttrans.h>

Inheritance diagram for HBCI::AbstractTrans:

Inheritance graph
[legend]
List of all members.

Public Methods

 AbstractTrans ()
virtual ~AbstractTrans ()
Our account
virtual int ourCountryCode () const=0
virtual void setOurCountryCode (int i)=0
virtual const string & ourBankCode () const=0
virtual void setOurBankCode (const string &code)=0
virtual const string & ourAccountId () const=0
virtual void setOurAccountId (const string &id)=0
virtual const string & ourSuffix () const=0
virtual void setOurSuffix (const string &id)=0
Value
virtual const Valuevalue () const=0
virtual void setValue (const Value &v)=0
Transaction Description
virtual int transactionCode () const=0
virtual void setTransactionCode (int c)=0
virtual const list< string > & description () const=0
virtual void addDescription (const string &s)=0
Other account
virtual int otherCountryCode () const=0
virtual void setOtherCountryCode (int i)=0
virtual const string & otherBankCode () const=0
virtual void setOtherBankCode (const string &s)=0
virtual const string & otherAccountId () const=0
virtual void setOtherAccountId (const string &s)=0
virtual const string & otherSuffix () const=0
virtual void setOtherSuffix (const string &id)=0
virtual const list< string > & otherName () const=0
virtual void addOtherName (const string &s)=0

Detailed Description

Abstract base class for transactions and similar business cases in HBCI.

This class is the abstract base class for transactions and similar business cases in HBCI. This helps in unifying all their interfaces.

Author:
Christian Stimming <stimming@tuhh.de>


Constructor & Destructor Documentation

HBCI::AbstractTrans::AbstractTrans  
 

virtual HBCI::AbstractTrans::~AbstractTrans   [virtual]
 


Member Function Documentation

virtual void HBCI::AbstractTrans::addDescription const string &    s [pure virtual]
 

Description of what this transaction is for, and how the Bank describes this transaction.

According to HBCI Spec chapter IX.2.8, somewhere in these lines this might contain the equivalent transaction value in DEM vs. EUR or vice versa. Also, if the originalValue() and charge() above was unused but this in fact had a original value and charges, then that information might be contained somewhere in these description lines. (Good luck.)

-- Verwendungszweck; MT940: fields 20-29 and 60-63 in field :86:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual void HBCI::AbstractTrans::addOtherName const string &    s [pure virtual]
 

Name of the other party -- MT940: fields 32 and 33 in field :86:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual const list<string>& HBCI::AbstractTrans::description   const [pure virtual]
 

Description of what this transaction is for, and how the Bank describes this transaction.

According to HBCI Spec chapter IX.2.8, somewhere in these lines this might contain the equivalent transaction value in DEM vs. EUR or vice versa. Also, if the originalValue() and charge() above was unused but this in fact had a original value and charges, then that information might be contained somewhere in these description lines. (Good luck.)

-- Verwendungszweck; MT940: fields 20-29 and 60-63 in field :86:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual const string& HBCI::AbstractTrans::otherAccountId   const [pure virtual]
 

Account number of the other party -- Kontonummer; MT940: field 31 in field :86:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual const string& HBCI::AbstractTrans::otherBankCode   const [pure virtual]
 

Institute code (BLZ) of the other party's institute -- BLZ; MT940: field 30 in field :86:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual int HBCI::AbstractTrans::otherCountryCode   const [pure virtual]
 

Country code (BLZ) of the other party's institute -- MT940: not in MT940/field :86:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual const list<string>& HBCI::AbstractTrans::otherName   const [pure virtual]
 

Name of the other party -- MT940: fields 32 and 33 in field :86:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual const string& HBCI::AbstractTrans::otherSuffix   const [pure virtual]
 

If the account of the other party has subaccounts which are distinguished by different suffixes, then this is that suffix of the other party. Otherwise it's empty. -- MT940: *not* in MT940 / field :86:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual const string& HBCI::AbstractTrans::ourAccountId   const [pure virtual]
 

Your account number; up to 23 characters. Note: possibly including the currency (yes, that's what MT940 says) -- MT940: Kontonummer in :25:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual const string& HBCI::AbstractTrans::ourBankCode   const [pure virtual]
 

bank code of your institute (BLZ or S.W.I.F.T. code) -- MT940: BLZ in :25:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual int HBCI::AbstractTrans::ourCountryCode   const [pure virtual]
 

country code of your institute -- MT940: not in MT940

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual const string& HBCI::AbstractTrans::ourSuffix   const [pure virtual]
 

If your account has subaccounts which are distinguished by different suffixes, then this is that suffix. Otherwise it's empty. -- MT940: not in MT940

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual void HBCI::AbstractTrans::setOtherAccountId const string &    s [pure virtual]
 

Account number of the other party -- Kontonummer; MT940: field 31 in field :86:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual void HBCI::AbstractTrans::setOtherBankCode const string &    s [pure virtual]
 

Institute code (BLZ) of the other party's institute -- BLZ; MT940: field 30 in field :86:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual void HBCI::AbstractTrans::setOtherCountryCode int    i [pure virtual]
 

Country code (BLZ) of the other party's institute -- MT940: not in MT940/field :86:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual void HBCI::AbstractTrans::setOtherSuffix const string &    id [pure virtual]
 

If the account of the other party has subaccounts which are distinguished by different suffixes, then this is that suffix of the other party. Otherwise it's empty. -- MT940: *not* in MT940 / field :86:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual void HBCI::AbstractTrans::setOurAccountId const string &    id [pure virtual]
 

Your account number; up to 23 characters. Note: possibly including the currency (yes, that's what MT940 says) -- MT940: Kontonummer in :25:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual void HBCI::AbstractTrans::setOurBankCode const string &    code [pure virtual]
 

bank code of your institute (BLZ or S.W.I.F.T. code) -- MT940: BLZ in :25:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual void HBCI::AbstractTrans::setOurCountryCode int    i [pure virtual]
 

country code of your institute -- MT940: not in MT940

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual void HBCI::AbstractTrans::setOurSuffix const string &    id [pure virtual]
 

If your account has subaccounts which are distinguished by different suffixes, then this is that suffix. Otherwise it's empty. -- MT940: not in MT940

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual void HBCI::AbstractTrans::setTransactionCode int    c [pure virtual]
 

A 3 digit numerical transaction code, defined for all kinds of different HBCI actions. -- MT940: Geschaeftsvorfallcode, first field in field :86:

For a normal transfer you should set it to 51. For debit notes the values 05 or 06 may be used. For other values please refer to your credit institute.

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual void HBCI::AbstractTrans::setValue const Value   v [pure virtual]
 

The value of this transaction in the account's currency. -- MT940: Betrag in :61:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual int HBCI::AbstractTrans::transactionCode   const [pure virtual]
 

A 3 digit numerical transaction code, defined for all kinds of different HBCI actions. -- MT940: Geschaeftsvorfallcode, first field in field :86:

For a normal transfer you should set it to 51. For debit notes the values 05 or 06 may be used. For other values please refer to your credit institute.

Implemented in HBCI::StandingOrder, and HBCI::Transaction.

virtual const Value& HBCI::AbstractTrans::value   const [pure virtual]
 

The value of this transaction in the account's currency. -- MT940: Betrag in :61:

Implemented in HBCI::StandingOrder, and HBCI::Transaction.


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