You are here

class PaymentStatusItem in Payment 7

A payment status line item.

Hierarchy

Expanded class hierarchy of PaymentStatusItem

File

./payment.classes.inc, line 1154
The API and related functions for executing and managing payments.

View source
class PaymentStatusItem {

  /**
   * The status itself.
   *
   * @var string
   */
  public $status = '';

  /**
   * The Unix datetime this status was set.
   *
   * @var integer
   */
  public $created = 0;

  /**
   * The PID of the payment this status item belongs to.
   *
   * @var integer
   */
  public $pid = 0;

  /**
   * The unique internal ID of this payment status item.
   *
   * @var integer
   */
  public $psiid = 0;
  function __construct($status, $created = 0, $pid = 0, $psiid = 0) {
    $this->status = $status;
    $this->created = $created ? $created : time();
    $this->pid = $pid;
    $this->psiid = $psiid;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
PaymentStatusItem::$created public property The Unix datetime this status was set.
PaymentStatusItem::$pid public property The PID of the payment this status item belongs to.
PaymentStatusItem::$psiid public property The unique internal ID of this payment status item.
PaymentStatusItem::$status public property The status itself.
PaymentStatusItem::__construct function