commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-history
src
Models
ChangeHistory
ModifiedBy.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\History\Models\ChangeHistory
;
10
11
use
Commercetools\Base\JsonObject
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\History\Models\Common\Reference
;
14
15
interface
ModifiedBy
extends
JsonObject
16
{
17
18
public
const
FIELD_IS_PLATFORM_CLIENT
=
'isPlatformClient'
;
19
public
const
FIELD_ID
=
'id'
;
20
public
const
FIELD_TYPE
=
'type'
;
21
public
const
FIELD_CLIENT_ID
=
'clientId'
;
22
public
const
FIELD_ANONYMOUS_ID
=
'anonymousId'
;
23
public
const
FIELD_CUSTOMER
=
'customer'
;
24
public
const
FIELD_ASSOCIATE
=
'associate'
;
25
32
public
function
getIsPlatformClient
();
33
41
public
function
getId
();
42
54
public
function
getType
();
55
63
public
function
getClientId
();
64
71
public
function
getAnonymousId
();
72
80
public
function
getCustomer
();
81
88
public
function
getAssociate
();
89
93
public
function
setIsPlatformClient
(?
bool
$isPlatformClient): void;
94
98
public
function
setId
(?
string
$id): void;
99
103
public
function
setType
(?
string
$type): void;
104
108
public
function
setClientId
(?
string
$clientId): void;
109
113
public
function
setAnonymousId
(?
string
$anonymousId): void;
114
118
public
function
setCustomer
(?
Reference
$customer): void;
119
123
public
function
setAssociate
(?
Reference
$associate): void;
124
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\History\Models\ChangeHistory\ModifiedBy
Definition:
ModifiedBy.php:16
Commercetools\History\Models\ChangeHistory\ModifiedBy\getCustomer
getCustomer()
Commercetools\History\Models\ChangeHistory\ModifiedBy\getIsPlatformClient
getIsPlatformClient()
Commercetools\History\Models\ChangeHistory\ModifiedBy\getClientId
getClientId()
Commercetools\History\Models\ChangeHistory\ModifiedBy\FIELD_CUSTOMER
const FIELD_CUSTOMER
Definition:
ModifiedBy.php:23
Commercetools\History\Models\ChangeHistory\ModifiedBy\FIELD_IS_PLATFORM_CLIENT
const FIELD_IS_PLATFORM_CLIENT
Definition:
ModifiedBy.php:18
Commercetools\History\Models\ChangeHistory\ModifiedBy\getAnonymousId
getAnonymousId()
Commercetools\History\Models\ChangeHistory\ModifiedBy\FIELD_ID
const FIELD_ID
Definition:
ModifiedBy.php:19
Commercetools\History\Models\ChangeHistory\ModifiedBy\getId
getId()
Commercetools\History\Models\ChangeHistory\ModifiedBy\FIELD_CLIENT_ID
const FIELD_CLIENT_ID
Definition:
ModifiedBy.php:21
Commercetools\History\Models\ChangeHistory\ModifiedBy\getAssociate
getAssociate()
Commercetools\History\Models\ChangeHistory\ModifiedBy\FIELD_TYPE
const FIELD_TYPE
Definition:
ModifiedBy.php:20
Commercetools\History\Models\ChangeHistory\ModifiedBy\setAssociate
setAssociate(?Reference $associate)
Commercetools\History\Models\ChangeHistory\ModifiedBy\getType
getType()
Commercetools\History\Models\ChangeHistory\ModifiedBy\FIELD_ASSOCIATE
const FIELD_ASSOCIATE
Definition:
ModifiedBy.php:24
Commercetools\History\Models\ChangeHistory\ModifiedBy\FIELD_ANONYMOUS_ID
const FIELD_ANONYMOUS_ID
Definition:
ModifiedBy.php:22
Commercetools\History\Models\ChangeHistory\ModifiedBy\setId
setId(?string $id)
Commercetools\History\Models\ChangeHistory\ModifiedBy\setClientId
setClientId(?string $clientId)
Commercetools\History\Models\ChangeHistory\ModifiedBy\setIsPlatformClient
setIsPlatformClient(?bool $isPlatformClient)
Commercetools\History\Models\ChangeHistory\ModifiedBy\setType
setType(?string $type)
Commercetools\History\Models\ChangeHistory\ModifiedBy\setCustomer
setCustomer(?Reference $customer)
Commercetools\History\Models\ChangeHistory\ModifiedBy\setAnonymousId
setAnonymousId(?string $anonymousId)
Commercetools\History\Models\Common\Reference
Definition:
Reference.php:15
Commercetools\History\Models\ChangeHistory
Definition:
ErrorObject.php:9
Generated by
1.9.1