From fb76f568e06f870314d0c052e90f966aa0e82c35 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 05:44:34 +0000 Subject: [PATCH] build(codegen): updating SDK --- .../StandalonePriceImport.java | 24 +++++------ .../StandalonePriceImportBuilder.java | 40 +++++++++---------- .../StandalonePriceImportImpl.java | 12 +++--- references.txt | 1 + 4 files changed, 39 insertions(+), 38 deletions(-) diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImport.java index 33b17b80d2..58d834874e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImport.java @@ -69,8 +69,8 @@ public interface StandalonePriceImport extends ImportResource { public TypedMoney getValue(); /** - *
Sets the country for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the country for this Price, if the Price does not yet have a country.
+ *The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.
* @return country */ @@ -78,8 +78,8 @@ public interface StandalonePriceImport extends ImportResource { public String getCountry(); /** - *Sets the CustomerGroup for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.
+ *The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.
* @return customerGroup */ @Valid @@ -87,8 +87,8 @@ public interface StandalonePriceImport extends ImportResource { public CustomerGroupKeyReference getCustomerGroup(); /** - *Sets the product distribution Channel for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.
+ *The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.
* @return channel */ @Valid @@ -157,24 +157,24 @@ public interface StandalonePriceImport extends ImportResource { public void setValue(final TypedMoney value); /** - *Sets the country for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the country for this Price, if the Price does not yet have a country.
+ *The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.
* @param country value to be set */ public void setCountry(final String country); /** - *Sets the CustomerGroup for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.
+ *The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.
* @param customerGroup value to be set */ public void setCustomerGroup(final CustomerGroupKeyReference customerGroup); /** - *Sets the product distribution Channel for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.
+ *The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.
* @param channel value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportBuilder.java index 7405df1d8d..aabd6f20cc 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportBuilder.java @@ -102,8 +102,8 @@ public StandalonePriceImportBuilder value( } /** - *Sets the country for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the country for this Price, if the Price does not yet have a country.
+ *The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.
* @param country value to be set * @return Builder */ @@ -114,8 +114,8 @@ public StandalonePriceImportBuilder country(@Nullable final String country) { } /** - *Sets the CustomerGroup for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.
+ *The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.
* @param builder function to build the customerGroup value * @return Builder */ @@ -129,8 +129,8 @@ public StandalonePriceImportBuilder customerGroup( } /** - *Sets the CustomerGroup for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.
+ *The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.
* @param builder function to build the customerGroup value * @return Builder */ @@ -143,8 +143,8 @@ public StandalonePriceImportBuilder withCustomerGroup( } /** - *Sets the CustomerGroup for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.
+ *The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.
* @param customerGroup value to be set * @return Builder */ @@ -156,8 +156,8 @@ public StandalonePriceImportBuilder customerGroup( } /** - *Sets the product distribution Channel for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.
+ *The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.
* @param builder function to build the channel value * @return Builder */ @@ -169,8 +169,8 @@ public StandalonePriceImportBuilder channel( } /** - *Sets the product distribution Channel for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.
+ *The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.
* @param builder function to build the channel value * @return Builder */ @@ -182,8 +182,8 @@ public StandalonePriceImportBuilder withChannel( } /** - *Sets the product distribution Channel for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.
+ *The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.
* @param channel value to be set * @return Builder */ @@ -405,8 +405,8 @@ public com.commercetools.importapi.models.common.TypedMoney getValue() { } /** - *Sets the country for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the country for this Price, if the Price does not yet have a country.
+ *The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.
* @return country */ @@ -416,8 +416,8 @@ public String getCountry() { } /** - *Sets the CustomerGroup for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.
+ *The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.
* @return customerGroup */ @@ -427,8 +427,8 @@ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCu } /** - *Sets the product distribution Channel for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.
+ *The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.
* @return channel */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportImpl.java index 3eabd9ce7b..08531de89e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportImpl.java @@ -102,8 +102,8 @@ public com.commercetools.importapi.models.common.TypedMoney getValue() { } /** - *Sets the country for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the country for this Price, if the Price does not yet have a country.
+ *The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.
*/ public String getCountry() { @@ -111,8 +111,8 @@ public String getCountry() { } /** - *Sets the CustomerGroup for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.
+ *The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.
*/ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCustomerGroup() { @@ -120,8 +120,8 @@ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCu } /** - *Sets the product distribution Channel for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.
+ *The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.
*/ public com.commercetools.importapi.models.common.ChannelKeyReference getChannel() { diff --git a/references.txt b/references.txt index 32b81b715f..af6c79bb42 100644 --- a/references.txt +++ b/references.txt @@ -337,3 +337,4 @@ b747e1fa4f246b748a89bccbfd8a43f5b6f51175 505b3af56b4452b22dfb595f93e010b3e2fccc53 7375cdc26481ba55e756479a87270432635bfcf7 df53588d26d7953dfdf44166866ca03045f0a70b +6b69c5425fe16564147deb9b1d6a9a1078dc5330