Referencia de la Clase CesBankInterExchangeTransaction

This class extends the basic transaction features to allow transactions between distinct exchanges. Más...

Diagrama de herencias de CesBankInterExchangeTransaction
CesBankDecoratedTransaction IcesDBObject CesBankTransactionInterface

Métodos públicos

 acceptByAccount ($account_id)
 Implements CesBankTransactionInterface::acceptByAccount. Más...
 
 apply ()
 Implements apply(). Más...
 
 check ()
 Implements check(). Más...
 
 deleteExtraData ()
 Deletes the associated transaction. Más...
 
 getAmount (CesBankCurrency $currency=NULL)
 TODO: document. Más...
 
 getConcept ()
 TODO: document. Más...
 
 getCreated ()
 Implements CesBankTransactionInterface::getCreated(). Más...
 
 getFromAccountName ()
 The buyer account name. Más...
 
 getId ()
 TODO: document. Más...
 
 getLog ($state)
 Implements getLog(). Más...
 
 getParent ()
 TODO: document. Más...
 
 getRecord ()
 Return object record. Más...
 
 getState ()
 Implements getState(). Más...
 
 getToAccountName ()
 The seller account name. Más...
 
 getUser ()
 TODO: document. Más...
 
 log ($messages)
 TODO: document. Más...
 
 revoke ()
 Implements revoke(). Más...
 
 saveExtraData ()
 Save object data. Más...
 
 setState ($state)
 Set the state of this transction. Más...
 
 trigger ()
 Implements trigger(). Más...
 

Métodos públicos estáticos

static newCesBankInterExchangeTransaction ($record)
 Creates a transaction between two accounts from distinct exchanges. Más...
 

Campos de datos

 $pairid
 
 $side
 
const STATE_ACCEPTED = 2
 The transaction has been accepted by all authorities. Más...
 
const STATE_ARCHIVED = 4
 The transaction is archieved and successfully applied. Más...
 
const STATE_COMMITTED = 3
 The transaction has been successfully applied. Más...
 
const STATE_DISCARDED = 6
 The transaction is discarded and has not been applied. Más...
 
const STATE_ERROR = 11
 There has been a system error with this transaction. Más...
 
const STATE_NEW = 0
 The transaction has been created but hasn't already been triggered to apply. Más...
 
const STATE_REJECTED = 5
 The transaction -triggered to apply- has been rejected by some of the authorities. Más...
 
const STATE_REVOKE_ACCEPTED = 8
 The revoke operation has been accepted by all authorities. Más...
 
const STATE_REVOKE_REJECTED = 9
 Some authorities rejected the revoke operation, so the transaction will remain applied. Más...
 
const STATE_REVOKE_TRIGGERED = 7
 The transaction has been triggered to be revoked. Más...
 
const STATE_REVOKED = 10
 The transaction has been successfully revoked. Más...
 
const STATE_TRIGGERED = 1
 The transaction has been triggered to be applied. Más...
 

Atributos públicos estáticos

static $FROM = 0
 
static $table = 'ces_transaction'
 
static $TO = 1
 

Métodos protegidos

 getPair ()
 The associated transaction. Más...
 
 getSimpleRecord ()
 Object simple record. Más...
 
 getVirtualTransactionFrom ()
 The virtual transaction in buyer's exchange. Más...
 
 getVirtualTransactionTo ()
 The virtual transaction in seller's exchange. Más...
 
 loadRecord ($record)
 Loads a database record to this object. Más...
 

Atributos protegidos

 $parent
 

Descripción detallada

This class extends the basic transaction features to allow transactions between distinct exchanges.

The amount of this transaction has always to be understood in the seller's exchange currency.


La documentación para esta clase fue generada a partir del siguiente fichero: