Zum Inhalt springen

API reference / Quittio \ Core \ Data \ Extensions

ExtendedParty

final readonly class in quittio/core · uses Immutable

Quittio\Core\Data\Extensions\ExtendedParty · Source

Additional trade party of profile EXTENDED (invoicer, invoicee, ultimate customer, ship-from, line ship-to).

Properties#

PropertyTypeDescription
$address readonly?Address
$contact readonly?Contact
$identifiers readonlylist<Identifier>
$name readonlystring
$vatId readonly?string

Methods#

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

__construct()#

public function __construct(
    string $name,
    ?Address $address = null,
    list<Identifier> $identifiers = [],
    ?string $vatId = null,
    ?Contact $contact = null,
)
ParameterTypeDescription
$namestring
$address?Address = null
$identifierslist<Identifier> = []
$vatId?string = null
$contact?Contact = 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.