88
99namespace Commercetools \Api \Models \Message ;
1010
11- use Commercetools \Base \DateTimeImmutableCollection ;
12- use Commercetools \Base \JsonObject ;
13- use Commercetools \Base \JsonObjectModel ;
14- use Commercetools \Base \MapperFactory ;
15- use stdClass ;
1611use Commercetools \Api \Models \Common \CreatedBy ;
1712use Commercetools \Api \Models \Common \CreatedByModel ;
1813use Commercetools \Api \Models \Common \LastModifiedBy ;
1914use Commercetools \Api \Models \Common \LastModifiedByModel ;
2015use Commercetools \Api \Models \Common \Reference ;
2116use Commercetools \Api \Models \Common \ReferenceModel ;
17+ use Commercetools \Base \DateTimeImmutableCollection ;
18+ use Commercetools \Base \JsonObject ;
19+ use Commercetools \Base \JsonObjectModel ;
20+ use Commercetools \Base \MapperFactory ;
2221use DateTimeImmutable ;
22+ use stdClass ;
2323
2424/**
2525 * @internal
@@ -150,7 +150,7 @@ public function getId()
150150 if (is_null ($ data )) {
151151 return null ;
152152 }
153- $ this ->id = (string ) $ data ;
153+ $ this ->id = (string ) $ data ;
154154 }
155155
156156 return $ this ->id ;
@@ -167,7 +167,7 @@ public function getVersion()
167167 if (is_null ($ data )) {
168168 return null ;
169169 }
170- $ this ->version = (int ) $ data ;
170+ $ this ->version = (int ) $ data ;
171171 }
172172
173173 return $ this ->version ;
@@ -188,7 +188,7 @@ public function getCreatedAt()
188188 if (false === $ data ) {
189189 return null ;
190190 }
191- $ this ->createdAt = $ data ;
191+ $ this ->createdAt = $ data ;
192192 }
193193
194194 return $ this ->createdAt ;
@@ -209,7 +209,7 @@ public function getLastModifiedAt()
209209 if (false === $ data ) {
210210 return null ;
211211 }
212- $ this ->lastModifiedAt = $ data ;
212+ $ this ->lastModifiedAt = $ data ;
213213 }
214214
215215 return $ this ->lastModifiedAt ;
@@ -227,7 +227,7 @@ public function getLastModifiedBy()
227227 return null ;
228228 }
229229
230- $ this ->lastModifiedBy = LastModifiedByModel::of ($ data );
230+ $ this ->lastModifiedBy = LastModifiedByModel::of ($ data );
231231 }
232232
233233 return $ this ->lastModifiedBy ;
@@ -245,7 +245,7 @@ public function getCreatedBy()
245245 return null ;
246246 }
247247
248- $ this ->createdBy = CreatedByModel::of ($ data );
248+ $ this ->createdBy = CreatedByModel::of ($ data );
249249 }
250250
251251 return $ this ->createdBy ;
@@ -262,7 +262,7 @@ public function getSequenceNumber()
262262 if (is_null ($ data )) {
263263 return null ;
264264 }
265- $ this ->sequenceNumber = (int ) $ data ;
265+ $ this ->sequenceNumber = (int ) $ data ;
266266 }
267267
268268 return $ this ->sequenceNumber ;
@@ -280,7 +280,7 @@ public function getResource()
280280 return null ;
281281 }
282282 $ className = ReferenceModel::resolveDiscriminatorClass ($ data );
283- $ this ->resource = $ className ::of ($ data );
283+ $ this ->resource = $ className ::of ($ data );
284284 }
285285
286286 return $ this ->resource ;
@@ -297,7 +297,7 @@ public function getResourceVersion()
297297 if (is_null ($ data )) {
298298 return null ;
299299 }
300- $ this ->resourceVersion = (int ) $ data ;
300+ $ this ->resourceVersion = (int ) $ data ;
301301 }
302302
303303 return $ this ->resourceVersion ;
@@ -314,7 +314,7 @@ public function getType()
314314 if (is_null ($ data )) {
315315 return null ;
316316 }
317- $ this ->type = (string ) $ data ;
317+ $ this ->type = (string ) $ data ;
318318 }
319319
320320 return $ this ->type ;
@@ -332,7 +332,7 @@ public function getResourceUserProvidedIdentifiers()
332332 return null ;
333333 }
334334
335- $ this ->resourceUserProvidedIdentifiers = UserProvidedIdentifiersModel::of ($ data );
335+ $ this ->resourceUserProvidedIdentifiers = UserProvidedIdentifiersModel::of ($ data );
336336 }
337337
338338 return $ this ->resourceUserProvidedIdentifiers ;
@@ -349,7 +349,7 @@ public function getOldQuantityOnStock()
349349 if (is_null ($ data )) {
350350 return null ;
351351 }
352- $ this ->oldQuantityOnStock = (int ) $ data ;
352+ $ this ->oldQuantityOnStock = (int ) $ data ;
353353 }
354354
355355 return $ this ->oldQuantityOnStock ;
@@ -366,7 +366,7 @@ public function getNewQuantityOnStock()
366366 if (is_null ($ data )) {
367367 return null ;
368368 }
369- $ this ->newQuantityOnStock = (int ) $ data ;
369+ $ this ->newQuantityOnStock = (int ) $ data ;
370370 }
371371
372372 return $ this ->newQuantityOnStock ;
@@ -383,7 +383,7 @@ public function getOldAvailableQuantity()
383383 if (is_null ($ data )) {
384384 return null ;
385385 }
386- $ this ->oldAvailableQuantity = (int ) $ data ;
386+ $ this ->oldAvailableQuantity = (int ) $ data ;
387387 }
388388
389389 return $ this ->oldAvailableQuantity ;
@@ -400,7 +400,7 @@ public function getNewAvailableQuantity()
400400 if (is_null ($ data )) {
401401 return null ;
402402 }
403- $ this ->newAvailableQuantity = (int ) $ data ;
403+ $ this ->newAvailableQuantity = (int ) $ data ;
404404 }
405405
406406 return $ this ->newAvailableQuantity ;
@@ -532,5 +532,4 @@ public function jsonSerialize()
532532 }
533533 return (object ) $ data ;
534534 }
535-
536535}
0 commit comments