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

class ClientPayPlanRec : public PayRecord

Client Payment Plan Record

Inheritance:

ClientPayPlanRec < PayRecord


Public Methods

Void ClientPayPlanRec::Clear ()
Clear data
ClientPayPlanRec::ClientPayPlanRec ()
Client Paymen Plan Record constructor
Err ClientPayPlanRec::FetchFromRecord (Record *r)
Fetches from given record
Err ClientPayPlanRec::FillRecord (Record *r)
Fills given record
MsgField* ClientPayPlanRec::GenerateOAuth (Size lengthOfAuth)
Generate OAuthentification
Char* ClientPayPlanRec::GetAmount ()
Get Amount
GMessage* ClientPayPlanRec::GetBankAC ()
Get bank's access certificate
ACID ClientPayPlanRec::GetBankACID ()
Get bank's access certificate ID
Err ClientPayPlanRec::SetMAC (MsgField *mac)
Set MAC
Void ClientPayPlanRec::SetTID (TID tId)
Set transaction ID
ClientPayPlanRec::~ClientPayPlanRec ()
Client Paymen Plan 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

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

methods

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

ClientPayPlanRec::ClientPayPlanRec()
Client Paymen Plan Record constructor. Client Paymen Plan Record constructor initializes variables.
Author:
Ivana
See Also:
Banker::StorePayPlan()

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

MsgField* ClientPayPlanRec::GenerateOAuth(Size lengthOfAuth)
Generate OAuthentification . Generates OAuthentification - a random string used as a secret key between Client and Bank.
Returns:
generated oAuth
Parameters:
lengthOfAuth - length of generated OAuth
Author:
Ivana
See Also:
Banker::StorePayPlan()

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

GMessage* ClientPayPlanRec::GetBankAC()
Get bank's access certificate. Returns bank's access certificate field in new gMessage.
Returns:
copy of bankAC
Author:
Ivana
See Also:

ACID ClientPayPlanRec::GetBankACID()
Get bank's access certificate ID. Returns bank's access certificate ID field.
Returns:
bankACID
Author:
Ivana
See Also:

Err ClientPayPlanRec::SetMAC(MsgField *mac)
Set MAC. Sets our MAC to given one.
Returns:
error code
Parameters:
mac - new mac for setting our data
Author:
Ivana
See Also:
Banker::StorePayPlan()

Void ClientPayPlanRec::SetTID(TID tId)
Set transaction ID. Sets transaction ID to given TID
Returns:
void
Parameters:
tId - given transaction ID
Author:
Ivana
See Also:
Banker::StorePayPlan()

ClientPayPlanRec::~ClientPayPlanRec()
Client Paymen Plan Record destructor. Client Paymen Plan Record destructor deletes variables.
Author:
Ivana
See Also:
Banker::StorePayPlan()


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

alphabetic index hierarchy of classes


generated by doc++