class PaymentStatusItem in Payment 7
A payment status line item.
Hierarchy
- class \PaymentStatusItem
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PaymentStatusItem:: |
public | property | The Unix datetime this status was set. | |
PaymentStatusItem:: |
public | property | The PID of the payment this status item belongs to. | |
PaymentStatusItem:: |
public | property | The unique internal ID of this payment status item. | |
PaymentStatusItem:: |
public | property | The status itself. | |
PaymentStatusItem:: |
function |