Properties

$method_id

$method_id : 

Type

$is_active

$is_active : 

Type

$total_users

$total_users : 

Type

$method

$method : 

Type

$controller

$controller : 

Type

$controller_alias

$controller_alias : 

Type

$min_amount

$min_amount : 

Type

$max_amount

$max_amount : 

Type

$fee_percent

$fee_percent : 

Type

$processing_time

$processing_time : 

Type

$name

$name : 

Type

$instructions

$instructions : 

Type

$instruction_vars

$instruction_vars : 

Type

$account_info

$account_info : 

Type

Methods

__construct()

__construct(\apex\transaction\int  $id) 

Constructor

Parameters

\apex\transaction\int $id

load()

load() 

Load the payment method.

get_is_active()

get_is_active() : boolean

Get is_active

Returns

boolean —

Whether or not the payment method is active.

get_total_users()

get_total_users() : integer

Get total users

Returns

integer —

The total number of users assigned this payment method.

get_method()

get_method() : string

Get method

Returns

string —

The method of the payment method, either 'deposit' or 'withdraw'.

get_controller_alias()

get_controller_alias() : string

Get controller alias

Returns

string —

The alias of the controller for this payment method.

get_controller()

get_controller() : object

Get the controller

Returns

object —

The controller object for this payment method / processor.

get_min_max()

get_min_max() : array<mixed,float>

Get min / max amounts.

Returns

array<mixed,float> —

The main and max amounts for this payment method.

get_fee_percent()

get_fee_percent() : float

Get the fee percent.

Returns

float —

The fee percent.

get_processing_time()

get_processing_time() : string

Get processing time.

Returns

string —

The processing time of the payment method.

get_name()

get_name() : string

Get name

Returns

string —

The name of the payment method.

get_instructions()

get_instructions() : string

Get instructions

Returns

string —

The instructions of the payment method.