OpenItem
in package
Read onlyYes
FinalYes
An invoice in a payment reminder or account statement.
Table of Contents
Properties
- $amount : Money
- $description : string|null
- $dueDate : Date|null
- $invoiceDate : Date
- $invoiceNumber : string
- $paid : Money|null
Methods
- __construct() : mixed
- isSettled() : bool
- open() : Money
- Amount still open (amount minus paid); negative for overpaid items and credits.
Properties
$amount
public
Money
$amount
$description
public
string|null
$description
= null
$dueDate
public
Date|null
$dueDate
= null
$invoiceDate
public
Date
$invoiceDate
$invoiceNumber
public
string
$invoiceNumber
$paid
public
Money|null
$paid
= null
Methods
__construct()
public
__construct(string $invoiceNumber, Date $invoiceDate, Money $amount[, Date|null $dueDate = null ][, Money|null $paid = null ][, string|null $description = null ]) : mixed
Parameters
isSettled()
public
isSettled() : bool
Return values
boolopen()
Amount still open (amount minus paid); negative for overpaid items and credits.
public
open() : Money