Handles all functionality regarding user's payment methods, including
adding new payments methods, determining the payment method submitted from
a form, obtaining payment method info from the database, and more.
Get id# of the payment method.
The iD# of the payment method.
Adds a new payment method from the POSTed database into the 'users_payment'
The I# of the new payment method
Get payment ID from form.
Goes through the HTML form fields, and returns the ID# of the payment
method being used, and creates a new payment method if necessary.
The ID# of the user's payment method to use.
create_user_options(integer $userid,string $method)
Create user payment options
The ID# of the user to create payment options for.
The method (deposit or withdraw) to create payment options for
create_method_options(string $method): string
Get method options
The method (deposit / withdraw) to generate options for
The resulting HTML options
Load a payment method
Details of the payment method.
Whether or not the payment method is active.
Whether or not this is the default payment method on the user's account.
The id# of the user who owns the payment method.
The method of the payment method, will be either 'deposit' or 'withdraw'.
The Id# of the payment method as created by the administrator.
Get total txs
The total number of transactions processed against this payment method.
The total amount processed against this payment method in base currency.
Get the date_created
The timestamp the payment method was created.
The label of the payment method.
Get method object
The payment method, apex\transaction\payment_method class.
The payment processor controller object.