interface TransactionInterface (View source)

Transaction Refers to a payable entity (Ex: invoice in invoicing system) that have a given reference to identify it. Transaction usually have a countable value, a weight (Ex: Currency in invoicing system), the date and time at which the transaction was created and the status of the transaction

Methods

string|int
getReference()

Returns unique identifying value of the transaction on all platform

string|int
getId()

Returns the transaction id on the payment payment platform

string|int
getValue()

Returns the actual value of the transaction. Usually in case of payment commands, transaction value is the currency based amount of the payment

string
getWeight()

Return the weight of the transaction. For currency based transactions, this can be XOF, 'USD', 'EUR', etc...

Note Weight will impact during transaction value from conversion

createdAt()

Date Time representation of the transaction create time

bool
isProcessed()

Returns true if the transaction is processed and false if not

mixed
isPending()

Returns true is the transaction is still in pending state

Details

string|int getReference()

Returns unique identifying value of the transaction on all platform

Return Value

string|int

string|int getId()

Returns the transaction id on the payment payment platform

Return Value

string|int

string|int getValue()

Returns the actual value of the transaction. Usually in case of payment commands, transaction value is the currency based amount of the payment

Return Value

string|int

string getWeight()

Return the weight of the transaction. For currency based transactions, this can be XOF, 'USD', 'EUR', etc...

Note Weight will impact during transaction value from conversion

Return Value

string

DateTimeInterface createdAt()

Date Time representation of the transaction create time

Return Value

DateTimeInterface

bool isProcessed()

Returns true if the transaction is processed and false if not

Return Value

bool

mixed isPending()

Returns true is the transaction is still in pending state

Return Value

mixed