Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_payment\local\entities\payable Class Reference

The payable class. More...

Public Member Functions

 __construct (float $amount, string $currency, int $accountid)
 
 get_account_id ()
 Get the id of the payment account the cost is payable to.
 
 get_amount ()
 Get the amount of the payable cost.
 
 get_currency ()
 Get the currency of the payable cost.
 

Detailed Description

The payable class.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ get_account_id()

core_payment\local\entities\payable::get_account_id ( )

Get the id of the payment account the cost is payable to.

Return values
int

◆ get_amount()

core_payment\local\entities\payable::get_amount ( )

Get the amount of the payable cost.

Return values
float

◆ get_currency()

core_payment\local\entities\payable::get_currency ( )

Get the currency of the payable cost.

Return values
string

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