Referència de la Interfície CesBankTransactionInterface

Transaction interface. Més...

Diagrama d'Herència per a CesBankTransactionInterface:
CesBankBasicTransaction CesBankDecoratedTransaction CesBankInterExchangeTransaction CesBankLevyedTransaction CesInteropCENIPTransaction CesInteropCENIPIncomingTransaction CesInteropCENIPOutgoingTransaction

Mètodes públics

 acceptByAccount ($account_id)
 Set that the account accepted this transaction. Més...
 
 apply ()
 Apply this transaction. Més...
 
 check ()
 Check this transaction. Més...
 
 getAmount (CesBankCurrency $currency=NULL)
 Get the amount of this transaction, in the seller's exchange currency. Més...
 
 getConcept ()
 Get the short description of this transaction. Més...
 
 getCreated ()
 Get the time the transaction was created. Més...
 
 getFromAccountName ()
 Get the name of the buyer account. Més...
 
 getId ()
 Get the identifier of this transaction. Més...
 
 getLog ($state)
 Get messages logged for this transaction. Més...
 
 getState ()
 Get the state of this transaction. Més...
 
 getToAccountName ()
 Get the name of the seller account. Més...
 
 getUser ()
 Get the user id that has created this transaction. Més...
 
 revoke ()
 Revoke this transaction. Més...
 
 trigger ()
 Trigger this transaction. Més...
 

Camps de Dades

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...
 

Descripció Detallada

Transaction interface.

Transactions: A transaction is an amount of money to be transferred from one account to another account. The basic transaction moves certanin quantity of money through two accounts within the same exchange. There are other kind of transactions moving currency between servers or third party applications. In each exchange there is an special account called 'virtual account'. This account acts as the foreign account for all inter-exchange transactions. It is also used to temporally save the money in delayed transactions.


La documentació d'aquesta interfície es va generar a partir del següent fitxer: