commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
CartSetAnonymousIdActionBuilder.php
1<?php
2
3declare(strict_types=1);
10
16use stdClass;
17
22{
27 private $anonymousId;
28
36 public function getAnonymousId()
37 {
38 return $this->anonymousId;
39 }
40
45 public function withAnonymousId(?string $anonymousId)
46 {
47 $this->anonymousId = $anonymousId;
48
49 return $this;
50 }
51
52
54 {
56 $this->anonymousId
57 );
58 }
59
60 public static function of(): CartSetAnonymousIdActionBuilder
61 {
62 return new self();
63 }
64}