AddressTypeLink
extends BaseComponent
in package
AddressTypeLink Model
Table of Contents
Properties
- $primary : bool
- $shared : bool
- $shared_relationship : string|null
- $shared_user : string|null
- $type : string|null
- $type_id : int|null
- $user_id : int|null
- $fields : array<string|int, string>
Properties
$primary
public
bool
$primary
Returns true if the address is primary
$shared
public
bool
$shared
Returns true if changes to an address are made to all users with a shared relationship (Read Only)
$shared_relationship
public
string|null
$shared_relationship
The relationship of the shared user
$shared_user
public
string|null
$shared_user
The name of the shared user
$type
public
string|null
$type
The name of the address type
$type_id
public
int|null
$type_id
The ID of the type
$user_id
public
int|null
$user_id
The ID of the user
$fields
protected
static array<string|int, string>
$fields
= ["type_id" => "int", "primary" => "bool", "shared" => "bool", "shared_relationship" => "string", "shared_user" => "string", "type" => "string", "user_id" => "int"]