Zum Inhalt springen

API reference / Quittio \ Core \ Data \ Party

ElectronicAddress

final readonly class in quittio/core · uses Immutable

Quittio\Core\Data\Party\ElectronicAddress · Source

Electronic address (BT-34 seller, BT-49 buyer) with its EAS scheme. For Peppol, the electronic address is also the participant identifier.

Properties#

PropertyTypeDescription
$scheme readonlyElectronicAddressScheme|RawCode
$value readonlystring

Methods#

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

__construct()#

public function __construct(string $value, ElectronicAddressScheme|RawCode $scheme)
ParameterTypeDescription
$valuestring
$schemeElectronicAddressScheme|RawCode

of()#

public static function of(
    string $value,
    ElectronicAddressScheme|RawCode|string $scheme,
): self

static

ParameterTypeDescription
$valuestring
$schemeElectronicAddressScheme|RawCode|string
Returns
self

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.