commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
ReferencedResourceNotFoundBuilder.php
1 <?php
2 
3 declare(strict_types=1);
10 
16 use stdClass;
17 
22 {
27  private $message;
28 
33  private $typeId;
34 
39  private $id;
40 
45  private $key;
46 
53  public function getMessage()
54  {
55  return $this->message;
56  }
57 
64  public function getTypeId()
65  {
66  return $this->typeId;
67  }
68 
75  public function getId()
76  {
77  return $this->id;
78  }
79 
86  public function getKey()
87  {
88  return $this->key;
89  }
90 
95  public function withMessage(?string $message)
96  {
97  $this->message = $message;
98 
99  return $this;
100  }
101 
106  public function withTypeId(?string $typeId)
107  {
108  $this->typeId = $typeId;
109 
110  return $this;
111  }
112 
117  public function withId(?string $id)
118  {
119  $this->id = $id;
120 
121  return $this;
122  }
123 
128  public function withKey(?string $key)
129  {
130  $this->key = $key;
131 
132  return $this;
133  }
134 
135 
137  {
139  $this->message,
140  $this->typeId,
141  $this->id,
142  $this->key
143  );
144  }
145 
146  public static function of(): ReferencedResourceNotFoundBuilder
147  {
148  return new self();
149  }
150 }