OSB_LIB::Transaction Class Reference

Collaboration diagram for OSB_LIB::Transaction:

Collaboration graph
[legend]
List of all members.

Detailed Description

Structure for each member of transaction list.

Definition at line 105 of file account.h.

Public Member Functions

Public Attributes

Private Attributes


Constructor & Destructor Documentation

OSB_LIB::Transaction::Transaction (  )  [inline]

Default constructor.

Definition at line 108 of file account.h.


Member Function Documentation

Account OSB_LIB::Transaction::account (  )  const [inline]

Access to account.

Definition at line 119 of file account.h.

References account_.

Money OSB_LIB::Transaction::getAmount (  )  const

get Amount from transaction

Returns:
amount (positive or negative)

void OSB_LIB::Transaction::setAccount ( const Account ac,
const Money m 
)

Set Account to transaction and decide whether it is debit or credit.

Parameters:
ac Account Structure
m Money to add


Member Data Documentation

Account OSB_LIB::Transaction::account_ [private]

Account Structure.

Definition at line 132 of file account.h.

Referenced by account().

Money OSB_LIB::Transaction::amount_ [private]

Amount.

Definition at line 134 of file account.h.

Date OSB_LIB::Transaction::date_

Transaction Date.

Definition at line 128 of file account.h.

std::string OSB_LIB::Transaction::detail_

Detail Description.

Definition at line 129 of file account.h.

std::string OSB_LIB::Transaction::folio_

Folio or Reference.

Definition at line 130 of file account.h.

Account::Side OSB_LIB::Transaction::side_ [private]

d -> Debit, c -> Credit

Definition at line 133 of file account.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:10:33 2006 for OSB Library by  doxygen 1.4.7