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

class EsoPayPlanRec : public PayRecord

Eso Payment Plan Record

Inheritance:

EsoPayPlanRec < PayRecord


Public Methods

EsoPayPlanRec::EsoPayPlanRec (ID payId, TID tId, ESTime time, GMessage *bankAC, Char *amount, Size lenOfSA)
Eso Payment Plan Record Constructor
Err EsoPayPlanRec::FetchFromRecord (Record *)
Fetches from given record
Err EsoPayPlanRec::FillRecord (Record *r)
Fills given record
Err EsoPayPlanRec::GenerateSAuth (Size lengthOfSA)
Generate SAuthentification
Err EsoPayPlanRec::SealSAuth ()
Seals SAuthentification
EsoPayPlanRec::~EsoPayPlanRec ()
Eso Payment Plan Record destructor

Public

methods

Protected

attributes
methods

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

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

methods

methods

EsoPayPlanRec::EsoPayPlanRec(ID payId, TID tId, ESTime time, GMessage *bankAC, Char *amount, Size lenOfSA)
Eso Payment Plan Record Constructor. Eso Payment Plan Record Constructor sets class variables. Generates SAuthentification and 'seals' it.
Parameters:
payId - payment ID
tId - transaction ID
time - time of storrage
bankAC - bank access certificate
amount - amount of money
lenOfSA - length of SAuthentification
Author:
Ivana
See Also:
Banker::MakePayPlan()

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

Err EsoPayPlanRec::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

Err EsoPayPlanRec::GenerateSAuth(Size lengthOfSA)
Generate SAuthentification. Generates SAuthentification - a random string used as a secret key between Eso and Bank.
Returns:
error code
Parameters:
lengthOfSA - length of generated SAuth
Author:
Ivana
See Also:
EsoPayPlanRec()

Err EsoPayPlanRec::SealSAuth()
Seals SAuthentification. Encrypts SAuthentification with bank's public key.
Returns:
error code
Parameters:
void -
Author:
Ivana
See Also:
EsoPayPlanRec()

EsoPayPlanRec::~EsoPayPlanRec()
Eso Payment Plan Record destructor. Eso Payment Plan Record destructor deletes class variables.
Author:
Ivana
See Also:
Banker::MakePayPlan()


This class has no child classes.
Author:
Ivana
See Also:
Banker

alphabetic index hierarchy of classes


generated by doc++