DunningLaw
in package
Read onlyYes
FinalYes
Statutory late payment rules (EU late payment directive plus national law).
Amounts and percentage points are decimal strings.
Informational metadata for applications and the pack's own helpers: the core does not apply it. Reminders take their fees and default interest explicitly (DocumentBuilder::fee(), interest() with a rate and a day count basis, e.g. $dayCount from here).
Table of Contents
Properties
- $b2bFlatRate : string|null
- $b2bInterestPoints : string
- $b2cInterestPoints : string
- $consumerDefaultAfterDays : int|null
- $dayCount : int
- $referenceRateName : string|null
Methods
- __construct() : mixed
Properties
$b2bFlatRate
public
string|null
$b2bFlatRate
= '40.00'
$b2bInterestPoints
public
string
$b2bInterestPoints
= '8.00'
$b2cInterestPoints
public
string
$b2cInterestPoints
= '0.00'
$consumerDefaultAfterDays
public
int|null
$consumerDefaultAfterDays
= null
$dayCount
public
int
$dayCount
= 365
$referenceRateName
public
string|null
$referenceRateName
= null
Methods
__construct()
public
__construct([string $b2bInterestPoints = '8.00' ][, string $b2cInterestPoints = '0.00' ][, string|null $b2bFlatRate = '40.00' ][, int $dayCount = 365 ][, int|null $consumerDefaultAfterDays = null ][, string|null $referenceRateName = null ]) : mixed
Parameters
- $b2bInterestPoints : string = '8.00'
- $b2cInterestPoints : string = '0.00'
- $b2bFlatRate : string|null = '40.00'
- $dayCount : int = 365
- $consumerDefaultAfterDays : int|null = null
-
days after due date and receipt after which a consumer is in default without a reminder, if the invoice points this out (e.g. section 286 (3) BGB); null = no such rule
- $referenceRateName : string|null = null