commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
VariantSetAttributesActionBuilder.php
1<?php
2
3declare(strict_types=1);
10
17use stdClass;
18
23{
28 private $attributes;
29
34 private $staged;
35
42 public function getAttributes()
43 {
44 return $this->attributes;
45 }
46
53 public function getStaged()
54 {
55 return $this->staged;
56 }
57
62 public function withAttributes(?AttributeCollection $attributes)
63 {
64 $this->attributes = $attributes;
65
66 return $this;
67 }
68
73 public function withStaged(?bool $staged)
74 {
75 $this->staged = $staged;
76
77 return $this;
78 }
79
80
82 {
84 $this->attributes,
85 $this->staged
86 );
87 }
88
89 public static function of(): VariantSetAttributesActionBuilder
90 {
91 return new self();
92 }
93}