Skip to content

Commit 84e7230

Browse files
Merge pull request #274 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents ec8cbc1 + 7fa7498 commit 84e7230

File tree

119 files changed

+606
-308
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+606
-308
lines changed

lib/commercetools-api/src/Models/Product/ProductDraft.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function getSlug();
6464

6565
/**
6666
* <p>User-defined unique identifier for the Product.</p>
67-
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the <a href="/../import-export/">Import API</a> and the <a href="/../merchant-center/import-data">Merchant Center</a>.</p>
67+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the <a href="/../api/import-export/">Import API</a> and the <a href="/../merchant-center/import-data">Merchant Center</a>.</p>
6868
* <p>To update a Product using the Import API or Merchant Center, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
6969
*
7070

lib/commercetools-api/src/Models/Product/ProductDraftBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function getSlug()
168168

169169
/**
170170
* <p>User-defined unique identifier for the Product.</p>
171-
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the <a href="/../import-export/">Import API</a> and the <a href="/../merchant-center/import-data">Merchant Center</a>.</p>
171+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the <a href="/../api/import-export/">Import API</a> and the <a href="/../merchant-center/import-data">Merchant Center</a>.</p>
172172
* <p>To update a Product using the Import API or Merchant Center, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
173173
*
174174

lib/commercetools-api/src/Models/Product/ProductDraftModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public function getSlug()
239239

240240
/**
241241
* <p>User-defined unique identifier for the Product.</p>
242-
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the <a href="/../import-export/">Import API</a> and the <a href="/../merchant-center/import-data">Merchant Center</a>.</p>
242+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the <a href="/../api/import-export/">Import API</a> and the <a href="/../merchant-center/import-data">Merchant Center</a>.</p>
243243
* <p>To update a Product using the Import API or Merchant Center, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
244244
*
245245
*

lib/commercetools-api/src/Models/Product/ProductSetKeyAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface ProductSetKeyAction extends ProductUpdateAction
1717

1818
/**
1919
* <p>Value to set. If empty, any existing value will be removed.</p>
20-
* <p>To update a Product using the <a href="/../import-export/">Import API</a> and the <a href="/../merchant-center/import-data">Merchant Center</a>, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
20+
* <p>To update a Product using the <a href="/../api/import-export/">Import API</a> and the <a href="/../merchant-center/import-data">Merchant Center</a>, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
2121
*
2222
2323
* @return null|string

lib/commercetools-api/src/Models/Product/ProductSetKeyActionBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class ProductSetKeyActionBuilder implements Builder
2828

2929
/**
3030
* <p>Value to set. If empty, any existing value will be removed.</p>
31-
* <p>To update a Product using the <a href="/../import-export/">Import API</a> and the <a href="/../merchant-center/import-data">Merchant Center</a>, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
31+
* <p>To update a Product using the <a href="/../api/import-export/">Import API</a> and the <a href="/../merchant-center/import-data">Merchant Center</a>, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
3232
*
3333
3434
* @return null|string

lib/commercetools-api/src/Models/Product/ProductSetKeyActionModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function getAction()
6464

6565
/**
6666
* <p>Value to set. If empty, any existing value will be removed.</p>
67-
* <p>To update a Product using the <a href="/../import-export/">Import API</a> and the <a href="/../merchant-center/import-data">Merchant Center</a>, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
67+
* <p>To update a Product using the <a href="/../api/import-export/">Import API</a> and the <a href="/../merchant-center/import-data">Merchant Center</a>, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
6868
*
6969
*
7070
* @return null|string

lib/commercetools-import/docs/RequestBuilder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ $request = $builder
279279
## `withProjectKeyValue("projectKey")->productVariantPatches()->importContainers()->withImportContainerKeyValue("importContainerKey")->post(null)`
280280

281281
Creates a new import request for Product Variant Patches.
282-
Returns an [InvalidField](/error#invalidfielderror) error if the [ProductVariantPatchRequest](ctp:import:type:ProductVariantPatchRequest) contains patches with and without the `product` field set.
282+
Returns an [InvalidField](ctp:import:type:InvalidFieldError) error if the [ProductVariantPatchRequest](ctp:import:type:ProductVariantPatchRequest) contains patches with and without the `product` field set.
283283

284284

285285
### Example

lib/commercetools-import/src/Models/Categories/CategoryImport.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ interface CategoryImport extends ImportResource
3131
public const FIELD_CUSTOM = 'custom';
3232

3333
/**
34-
* <p>User-defined unique identifier. If a <a href="/../api/projects/categories#category">Category</a> with this <code>key</code> exists, it will be updated with the imported data.</p>
34+
* <p>User-defined unique identifier. If a <a href="ctp:api:type:Category">Category</a> with this <code>key</code> exists, it will be updated with the imported data.</p>
3535
*
3636
3737
* @return null|string
@@ -65,8 +65,8 @@ public function getDescription();
6565

6666
/**
6767
* <p>Maps to <code>Category.parent</code>.
68-
* The Reference to the parent <a href="/../api/projects/categories#category">Category</a> with which the Category is associated.
69-
* If referenced Category does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary Category is created.</p>
68+
* The Reference to the parent <a href="ctp:api:type:Category">Category</a> with which the Category is associated.
69+
* If referenced Category does not exist, the <code>state</code> of the <a href="ctp:import:type:ImportOperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary Category is created.</p>
7070
*
7171
7272
* @return null|CategoryKeyReference
@@ -114,6 +114,8 @@ public function getMetaDescription();
114114
public function getMetaKeywords();
115115

116116
/**
117+
* <p>Maps to <code>Category.assets</code>.</p>
118+
*
117119
118120
* @return null|AssetCollection
119121
*/

lib/commercetools-import/src/Models/Categories/CategoryImportBuilder.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ final class CategoryImportBuilder implements Builder
102102
private $custom;
103103

104104
/**
105-
* <p>User-defined unique identifier. If a <a href="/../api/projects/categories#category">Category</a> with this <code>key</code> exists, it will be updated with the imported data.</p>
105+
* <p>User-defined unique identifier. If a <a href="ctp:api:type:Category">Category</a> with this <code>key</code> exists, it will be updated with the imported data.</p>
106106
*
107107
108108
* @return null|string
@@ -148,8 +148,8 @@ public function getDescription()
148148

149149
/**
150150
* <p>Maps to <code>Category.parent</code>.
151-
* The Reference to the parent <a href="/../api/projects/categories#category">Category</a> with which the Category is associated.
152-
* If referenced Category does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary Category is created.</p>
151+
* The Reference to the parent <a href="ctp:api:type:Category">Category</a> with which the Category is associated.
152+
* If referenced Category does not exist, the <code>state</code> of the <a href="ctp:import:type:ImportOperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary Category is created.</p>
153153
*
154154
155155
* @return null|CategoryKeyReference
@@ -215,6 +215,8 @@ public function getMetaKeywords()
215215
}
216216

217217
/**
218+
* <p>Maps to <code>Category.assets</code>.</p>
219+
*
218220
219221
* @return null|AssetCollection
220222
*/

lib/commercetools-import/src/Models/Categories/CategoryImportModel.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function __construct(
133133
}
134134

135135
/**
136-
* <p>User-defined unique identifier. If a <a href="/../api/projects/categories#category">Category</a> with this <code>key</code> exists, it will be updated with the imported data.</p>
136+
* <p>User-defined unique identifier. If a <a href="ctp:api:type:Category">Category</a> with this <code>key</code> exists, it will be updated with the imported data.</p>
137137
*
138138
*
139139
* @return null|string
@@ -218,8 +218,8 @@ public function getDescription()
218218

219219
/**
220220
* <p>Maps to <code>Category.parent</code>.
221-
* The Reference to the parent <a href="/../api/projects/categories#category">Category</a> with which the Category is associated.
222-
* If referenced Category does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary Category is created.</p>
221+
* The Reference to the parent <a href="ctp:api:type:Category">Category</a> with which the Category is associated.
222+
* If referenced Category does not exist, the <code>state</code> of the <a href="ctp:import:type:ImportOperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary Category is created.</p>
223223
*
224224
*
225225
* @return null|CategoryKeyReference
@@ -343,6 +343,8 @@ public function getMetaKeywords()
343343
}
344344

345345
/**
346+
* <p>Maps to <code>Category.assets</code>.</p>
347+
*
346348
*
347349
* @return null|AssetCollection
348350
*/

0 commit comments

Comments
 (0)