\apex\transaction\controller\transactiontransfer_out

Transfer out transaction controller

Summary

Methods
Properties
Constants
get_amount()
get_name()
$name
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name :

Type

Methods

get_amount()

get_amount(object  $trans)

Get amount

Get the amount of the transaction. Can be used to either, retrieve amount from the database, add / subtract fees, change the inputted amount as needed, etc. To change the amount, just modify the parent::$amount variable directly.

Parameters

object $trans

The transaction object.

get_name()

get_name(array  $row): string

Get name

Parameters

array $row

The row from 'transaction' table.

Returns

string —

The name of the transaction.