Identity
in package
Users are uniquely identified by their email across all of FreshBooks, so if `leafy@example.com` is an Owner of one account and gets added as a Client on another, they will have some access to both. They could then open a second business of their own, or be added as an employee of another person’s business.
Tags
Table of Contents
Properties
- $businessMemberships : array<string|int, mixed>|null
- $confirmedAt : DateTimeImmutable|null
- $createdAt : DateTimeImmutable|null
- $email : string|null
- $firstName : string|null
- $identityId : int|null
- $identityUUID : string|null
- $language : string|null
- $lastName : string|null
Methods
- __construct() : mixed
Properties
$businessMemberships
public
array<string|int, mixed>|null
$businessMemberships
= null
$confirmedAt
public
DateTimeImmutable|null
$confirmedAt
Date the identity confirmed their email.
$createdAt
public
DateTimeImmutable|null
$createdAt
Date the identity was created.
public
string|null
$email
The identity's email.
$firstName
public
string|null
$firstName
The identity's first name.
$identityId
public
int|null
$identityId
The identity's unique id.
$identityUUID
public
string|null
$identityUUID
UUID of the identity.
FreshBooks will be moving from id to identity_uuid in future API calls.
$language
public
string|null
$language
The language used by the identity in FreshBooks.
$lastName
public
string|null
$lastName
The identity's last name.
Methods
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
- $data : array<string|int, mixed> = []