Installment
in package
uses
Immutable
Read onlyYes
FinalYes
One of several payment terms with its own due date (profile EXTENDED), e.g. instalments.
Table of Contents
Properties
- $amount : Money|null
- $description : string|null
- $dueDate : Date
Methods
- __construct() : mixed
- with() : static
- Returns a copy with the given properties replaced.
Properties
$amount
public
Money|null
$amount
= null
$description
public
string|null
$description
= null
$dueDate
public
Date
$dueDate
Methods
__construct()
public
__construct(Date $dueDate[, Money|null $amount = null ][, string|null $description = null ]) : mixed
Parameters
- $dueDate : Date
- $amount : Money|null = null
- $description : string|null = null
with()
Returns a copy with the given properties replaced.
public
with(array<string, mixed> $changes) : static
Parameters
- $changes : array<string, mixed>