Zum Inhalt springen

API reference / Quittio \ Core \ Data \ Payment

PenaltyTerms

final readonly class in quittio/core · uses Immutable

Quittio\Core\Data\Payment\PenaltyTerms · Source

Late payment terms. Structured only in profile EXTENDED, otherwise rendered as text.

Properties#

PropertyTypeDescription
$days readonly?int
$percent readonly?Brick\Math\BigDecimal
$text readonly?string

Methods#

MethodDescription
->__construct()
->with()Returns a copy with the given properties replaced.

__construct()#

public function __construct(
    ?int $days = null,
    ?BigDecimal $percent = null,
    ?string $text = null,
)
ParameterTypeDescription
$days?int = null
$percent?Brick\Math\BigDecimal = null
$text?string = null

with()#

public function with(array<string, mixed> $changes): static

Returns a copy with the given properties replaced.

ParameterTypeDescription
$changesarray<string, mixed>
Returns
static

Die Open-Core-Pakete stehen unter der MIT-Lizenz. Die rechtlichen Formulierungen der Länderpakete sind mit einer Steuerberatung abzustimmen.