From ea0b1cdc4c6089559bdf455a5427fe04f36d6227 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Wed, 18 Sep 2024 09:28:13 +0000 Subject: [PATCH] build(codegen): updating SDK --- .../StandalonePriceSetDiscountedPriceAction.java | 5 ++++- .../StandalonePriceSetDiscountedPriceActionBuilder.java | 4 ++++ .../StandalonePriceSetDiscountedPriceActionImpl.java | 4 +++- reference.txt | 1 + references.txt | 1 + 5 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 reference.txt diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceAction.java index a9331784feb..3a53a74bd7b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceAction.java @@ -16,7 +16,8 @@ import jakarta.validation.Valid; /** - *

Discounts a Standalone Price. The referenced ProductDiscount in the discounted field must be of type external, active, and its predicate must match the referenced Price. Produces the StandalonePriceExternalDiscountSet Message.

+ *

Discounts a Standalone Price of a Product Variant on a published Product. If the Product Variant does not exist or if it exists only in the staged representation of a Product, an InvalidOperationError error is returned.

+ *

Produces the StandalonePriceExternalDiscountSet Message.

* *
* Example to create an instance using the builder pattern @@ -38,6 +39,7 @@ public interface StandalonePriceSetDiscountedPriceAction extends StandalonePrice /** *

Value to set. If empty, any existing value will be removed.

+ *

The referenced ProductDiscount must be of type external, active, and its predicate must match the referenced Price.

* @return discounted */ @Valid @@ -46,6 +48,7 @@ public interface StandalonePriceSetDiscountedPriceAction extends StandalonePrice /** *

Value to set. If empty, any existing value will be removed.

+ *

The referenced ProductDiscount must be of type external, active, and its predicate must match the referenced Price.

* @param discounted value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceActionBuilder.java index e7382f8ff39..41ac84f3dc0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceActionBuilder.java @@ -29,6 +29,7 @@ public class StandalonePriceSetDiscountedPriceActionBuilder /** *

Value to set. If empty, any existing value will be removed.

+ *

The referenced ProductDiscount must be of type external, active, and its predicate must match the referenced Price.

* @param builder function to build the discounted value * @return Builder */ @@ -41,6 +42,7 @@ public StandalonePriceSetDiscountedPriceActionBuilder discounted( /** *

Value to set. If empty, any existing value will be removed.

+ *

The referenced ProductDiscount must be of type external, active, and its predicate must match the referenced Price.

* @param builder function to build the discounted value * @return Builder */ @@ -53,6 +55,7 @@ public StandalonePriceSetDiscountedPriceActionBuilder withDiscounted( /** *

Value to set. If empty, any existing value will be removed.

+ *

The referenced ProductDiscount must be of type external, active, and its predicate must match the referenced Price.

* @param discounted value to be set * @return Builder */ @@ -65,6 +68,7 @@ public StandalonePriceSetDiscountedPriceActionBuilder discounted( /** *

Value to set. If empty, any existing value will be removed.

+ *

The referenced ProductDiscount must be of type external, active, and its predicate must match the referenced Price.

* @return discounted */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceActionImpl.java index fedf211a401..2e3ece0b13e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceSetDiscountedPriceActionImpl.java @@ -17,7 +17,8 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

Discounts a Standalone Price. The referenced ProductDiscount in the discounted field must be of type external, active, and its predicate must match the referenced Price. Produces the StandalonePriceExternalDiscountSet Message.

+ *

Discounts a Standalone Price of a Product Variant on a published Product. If the Product Variant does not exist or if it exists only in the staged representation of a Product, an InvalidOperationError error is returned.

+ *

Produces the StandalonePriceExternalDiscountSet Message.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StandalonePriceSetDiscountedPriceActionImpl implements StandalonePriceSetDiscountedPriceAction, ModelBase { @@ -53,6 +54,7 @@ public String getAction() { /** *

Value to set. If empty, any existing value will be removed.

+ *

The referenced ProductDiscount must be of type external, active, and its predicate must match the referenced Price.

*/ public com.commercetools.api.models.common.DiscountedPriceDraft getDiscounted() { diff --git a/reference.txt b/reference.txt new file mode 100644 index 00000000000..26149c7a158 --- /dev/null +++ b/reference.txt @@ -0,0 +1 @@ +6d3821f57817bc18e976047893efd44536c9fa9c diff --git a/references.txt b/references.txt index 7d202a12cf2..d56cea9e94d 100644 --- a/references.txt +++ b/references.txt @@ -304,3 +304,4 @@ fa091aad2bce74e0d07ee69a886f4cd9ae02e05d ce56ab7c65a688f75d5cd4095378d6647c6bd9ae 4b2ade81b4e216628dd4a26448cd1c838f5a85b1 0065cdd802adcbf53195095773ccc5a2becca69e +ce2753aafee0b1d96970abb600b606748ce40568