\apex\transaction\workerpayment

Summary

Methods
Properties
Constants
add_method()
create_user_options()
load_method()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

add_method()

add_method(\apex\transaction\worker\EventMessageInterface  $msg): integer

Add a payment method to a user's account in the 'users_payment' table.

Parameters

\apex\transaction\worker\EventMessageInterface $msg

The message that was dispatched.

Returns

integer —

The ID# of the new payment method

create_user_options()

create_user_options(\apex\transaction\worker\EventMessageInterface  $msg)

Create list of select list options of payment methods on a given user's account.

Parameters

\apex\transaction\worker\EventMessageInterface $msg

The message that was dispatched.

load_method()

load_method(\apex\transaction\worker\EventMessageInterface  $msg)

Load a payment method

Parameters

\apex\transaction\worker\EventMessageInterface $msg

The message that was dispatched.