function pay_activity::pay_method in Pay 7
Same name and namespace in other branches
- 6 includes/handlers/pay_activity.inc \pay_activity::pay_method()
Return the payment method related to this activity.
1 call to pay_activity::pay_method()
- pay_activity::do_activity in includes/
handlers/ pay_activity.inc - Effect a payment action using the currently-selected payment method.
File
- includes/
handlers/ pay_activity.inc, line 109 - A base class for payment activities.
Class
- pay_activity
- @file A base class for payment activities.
Code
function pay_method() {
if (!isset($this->pay_method)) {
$this->pay_method = pay_method_load($this->pmid);
}
return $this->pay_method;
}