SerializedRelationCustomer
extends SerializedRelationAbstractCustomer
in package
Class SerializedRelationCustomer
Tags
Table of Contents
Properties
- $browserId : string
- $companies : array<string|int, CustomerContactCompany>
- $externalId : string
- $id : int
- $nickName : string
- $site : string
- $type : string
Methods
- withExternalId() : self
- Returns customer with provided external ID and site.
- withExternalIdAndType() : self
- Returns customer with provided external ID, site and type.
- withId() : self
- Returns customer with provided ID.
- withIdAndType() : self
- Returns customer with provided ID and type.
Properties
$browserId
public
string
$browserId
Tags
$companies
public
array<string|int, CustomerContactCompany>
$companies
Tags
$externalId
public
string
$externalId
Tags
$id
public
int
$id
Tags
$nickName
public
string
$nickName
Tags
$site
public
string
$site
Tags
$type
public
string
$type
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
selfwithExternalIdAndType()
Returns customer with provided external ID, site and type.
public
static withExternalIdAndType(string $externalId, string $type, string $site) : self
Parameters
- $externalId : string
- $type : string
- $site : string
Return values
selfwithId()
Returns customer with provided ID.
public
static withId(int $id) : self
Parameters
- $id : int
Return values
selfwithIdAndType()
Returns customer with provided ID and type.
public
static withIdAndType(int $id, string $type) : self
Parameters
- $id : int
- $type : string