Zum Inhalt springen

API reference / Quittio \ Core \ Data \ Extensions

ThirdPartyPayment

final readonly class in quittio/core · uses Immutable

Quittio\Core\Data\Extensions\ThirdPartyPayment · Source

Amount collected on behalf of a third party (XRechnung extension, group BG-DEX-09). It is added to the amount due (BR-DEX-09).

Properties#

PropertyTypeDescription
$amount readonlyBrick\Money\Money
$description readonlystring
$type readonlystring

Methods#

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

__construct()#

public function __construct(string $type, Money $amount, string $description)
ParameterTypeDescription
$typestring
$amountBrick\Money\Money
$descriptionstring

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.