commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
CreatedBy.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
15 interface CreatedBy extends ClientLogging
16 {
17  public const FIELD_ATTRIBUTED_TO = 'attributedTo';
18 
25  public function getClientId();
26 
33  public function getExternalUserId();
34 
41  public function getCustomer();
42 
49  public function getAnonymousId();
50 
57  public function getAttributedTo();
58 
65  public function getAssociate();
66 
70  public function setClientId(?string $clientId): void;
71 
75  public function setExternalUserId(?string $externalUserId): void;
76 
80  public function setCustomer(?CustomerReference $customer): void;
81 
85  public function setAnonymousId(?string $anonymousId): void;
86 
90  public function setAttributedTo(?Attribution $attributedTo): void;
91 
95  public function setAssociate(?CustomerReference $associate): void;
96 }
setExternalUserId(?string $externalUserId)
setAttributedTo(?Attribution $attributedTo)
setAssociate(?CustomerReference $associate)
setCustomer(?CustomerReference $customer)