commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
MoveImageToPositionChangeBuilder.php
1<?php
2
3declare(strict_types=1);
10
16use stdClass;
18
23{
28 private $change;
29
34 private $previousValue;
35
40 private $nextValue;
41
46 private $catalogData;
47
52 private $variant;
53
58 public function getChange()
59 {
60 return $this->change;
61 }
62
69 public function getPreviousValue()
70 {
71 return $this->previousValue;
72 }
73
80 public function getNextValue()
81 {
82 return $this->nextValue;
83 }
84
95 public function getCatalogData()
96 {
97 return $this->catalogData;
98 }
99
107 public function getVariant()
108 {
109 return $this->variant;
110 }
111
116 public function withChange(?string $change)
117 {
118 $this->change = $change;
119
120 return $this;
121 }
122
127 public function withPreviousValue(?ImageCollection $previousValue)
128 {
129 $this->previousValue = $previousValue;
130
131 return $this;
132 }
133
138 public function withNextValue(?ImageCollection $nextValue)
139 {
140 $this->nextValue = $nextValue;
141
142 return $this;
143 }
144
149 public function withCatalogData(?string $catalogData)
150 {
151 $this->catalogData = $catalogData;
152
153 return $this;
154 }
155
160 public function withVariant(?string $variant)
161 {
162 $this->variant = $variant;
163
164 return $this;
165 }
166
167
169 {
171 $this->change,
172 $this->previousValue,
173 $this->nextValue,
174 $this->catalogData,
175 $this->variant
176 );
177 }
178
179 public static function of(): MoveImageToPositionChangeBuilder
180 {
181 return new self();
182 }
183}