Zum Inhalt springen

API reference / Quittio \ Core \ Data \ Party

Contact

final readonly class in quittio/core · uses Immutable

Quittio\Core\Data\Party\Contact · Source

Contact (BG-6 seller: BT-41/42/43, BG-9 buyer: BT-56/57/58).

Properties#

PropertyTypeDescription
$email readonly?string
$name readonly?string
$phone readonly?string

Methods#

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

__construct()#

public function __construct(
    ?string $name = null,
    ?string $phone = null,
    ?string $email = null,
)
ParameterTypeDescription
$name?string = null
$phone?string = null
$email?string = 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.