commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Common
ClientLogging.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Common
;
10
11
use
Commercetools\Api\Models\Customer\CustomerReference
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ClientLogging
extends
JsonObject
16
{
17
public
const
FIELD_CLIENT_ID
=
'clientId'
;
18
public
const
FIELD_EXTERNAL_USER_ID
=
'externalUserId'
;
19
public
const
FIELD_CUSTOMER
=
'customer'
;
20
public
const
FIELD_ANONYMOUS_ID
=
'anonymousId'
;
21
public
const
FIELD_ASSOCIATE
=
'associate'
;
22
29
public
function
getClientId
();
30
37
public
function
getExternalUserId
();
38
45
public
function
getCustomer
();
46
53
public
function
getAnonymousId
();
54
61
public
function
getAssociate
();
62
66
public
function
setClientId
(?
string
$clientId): void;
67
71
public
function
setExternalUserId
(?
string
$externalUserId): void;
72
76
public
function
setCustomer
(?
CustomerReference
$customer): void;
77
81
public
function
setAnonymousId
(?
string
$anonymousId): void;
82
86
public
function
setAssociate
(?
CustomerReference
$associate): void;
87
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\ClientLogging
Definition:
ClientLogging.php:16
Commercetools\Api\Models\Common\ClientLogging\setAssociate
setAssociate(?CustomerReference $associate)
Commercetools\Api\Models\Common\ClientLogging\setClientId
setClientId(?string $clientId)
Commercetools\Api\Models\Common\ClientLogging\FIELD_ASSOCIATE
const FIELD_ASSOCIATE
Definition:
ClientLogging.php:21
Commercetools\Api\Models\Common\ClientLogging\getCustomer
getCustomer()
Commercetools\Api\Models\Common\ClientLogging\FIELD_CUSTOMER
const FIELD_CUSTOMER
Definition:
ClientLogging.php:19
Commercetools\Api\Models\Common\ClientLogging\FIELD_EXTERNAL_USER_ID
const FIELD_EXTERNAL_USER_ID
Definition:
ClientLogging.php:18
Commercetools\Api\Models\Common\ClientLogging\setExternalUserId
setExternalUserId(?string $externalUserId)
Commercetools\Api\Models\Common\ClientLogging\setAnonymousId
setAnonymousId(?string $anonymousId)
Commercetools\Api\Models\Common\ClientLogging\getClientId
getClientId()
Commercetools\Api\Models\Common\ClientLogging\FIELD_CLIENT_ID
const FIELD_CLIENT_ID
Definition:
ClientLogging.php:17
Commercetools\Api\Models\Common\ClientLogging\getExternalUserId
getExternalUserId()
Commercetools\Api\Models\Common\ClientLogging\FIELD_ANONYMOUS_ID
const FIELD_ANONYMOUS_ID
Definition:
ClientLogging.php:20
Commercetools\Api\Models\Common\ClientLogging\getAssociate
getAssociate()
Commercetools\Api\Models\Common\ClientLogging\getAnonymousId
getAnonymousId()
Commercetools\Api\Models\Common\ClientLogging\setCustomer
setCustomer(?CustomerReference $customer)
Commercetools\Api\Models\Customer\CustomerReference
Definition:
CustomerReference.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Common
Definition:
Address.php:9
Generated by
1.9.1