Skip to content

Commit 4b8560e

Browse files
Merge pull request #262 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents e433537 + a6fe0a3 commit 4b8560e

File tree

8 files changed

+29
-19
lines changed

8 files changed

+29
-19
lines changed

lib/commercetools-api/docs/RequestBuilder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2380,7 +2380,7 @@ $request = $builder
23802380
If an object with the given container/key exists, the object will be replaced with the new value and the version is incremented.
23812381
If the request contains a version and an object with the given container/key, then the version must match the version of the existing object. Concurrent updates to the same Custom Object returns a [ConcurrentModification](ctp:api:type:ConcurrentModificationError) error even if the version is not provided.
23822382

2383-
Fields with `null` values will **not be saved**.
2383+
Fields within `value` that have `null` values **are not saved**.
23842384

23852385

23862386
### Example

lib/commercetools-api/src/Models/CustomObject/CustomObject.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@ public function getContainer();
8888
public function getKey();
8989

9090
/**
91-
* <p>JSON standard types Number, String, Boolean, Array, Object, and <a href="/../api/types">common API data types</a>.
92-
* For values of type <a href="ctp:api:type:Reference">Reference</a> the integrity of the data is not guaranteed.
93-
* If the referenced object is deleted, the API does not delete the corresponding reference to it and the <code>value</code> points to a non-existing object in such case.</p>
91+
* <p>Can be any JSON standard type, such as number, string, boolean, array, object, or a <a href="/../api/types">common API data type</a>.</p>
92+
* <ul>
93+
* <li>For values of type <a href="ctp:api:type:Reference">Reference</a> the integrity of the data is not guaranteed. If the referenced object is deleted, the API does not delete the corresponding reference to it and the <code>value</code> points to a non-existing object in such case.</li>
94+
* </ul>
9495
*
9596
9697
* @return null|mixed

lib/commercetools-api/src/Models/CustomObject/CustomObjectBuilder.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,10 @@ public function getKey()
170170
}
171171

172172
/**
173-
* <p>JSON standard types Number, String, Boolean, Array, Object, and <a href="/../api/types">common API data types</a>.
174-
* For values of type <a href="ctp:api:type:Reference">Reference</a> the integrity of the data is not guaranteed.
175-
* If the referenced object is deleted, the API does not delete the corresponding reference to it and the <code>value</code> points to a non-existing object in such case.</p>
173+
* <p>Can be any JSON standard type, such as number, string, boolean, array, object, or a <a href="/../api/types">common API data type</a>.</p>
174+
* <ul>
175+
* <li>For values of type <a href="ctp:api:type:Reference">Reference</a> the integrity of the data is not guaranteed. If the referenced object is deleted, the API does not delete the corresponding reference to it and the <code>value</code> points to a non-existing object in such case.</li>
176+
* </ul>
176177
*
177178
178179
* @return null|mixed

lib/commercetools-api/src/Models/CustomObject/CustomObjectDraft.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ public function getContainer();
3535
public function getKey();
3636

3737
/**
38-
* <p>JSON standard types Number, String, Boolean, Array, Object, and <a href="/../api/types">common API data types</a>.
39-
* For values of type <a href="ctp:api:type:Reference">Reference</a> the integrity of the data is not guaranteed.
40-
* If the referenced object is deleted, the API does not delete the corresponding reference to it and the <code>value</code> points to a non-existing object in such case.</p>
38+
* <p>Can be any JSON standard type, such as number, string, boolean, array, object, or a <a href="/../api/types">common API data type</a>.</p>
39+
* <ul>
40+
* <li>Fields within <code>value</code> that have <code>null</code> values <strong>are not saved</strong>.</li>
41+
* <li>For values of type <a href="ctp:api:type:Reference">Reference</a> the integrity of the data is not guaranteed. If the referenced object is deleted, the API does not delete the corresponding reference to it and the <code>value</code> points to a non-existing object in such case.</li>
42+
* </ul>
4143
*
4244
4345
* @return null|mixed

lib/commercetools-api/src/Models/CustomObject/CustomObjectDraftBuilder.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,11 @@ public function getKey()
6767
}
6868

6969
/**
70-
* <p>JSON standard types Number, String, Boolean, Array, Object, and <a href="/../api/types">common API data types</a>.
71-
* For values of type <a href="ctp:api:type:Reference">Reference</a> the integrity of the data is not guaranteed.
72-
* If the referenced object is deleted, the API does not delete the corresponding reference to it and the <code>value</code> points to a non-existing object in such case.</p>
70+
* <p>Can be any JSON standard type, such as number, string, boolean, array, object, or a <a href="/../api/types">common API data type</a>.</p>
71+
* <ul>
72+
* <li>Fields within <code>value</code> that have <code>null</code> values <strong>are not saved</strong>.</li>
73+
* <li>For values of type <a href="ctp:api:type:Reference">Reference</a> the integrity of the data is not guaranteed. If the referenced object is deleted, the API does not delete the corresponding reference to it and the <code>value</code> points to a non-existing object in such case.</li>
74+
* </ul>
7375
*
7476
7577
* @return null|mixed

lib/commercetools-api/src/Models/CustomObject/CustomObjectDraftModel.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,11 @@ public function getKey()
100100
}
101101

102102
/**
103-
* <p>JSON standard types Number, String, Boolean, Array, Object, and <a href="/../api/types">common API data types</a>.
104-
* For values of type <a href="ctp:api:type:Reference">Reference</a> the integrity of the data is not guaranteed.
105-
* If the referenced object is deleted, the API does not delete the corresponding reference to it and the <code>value</code> points to a non-existing object in such case.</p>
103+
* <p>Can be any JSON standard type, such as number, string, boolean, array, object, or a <a href="/../api/types">common API data type</a>.</p>
104+
* <ul>
105+
* <li>Fields within <code>value</code> that have <code>null</code> values <strong>are not saved</strong>.</li>
106+
* <li>For values of type <a href="ctp:api:type:Reference">Reference</a> the integrity of the data is not guaranteed. If the referenced object is deleted, the API does not delete the corresponding reference to it and the <code>value</code> points to a non-existing object in such case.</li>
107+
* </ul>
106108
*
107109
*
108110
* @return null|mixed

lib/commercetools-api/src/Models/CustomObject/CustomObjectModel.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,10 @@ public function getKey()
277277
}
278278

279279
/**
280-
* <p>JSON standard types Number, String, Boolean, Array, Object, and <a href="/../api/types">common API data types</a>.
281-
* For values of type <a href="ctp:api:type:Reference">Reference</a> the integrity of the data is not guaranteed.
282-
* If the referenced object is deleted, the API does not delete the corresponding reference to it and the <code>value</code> points to a non-existing object in such case.</p>
280+
* <p>Can be any JSON standard type, such as number, string, boolean, array, object, or a <a href="/../api/types">common API data type</a>.</p>
281+
* <ul>
282+
* <li>For values of type <a href="ctp:api:type:Reference">Reference</a> the integrity of the data is not guaranteed. If the referenced object is deleted, the API does not delete the corresponding reference to it and the <code>value</code> points to a non-existing object in such case.</li>
283+
* </ul>
283284
*
284285
*
285286
* @return null|mixed

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,3 +319,4 @@ c8c2455221baca20421082b7715eaa0a712af7f1
319319
d410bad973f2fe90ea8239c4cb586fe0cfc13856
320320
0dec565903d52229b25140447f4216f4781bd976
321321
ccf4522140c12b0093aefe0e2a27d62bcc4834a6
322+
6bb8d35316a92441d0a59417b49ad3a8c7037e45

0 commit comments

Comments
 (0)