API reference / Quittio \ Core \ Data \ Party
PayeeParty
final readonly class in quittio/core · uses Immutable
Quittio\Core\Data\Party\PayeeParty · Source
Payee (BG-10), only when different from the seller (factoring, collection, group company).
Properties#
| Property | Type | Description |
|---|---|---|
$identifier readonly | ?Identifier | |
$legalRegistration readonly | ?Identifier | |
$name readonly | string |
Methods#
| Method | Description |
|---|---|
->__construct() | |
->with() | Returns a copy with the given properties replaced. |
__construct()#
public function __construct(
string $name,
?Identifier $identifier = null,
?Identifier $legalRegistration = null,
)| Parameter | Type | Description |
|---|---|---|
$name | string | |
$identifier | ?Identifier = null | |
$legalRegistration | ?Identifier = null |
with()#
public function with(array<string, mixed> $changes): staticReturns a copy with the given properties replaced.
| Parameter | Type | Description |
|---|---|---|
$changes | array<string, mixed> |
- Returns
static