Contact
in package
uses
Immutable
Read onlyYes
FinalYes
Contact (BG-6 seller: BT-41/42/43, BG-9 buyer: BT-56/57/58).
Table of Contents
Properties
Methods
- __construct() : mixed
- with() : static
- Returns a copy with the given properties replaced.
Properties
public
string|null
$email
= null
Attributes
- #[Bt]
- 'BT-43'
- #[Cardinality]
- '0..1'
- #[Cii]
- 'ram:EmailURIUniversalCommunication/ram:URIID'
- #[Ubl]
- 'cbc:ElectronicMail'
$name
public
string|null
$name
= null
Attributes
- #[Bt]
- 'BT-41'
- #[Cardinality]
- '0..1'
- #[Cii]
- 'ram:PersonName'
- #[Ubl]
- 'cbc:Name'
$phone
public
string|null
$phone
= null
Attributes
- #[Bt]
- 'BT-42'
- #[Cardinality]
- '0..1'
- #[Cii]
- 'ram:TelephoneUniversalCommunication/ram:CompleteNumber'
- #[Ubl]
- 'cbc:Telephone'
Methods
__construct()
public
__construct([string|null $name = null ][, string|null $phone = null ][, string|null $email = null ]) : mixed
Parameters
- $name : string|null = null
- $phone : string|null = null
- $email : string|null = null
with()
Returns a copy with the given properties replaced.
public
with(array<string, mixed> $changes) : static
Parameters
- $changes : array<string, mixed>