In file /home/eternity/Source/Bank/PayManager/H/payManager.h:

class BankPayRec : public PayRecord

Bank Payment Record

Inheritance:

BankPayRec < PayRecord


Public Methods

BankPayRec::BankPayRec ()
Bank Payment Record constructor
Void BankPayRec::Clear ()
Clear data
Err BankPayRec::FetchFromRecord (Record *r)
Fetches from given record
Err BankPayRec::FillRecord (Record *r)
Fills given record
Char* BankPayRec::GetAmount ()
Get Amount
MsgField* BankPayRec::GetSealSAuth ()
Get SealSAuthentification
Int BankPayRec::MACEqualTo (MsgField *otherMAC)
MAC is equal to given MAC
Int BankPayRec::SAuthEqualTo (MsgField *otherSA)
SAuth is equal to given sAuth
Err BankPayRec::SetSAuth (MsgField *otherSA)
Set SAuthentification
BankPayRec::~BankPayRec ()
Bank Payment Record 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

Bank Payment Record. An auxiliary class for one Payment record in Bank. Later it should have attribute account, which will be represent a real 'noname account' information in bank, from which the bank will pay to Eso.
attributes

methods

BankPayRec::BankPayRec()
Bank Payment Record constructor. Bank Payment Record constructor initializes variables.
Author:
Ivana
See Also:
PayManager::StorePayments(), PayManager::AnswerFromEso()

Void BankPayRec::Clear()
Clear data. Clears data - including eCode.
Returns:
void
Author:
Ivana
See Also:
PayManager::StorePayments()

Err BankPayRec::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 BankPayRec::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* BankPayRec::GetAmount()
Get Amount. Returns our amount field in new string.
Returns:
copy of amount
Author:
Ivana
See Also:
PayManager::StorePayments(), PayManager::AnswerFromEso()

MsgField* BankPayRec::GetSealSAuth()
Get SealSAuthentification. Returns our sealSAuth field in new MsgField.
Returns:
copy of sealSAuth
Author:
Ivana
See Also:
PayManager::StorePayments()

Int BankPayRec::MACEqualTo(MsgField *otherMAC)
MAC is equal to given MAC. Finds wheather given mac is equal to this->mac.
Returns:
YES/NO
Parameters:
otherMAC - a mac that is compared to ours
Author:
Ivana
See Also:
PayManager::AnswerFromEso()

Int BankPayRec::SAuthEqualTo(MsgField *otherSA)
SAuth is equal to given sAuth. Finds wheather given sAuth is equal to this->sAuth.
Returns:
YES/NO
Parameters:
otherSA - an sAuth that is compared to ours
Author:
Ivana
See Also:
PayManager::AnswerFromEso()

Err BankPayRec::SetSAuth(MsgField *otherSA)
Set SAuthentification. Sets our sAuth to given one.
Returns:
error code
Parameters:
otherSA - sAuth for setting our data
Author:
Ivana
See Also:
PayManager::StorePayments()

BankPayRec::~BankPayRec()
Bank Payment Record destructor. Bank Payment Record destructor deletes variables.
Author:
Ivana
See Also:
PayManager::StorePayments(), PayManager::AnswerFromEso()


This class has no child classes.
Author:
Ivana see PayManager

alphabetic index hierarchy of classes


generated by doc++