Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Oct 22, 2024
1 parent 3982bb1 commit c1584bf
Show file tree
Hide file tree
Showing 19 changed files with 36 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ public interface CategoryDraft extends com.commercetools.api.models.Customizable

/**
* <p>User-defined unique identifier for the Category.</p>
* <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>
* @return key
*/

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

/**
* <p>User-defined unique identifier for the Category.</p>
* <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>
* @param key value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ public CategoryDraftBuilder setAssets(

/**
* <p>User-defined unique identifier for the Category.</p>
* <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>
* @param key value to be set
* @return Builder
*/
Expand Down Expand Up @@ -575,6 +576,7 @@ public java.util.List<com.commercetools.api.models.common.AssetDraft> getAssets(

/**
* <p>User-defined unique identifier for the Category.</p>
* <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>
* @return key
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ public java.util.List<com.commercetools.api.models.common.AssetDraft> getAssets(

/**
* <p>User-defined unique identifier for the Category.</p>
* <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>
*/

public String getKey() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public interface CustomerDraft extends com.commercetools.api.models.Customizable

/**
* <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>
* <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>
* @return key
*/

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

/**
* <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>
* <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>
* @param key value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public class CustomerDraftBuilder implements Builder<CustomerDraft> {

/**
* <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>
* <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>
* @param key value to be set
* @return Builder
*/
Expand Down Expand Up @@ -721,6 +722,7 @@ public CustomerDraftBuilder authenticationMode(

/**
* <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>
* <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>
* @return key
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ public CustomerDraftImpl() {

/**
* <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>
* <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>
*/

public String getKey() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public interface DiscountCodeDraft extends com.commercetools.api.models.Customiz

/**
* <p>User-defined unique identifier for the DiscountCode.</p>
* <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>
* @return key
*/

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

/**
* <p>User-defined unique identifier for the DiscountCode.</p>
* <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>
* @param key value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public class DiscountCodeDraftBuilder implements Builder<DiscountCodeDraft> {

/**
* <p>User-defined unique identifier for the DiscountCode.</p>
* <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>
* @param key value to be set
* @return Builder
*/
Expand Down Expand Up @@ -391,6 +392,7 @@ public DiscountCodeDraftBuilder validUntil(@Nullable final java.time.ZonedDateTi

/**
* <p>User-defined unique identifier for the DiscountCode.</p>
* <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>
* @return key
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public DiscountCodeDraftImpl() {

/**
* <p>User-defined unique identifier for the DiscountCode.</p>
* <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>
*/

public String getKey() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public interface InventoryEntryDraft extends com.commercetools.api.models.Custom

/**
* <p>User-defined unique identifier for the InventoryEntry.</p>
* <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>
* @return key
*/

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

/**
* <p>User-defined unique identifier for the InventoryEntry.</p>
* <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>
* @param key value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public InventoryEntryDraftBuilder sku(final String sku) {

/**
* <p>User-defined unique identifier for the InventoryEntry.</p>
* <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>
* @param key value to be set
* @return Builder
*/
Expand Down Expand Up @@ -183,6 +184,7 @@ public String getSku() {

/**
* <p>User-defined unique identifier for the InventoryEntry.</p>
* <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>
* @return key
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public String getSku() {

/**
* <p>User-defined unique identifier for the InventoryEntry.</p>
* <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>
*/

public String getKey() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ public interface ProductDraft

/**
* <p>User-defined unique identifier for the Product.</p>
* <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>
* <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>
* <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>
* @return key
*/

Expand Down Expand Up @@ -204,7 +205,8 @@ public interface ProductDraft

/**
* <p>User-defined unique identifier for the Product.</p>
* <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>
* <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>
* <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>
* @param key value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ public ProductDraftBuilder slug(final com.commercetools.api.models.common.Locali

/**
* <p>User-defined unique identifier for the Product.</p>
* <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>
* <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>
* <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>
* @param key value to be set
* @return Builder
*/
Expand Down Expand Up @@ -756,7 +757,8 @@ public com.commercetools.api.models.common.LocalizedString getSlug() {

/**
* <p>User-defined unique identifier for the Product.</p>
* <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>
* <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>
* <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>
* @return key
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ public com.commercetools.api.models.common.LocalizedString getSlug() {

/**
* <p>User-defined unique identifier for the Product.</p>
* <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>
* <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>
* <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>
*/

public String getKey() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public interface ProductSetKeyAction extends ProductUpdateAction {

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
* <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>
* @return key
*/

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

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
* <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>
* @param key value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class ProductSetKeyActionBuilder implements Builder<ProductSetKeyAction>

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
* <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>
* @param key value to be set
* @return Builder
*/
Expand All @@ -39,7 +39,7 @@ public ProductSetKeyActionBuilder key(@Nullable final String key) {

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
* <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>
* @return key
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public String getAction() {

/**
* <p>Value to set. If empty, any existing value will be removed.</p>
* <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>
* <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>
*/

public String getKey() {
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -317,3 +317,4 @@ c27603f949e869148570ebb8bd3ec6db34a985b7
cac013ef26a2c100979f66df86f605953dd5d736
82bca33a98d14907ea79e2cca281625dd82cdf0d
c8c2455221baca20421082b7715eaa0a712af7f1
8e5c10a0c61ddaa5eabbd15344258f53ce6971ee

0 comments on commit c1584bf

Please sign in to comment.