Skip to content

Commit c1584bf

Browse files
committed
build(codegen): updating SDK
1 parent 3982bb1 commit c1584bf

19 files changed

+36
-10
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraft.java

+2
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ public interface CategoryDraft extends com.commercetools.api.models.Customizable
130130

131131
/**
132132
* <p>User-defined unique identifier for the Category.</p>
133+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Categories with the Import API and the Merchant Center.</p>
133134
* @return key
134135
*/
135136

@@ -223,6 +224,7 @@ public interface CategoryDraft extends com.commercetools.api.models.Customizable
223224

224225
/**
225226
* <p>User-defined unique identifier for the Category.</p>
227+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Categories with the Import API and the Merchant Center.</p>
226228
* @param key value to be set
227229
*/
228230

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraftBuilder.java

+2
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ public CategoryDraftBuilder setAssets(
456456

457457
/**
458458
* <p>User-defined unique identifier for the Category.</p>
459+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Categories with the Import API and the Merchant Center.</p>
459460
* @param key value to be set
460461
* @return Builder
461462
*/
@@ -575,6 +576,7 @@ public java.util.List<com.commercetools.api.models.common.AssetDraft> getAssets(
575576

576577
/**
577578
* <p>User-defined unique identifier for the Category.</p>
579+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Categories with the Import API and the Merchant Center.</p>
578580
* @return key
579581
*/
580582

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/category/CategoryDraftImpl.java

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ public java.util.List<com.commercetools.api.models.common.AssetDraft> getAssets(
171171

172172
/**
173173
* <p>User-defined unique identifier for the Category.</p>
174+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Categories with the Import API and the Merchant Center.</p>
174175
*/
175176

176177
public String getKey() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraft.java

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public interface CustomerDraft extends com.commercetools.api.models.Customizable
4242

4343
/**
4444
* <p>User-defined unique identifier for the Customer. The <code>key</code> field is preferred over <code>customerNumber</code> as it is mutable and provides more flexibility.</p>
45+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Customers with the Import API.</p>
4546
* @return key
4647
*/
4748

@@ -266,6 +267,7 @@ public interface CustomerDraft extends com.commercetools.api.models.Customizable
266267

267268
/**
268269
* <p>User-defined unique identifier for the Customer. The <code>key</code> field is preferred over <code>customerNumber</code> as it is mutable and provides more flexibility.</p>
270+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Customers with the Import API.</p>
269271
* @param key value to be set
270272
*/
271273

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftBuilder.java

+2
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ public class CustomerDraftBuilder implements Builder<CustomerDraft> {
107107

108108
/**
109109
* <p>User-defined unique identifier for the Customer. The <code>key</code> field is preferred over <code>customerNumber</code> as it is mutable and provides more flexibility.</p>
110+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Customers with the Import API.</p>
110111
* @param key value to be set
111112
* @return Builder
112113
*/
@@ -721,6 +722,7 @@ public CustomerDraftBuilder authenticationMode(
721722

722723
/**
723724
* <p>User-defined unique identifier for the Customer. The <code>key</code> field is preferred over <code>customerNumber</code> as it is mutable and provides more flexibility.</p>
725+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Customers with the Import API.</p>
724726
* @return key
725727
*/
726728

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerDraftImpl.java

+1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ public CustomerDraftImpl() {
139139

140140
/**
141141
* <p>User-defined unique identifier for the Customer. The <code>key</code> field is preferred over <code>customerNumber</code> as it is mutable and provides more flexibility.</p>
142+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Customers with the Import API.</p>
142143
*/
143144

144145
public String getKey() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraft.java

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public interface DiscountCodeDraft extends com.commercetools.api.models.Customiz
4141

4242
/**
4343
* <p>User-defined unique identifier for the DiscountCode.</p>
44+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Discount Codes with the Import API and the Merchant Center.</p>
4445
* @return key
4546
*/
4647

@@ -148,6 +149,7 @@ public interface DiscountCodeDraft extends com.commercetools.api.models.Customiz
148149

149150
/**
150151
* <p>User-defined unique identifier for the DiscountCode.</p>
152+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Discount Codes with the Import API and the Merchant Center.</p>
151153
* @param key value to be set
152154
*/
153155

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftBuilder.java

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public class DiscountCodeDraftBuilder implements Builder<DiscountCodeDraft> {
6464

6565
/**
6666
* <p>User-defined unique identifier for the DiscountCode.</p>
67+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Discount Codes with the Import API and the Merchant Center.</p>
6768
* @param key value to be set
6869
* @return Builder
6970
*/
@@ -391,6 +392,7 @@ public DiscountCodeDraftBuilder validUntil(@Nullable final java.time.ZonedDateTi
391392

392393
/**
393394
* <p>User-defined unique identifier for the DiscountCode.</p>
395+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Discount Codes with the Import API and the Merchant Center.</p>
394396
* @return key
395397
*/
396398

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftImpl.java

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public DiscountCodeDraftImpl() {
8787

8888
/**
8989
* <p>User-defined unique identifier for the DiscountCode.</p>
90+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Discount Codes with the Import API and the Merchant Center.</p>
9091
*/
9192

9293
public String getKey() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraft.java

+2
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public interface InventoryEntryDraft extends com.commercetools.api.models.Custom
4747

4848
/**
4949
* <p>User-defined unique identifier for the InventoryEntry.</p>
50+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing InventoryEntries with the Import API and the Merchant Center.</p>
5051
* @return key
5152
*/
5253

@@ -102,6 +103,7 @@ public interface InventoryEntryDraft extends com.commercetools.api.models.Custom
102103

103104
/**
104105
* <p>User-defined unique identifier for the InventoryEntry.</p>
106+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing InventoryEntries with the Import API and the Merchant Center.</p>
105107
* @param key value to be set
106108
*/
107109

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraftBuilder.java

+2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public InventoryEntryDraftBuilder sku(final String sku) {
5757

5858
/**
5959
* <p>User-defined unique identifier for the InventoryEntry.</p>
60+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing InventoryEntries with the Import API and the Merchant Center.</p>
6061
* @param key value to be set
6162
* @return Builder
6263
*/
@@ -183,6 +184,7 @@ public String getSku() {
183184

184185
/**
185186
* <p>User-defined unique identifier for the InventoryEntry.</p>
187+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing InventoryEntries with the Import API and the Merchant Center.</p>
186188
* @return key
187189
*/
188190

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntryDraftImpl.java

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public String getSku() {
7171

7272
/**
7373
* <p>User-defined unique identifier for the InventoryEntry.</p>
74+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing InventoryEntries with the Import API and the Merchant Center.</p>
7475
*/
7576

7677
public String getKey() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraft.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ public interface ProductDraft
7070

7171
/**
7272
* <p>User-defined unique identifier for the Product.</p>
73-
* <p>To update a Product using the Import API, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
73+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the Import API and the Merchant Center.</p>
74+
* <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>
7475
* @return key
7576
*/
7677

@@ -204,7 +205,8 @@ public interface ProductDraft
204205

205206
/**
206207
* <p>User-defined unique identifier for the Product.</p>
207-
* <p>To update a Product using the Import API, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
208+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the Import API and the Merchant Center.</p>
209+
* <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>
208210
* @param key value to be set
209211
*/
210212

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftBuilder.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ public ProductDraftBuilder slug(final com.commercetools.api.models.common.Locali
185185

186186
/**
187187
* <p>User-defined unique identifier for the Product.</p>
188-
* <p>To update a Product using the Import API, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
188+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the Import API and the Merchant Center.</p>
189+
* <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>
189190
* @param key value to be set
190191
* @return Builder
191192
*/
@@ -756,7 +757,8 @@ public com.commercetools.api.models.common.LocalizedString getSlug() {
756757

757758
/**
758759
* <p>User-defined unique identifier for the Product.</p>
759-
* <p>To update a Product using the Import API, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
760+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the Import API and the Merchant Center.</p>
761+
* <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>
760762
* @return key
761763
*/
762764

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductDraftImpl.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ public com.commercetools.api.models.common.LocalizedString getSlug() {
129129

130130
/**
131131
* <p>User-defined unique identifier for the Product.</p>
132-
* <p>To update a Product using the Import API, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
132+
* <p>This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the Import API and the Merchant Center.</p>
133+
* <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>
133134
*/
134135

135136
public String getKey() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyAction.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public interface ProductSetKeyAction extends ProductUpdateAction {
3535

3636
/**
3737
* <p>Value to set. If empty, any existing value will be removed.</p>
38-
* <p>To update a Product using the Import API, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
38+
* <p>To update a Product using the Import API and the Merchant Center, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
3939
* @return key
4040
*/
4141

@@ -44,7 +44,7 @@ public interface ProductSetKeyAction extends ProductUpdateAction {
4444

4545
/**
4646
* <p>Value to set. If empty, any existing value will be removed.</p>
47-
* <p>To update a Product using the Import API, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
47+
* <p>To update a Product using the Import API and the Merchant Center, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
4848
* @param key value to be set
4949
*/
5050

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyActionBuilder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class ProductSetKeyActionBuilder implements Builder<ProductSetKeyAction>
2727

2828
/**
2929
* <p>Value to set. If empty, any existing value will be removed.</p>
30-
* <p>To update a Product using the Import API, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
30+
* <p>To update a Product using the Import API and the Merchant Center, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
3131
* @param key value to be set
3232
* @return Builder
3333
*/
@@ -39,7 +39,7 @@ public ProductSetKeyActionBuilder key(@Nullable final String key) {
3939

4040
/**
4141
* <p>Value to set. If empty, any existing value will be removed.</p>
42-
* <p>To update a Product using the Import API, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
42+
* <p>To update a Product using the Import API and the Merchant Center, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
4343
* @return key
4444
*/
4545

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product/ProductSetKeyActionImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public String getAction() {
5252

5353
/**
5454
* <p>Value to set. If empty, any existing value will be removed.</p>
55-
* <p>To update a Product using the Import API, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
55+
* <p>To update a Product using the Import API and the Merchant Center, the Product <code>key</code> must match the pattern <code>^[A-Za-z0-9_-]{2,256}$</code>.</p>
5656
*/
5757

5858
public String getKey() {

references.txt

+1
Original file line numberDiff line numberDiff line change
@@ -317,3 +317,4 @@ c27603f949e869148570ebb8bd3ec6db34a985b7
317317
cac013ef26a2c100979f66df86f605953dd5d736
318318
82bca33a98d14907ea79e2cca281625dd82cdf0d
319319
c8c2455221baca20421082b7715eaa0a712af7f1
320+
8e5c10a0c61ddaa5eabbd15344258f53ce6971ee

0 commit comments

Comments
 (0)