In file /home/eternity/Source/Common/Payments/H/payRecord.h:

class PayRecord

Payment Record

Inheritance:

PayRecord


Public Methods

Void PayRecord::Clear ()
Clears data
Err PayRecord::FetchAndDeleteFromTable (Table *t, Char *whichId, ID value)
Fetches And Deletes Data From Table
Err PayRecord::FetchFromTable (Table *t, Char *whichId, ID value)
Fetches Data From Table
Err PayRecord::IsOK ()
Returns eCode
PayRecord::PayRecord ()
Payment Record constructor
Err PayRecord::UpdateTable (Table *t)
Updates a record in given table
Err PayRecord::WriteToTable (Table *t)
Writes a record to given table
PayRecord::~PayRecord ()
Payment Record destructor

Public

methods
PayRecord ()
constructor
virtual ~PayRecord ()
destructor

Protected

attributes

Documentation

Payment Record. An auxiliary abstract class for one payment record. Each descendant of this class must overwrite FetchFromRecord and FillRecord methods to be able to fetch record from or write record to a table. Ancestor of all payment record classes (in bank, client and eso).
attributes

methods

PayRecord()
constructor

virtual ~PayRecord()
destructor

Void PayRecord::Clear()
Clears data. Sets class variables to initial values (including eCode).
Returns:
void
Author:
Ivana
See Also:

Err PayRecord::FetchAndDeleteFromTable(Table *t, Char *whichId, ID value)
Fetches And Deletes Data From Table. Fetches and deletes data from given table which corresponds to given ID. If whichId is not specified (is NULL) returns first record.
Returns:
error code
Parameters:
t - table in which we will search
whichId - name of ID we want to search
value - value of ID
Author:
Ivana
See Also:

Err PayRecord::FetchFromTable(Table *t, Char *whichId, ID value)
Fetches Data From Table. Fetches data from given table which corresponds to given ID. If whichId is not specified (is NULL) returns first record.
Returns:
error code
Parameters:
t - table in which we will search
whichId - name of ID we want to search
value - value of ID
Author:
Ivana
See Also:

Err PayRecord::IsOK()
Returns eCode. Returns eCode - wheather the instance is consistent or not.
Returns:
eCode
Author:
Ivana
See Also:

PayRecord::PayRecord()
Payment Record constructor. Payment Record constructor initializes class variables.
Author:
Ivana
See Also:

Err PayRecord::UpdateTable(Table *t)
Updates a record in given table. Updates a record in given table.
Returns:
error code
Parameters:
t - table in which we will update
Author:
Ivana
See Also:

Err PayRecord::WriteToTable(Table *t)
Writes a record to given table. Writes a record to given table.
Returns:
error code
Parameters:
t - table into which we will write
Author:
Ivana
See Also:

PayRecord::~PayRecord()
Payment Record destructor. Payment Record destructor deletes class variables.
Author:
Ivana
See Also:


Direct child classes:
Payment
EsoPayPlanRec
ClientPayPlanRec
BankPayRec
Author:
Ivana
See Also:
Bank, Client, Eso

alphabetic index hierarchy of classes


generated by doc++