CesBankLocalAccount Class Reference

CesBankLocalAccount is a banking account. More...

Inheritance diagram for CesBankLocalAccount:
IcesDBObject CesBankAccountInterface

Public Member Functions

 activate ()
 Changes local account state to active. More...
 applyTransaction (CesBankTransactionInterface &$transaction)
 Updates this account's amount with this transaction if accepted. More...
 checkTransaction (CesBankTransactionInterface &$transaction)
 Verifies if an account can accept a transaction by being active. More...
 deleteExtraData ()
 Delete extra data. More...
 deleteUserAccount ($id)
 Delete user account. More...
 getCode ()
 TODO: document. More...
 getExchange ()
 Get the Exchange of this account. More...
 getLimitChain ()
 Gets limit chain. More...
 getName ()
 Gets name of account holder. More...
 getParent ()
 The parent object for those objects using the decorator pattern. More...
 getRecord ()
 GetRecord loads getRecord function from the parent IcesDBObject. More...
getUsers ()
 TODO: document. More...
 loadRecord ($record)
 LoadRecord loads loadRecord function from the parent IcesDBObject. More...
 manualCheck ($transaction)
 Check whether the transaction must be accepted by this account. More...
 saveExtraData ()
 Saves extra data. More...

Data Fields

 $data = array()
const STATE_ACTIVE = 1
const STATE_CLOSED = 3
const STATE_HIDDEN = 0
const STATE_LOCKED = 2
const TYPE_COMPANY = 3
const TYPE_PUBLIC = 4
const TYPE_SHARED = 1
const TYPE_VIRTUAL = 5

Static Public Attributes

static $table = 'ces_account'

Protected Member Functions

 getSimpleRecord ()
 Object simple record. More...

Protected Attributes


Detailed Description

CesBankLocalAccount is a banking account.

Implements CesBankAccountInterface.

The documentation for this class was generated from the following file: