RetailCRM API Client

SerializedRelationCustomer extends SerializedRelationAbstractCustomer

Class SerializedRelationCustomer

Tags
category

SerializedRelationCustomer

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

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
self

withExternalIdAndType()

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
self

withIdAndType()

Returns customer with provided ID and type.

public static withIdAndType(int $id, string $type) : self
Parameters
$id : int
$type : string
Return values
self

        
On this page

Search results