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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

0 commit comments

Comments
 (0)