In file /home/eternity/Source/Eso/Banker/H/banker.h:

class Payment : public PayRecord

Payment

Inheritance:

Payment < PayRecord


Public Methods

Void Payment::Clear ()
Clear data
Err Payment::FetchFromRecord (Record *r)
Fetches from given record
Err Payment::FillRecord (Record *r)
Fills given record
Char* Payment::GetAmount ()
Get Amount
ID Payment::GetID (Char *whichId)
Returns requested ID
ESTime Payment::GetTime ()
Returns time field
Payment::Payment ()
Payment constructor
Err Payment::SetID (Char *whichId, ID value)
Sets given ID
Payment::~Payment ()
Payment destructor

Public

methods

Protected

attributes

Inherited from PayRecord:

Public Methods

Void PayRecord::Clear()
Err PayRecord::FetchAndDeleteFromTable(Table *t, Char *whichId, ID value)
Err PayRecord::FetchFromTable(Table *t, Char *whichId, ID value)
Err PayRecord::IsOK()
PayRecord::PayRecord()
Err PayRecord::UpdateTable(Table *t)
Err PayRecord::WriteToTable(Table *t)
PayRecord::~PayRecord()

Documentation

Payment. An auxiliary class for one Payment record in Eso.
attributes

methods

Void Payment::Clear()
Clear data. Clears data - including eCode.
Returns:
void
Author:
Ivana
See Also:
Banker::SchedulePays()

Err Payment::FetchFromRecord(Record *r)
Fetches from given record. Fetches data from given record. A virtual method, that should be overwritten, to be able to read from table.
Returns:
error code
Parameters:
r - record from which we take data
Author:
Ivana
See Also:
PayRecord

Err Payment::FillRecord(Record *r)
Fills given record. Fills given record with data. A virtual method, that should be overwritten, to be able to write to or update table.
Returns:
error code
Parameters:
r - record into which we store data
Author:
Ivana
See Also:
PayRecord

Char* Payment::GetAmount()
Get Amount. Returns our amount field in new string.
Returns:
copy of amount
Author:
Ivana
See Also:
Banker::SchedulePays()

ID Payment::GetID(Char *whichId)
Returns requested ID. Returns 'whichId' ID value or BAD_ID.
Parameters:
whichId - name of ID we want to get
Author:
Ivana
See Also:
Banker::SchedulePays()

ESTime Payment::GetTime()
Returns time field. Returns value of time field.
Author:
Ivana
See Also:
Banker::SchedulePays()

Payment::Payment()
Payment constructor. Payment constructor initializes class variables.
Author:
Ivana
See Also:
Banker::SchedulePays()

Err Payment::SetID(Char *whichId, ID value)
Sets given ID. Sets 'whichId' ID value.
Returns:
error code
Parameters:
whichId - name of ID we want to set
Author:
Ivana
See Also:
Banker::SchedulePays()

Payment::~Payment()
Payment destructor. Payment destructor deletes class variables.
Author:
Ivana
See Also:
Banker::SchedulePays()


Direct child classes:
CurrPay
Author:
Ivana
See Also:

alphabetic index hierarchy of classes


generated by doc++