You are here

function PaymentStatusItem::__construct in Payment 7

File

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

Class

PaymentStatusItem
A payment status line item.

Code

function __construct($status, $created = 0, $pid = 0, $psiid = 0) {
  $this->status = $status;
  $this->created = $created ? $created : time();
  $this->pid = $pid;
  $this->psiid = $psiid;
}