SerializedRelationAbstractCustomer
in package
implements
CustomerInterface
Class SerializedRelationAbstractCustomer
Tags
Table of Contents
Interfaces
- CustomerInterface
- Interface CustomerInterface
Properties
- $browserId : string
- $companies : array<string|int, CustomerContactCompany>
- $externalId : string
- $id : int
- $site : string
Methods
- withExternalId() : self
- Returns customer with provided external ID and site.
- withId() : self
- Returns customer with provided ID.
Properties
$browserId
public
string
$browserId
Tags
$companies
public
array<string|int, CustomerContactCompany>
$companies
Tags
$externalId
public
string
$externalId
Tags
$id
public
int
$id
Tags
$site
public
string
$site
Tags
Methods
withExternalId()
Returns customer with provided external ID and site.
public
static withExternalId(string $externalId, string $site) : self
Parameters
- $externalId : string
- $site : string
Return values
selfwithId()
Returns customer with provided ID.
public
static withId(int $id) : self
Parameters
- $id : int