You are here

function pay_activity::set_pay_method in Pay 7

Same name and namespace in other branches
  1. 6 includes/handlers/pay_activity.inc \pay_activity::set_pay_method()

File

includes/handlers/pay_activity.inc, line 26
A base class for payment activities.

Class

pay_activity
@file A base class for payment activities.

Code

function set_pay_method($pay_method) {
  $this->pay_method = $pay_method;
  $this->pmid = $pay_method->pmid;
  $this->payment_type = $this
    ->pay_method()->payment_type;
}