API reference / Quittio \ Core \ Data \ Party
TaxRepresentativeParty
final readonly class in quittio/core · uses Immutable
Quittio\Core\Data\Party\TaxRepresentativeParty · Source
Seller tax representative (BG-11).
Properties#
| Property | Type | Description |
|---|---|---|
$address readonly | Address | |
$name readonly | string | |
$vatId readonly | string |
Methods#
| Method | Description |
|---|---|
->__construct() | |
->with() | Returns a copy with the given properties replaced. |
__construct()#
public function __construct(string $name, string $vatId, Address $address)| Parameter | Type | Description |
|---|---|---|
$name | string | |
$vatId | string | |
$address | Address |
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