ThirdPartyPayment
in package
uses
Immutable
Read onlyYes
FinalYes
Amount collected on behalf of a third party (XRechnung extension, group BG-DEX-09).
It is added to the amount due (BR-DEX-09).
Table of Contents
Properties
- $amount : Money
- $description : string
- $type : string
Methods
- __construct() : mixed
- with() : static
- Returns a copy with the given properties replaced.
Properties
$amount
public
Money
$amount
$description
public
string
$description
$type
public
string
$type
Methods
__construct()
public
__construct(string $type, Money $amount, string $description) : mixed
Parameters
- $type : string
- $amount : Money
- $description : string
with()
Returns a copy with the given properties replaced.
public
with(array<string, mixed> $changes) : static
Parameters
- $changes : array<string, mixed>