commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
VariantBulkUpdateFailResultBuilder.php
1<?php
2
3declare(strict_types=1);
10
17use stdClass;
18
23{
28 private $id;
29
34 private $key;
35
40 private $errors;
41
48 public function getId()
49 {
50 return $this->id;
51 }
52
59 public function getKey()
60 {
61 return $this->key;
62 }
63
70 public function getErrors()
71 {
72 return $this->errors;
73 }
74
79 public function withId(?string $id)
80 {
81 $this->id = $id;
82
83 return $this;
84 }
85
90 public function withKey(?string $key)
91 {
92 $this->key = $key;
93
94 return $this;
95 }
96
101 public function withErrors(?ErrorObjectCollection $errors)
102 {
103 $this->errors = $errors;
104
105 return $this;
106 }
107
108
110 {
112 $this->id,
113 $this->key,
114 $this->errors
115 );
116 }
117
118 public static function of(): VariantBulkUpdateFailResultBuilder
119 {
120 return new self();
121 }
122}