final |
|---|
readonly |
One partner in partners.json — an organisation, a department or a person — with its relationships to other
partners. Loaded at a tenant's birth; afterwards partners change in the Partners app.
{ "ext_ref": "EVA", "type": "Person", "name": "Eva Huber", "first_name": "Eva", "email": "[email protected]",
"relationships": [ { "type": "employed_by", "to": "ACME", "primary": true } ] }
| Methods | ||
|---|---|---|
public
|
__construct(
string $ext_ref,
PartnerType $type,
string $name,
?string $first_name = null,
?string $search_term = null,
?string $email = null,
?string $phone = null,
?string $mobile = null,
?string $vat_number = null,
?string $registered_office = null,
?string $foundation_date = null,
?Gender $gender = null,
?string $birthdate = null,
?string $language_code = null,
list<PartnerRelationshipRecord> $relationships = [],
)
|
# |
public
static
|
rules(): array<string, list<string>>
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$ext_ref
|
# |
public
|
PartnerType
|
$type
|
# |
public
|
string
|
$name
|
# |
public
|
?string
|
$first_name
|
# |
public
|
?string
|
$search_term
|
# |
public
|
?string
|
$email
|
# |
public
|
?string
|
$phone
|
# |
public
|
?string
|
$mobile
|
# |
public
|
?string
|
$vat_number
|
# |
public
|
?string
|
$registered_office
|
# |
public
|
?string
|
$foundation_date
|
# |
public
|
?Gender
|
$gender
|
# |
public
|
?string
|
$birthdate
|
# |
public
|
?string
|
$language_code
|
# |
public
|
list<PartnerRelationshipRecord>
|
$relationships
|
# |