You are here

function pay_activity::pay_transaction in Pay 6

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

Return the transaction related to this activity.

Overrides pay::pay_transaction

File

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

Class

pay_activity
@file A base class for payment activities.

Code

function pay_transaction() {
  if (!isset($this->pay_transaction)) {
    $this->pay_transaction = pay_transaction_load($this->pxid);
  }
  return $this->pay_transaction;
}