Skip to content

API reference / Quittio \ Core \ Data \ Party

SellerParty

final readonly class in quittio/core · uses Immutable

Quittio\Core\Data\Party\SellerParty · Source

Seller (BG-4).

Properties#

PropertyTypeDescription
$additionalLegalInfo readonly?string
$address readonlyAddress
$contact readonly?Contact
$electronicAddress readonly?ElectronicAddress
$identifiers readonlylist<Identifier>
$legalRegistration readonly?Identifier
$name readonlystring
$taxNumber readonly?string
$tradingName readonly?string
$vatId readonly?string

Methods#

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

__construct()#

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

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.