From f346194f197eead26d944b5a042141030c41ade9 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 08:52:17 +0000 Subject: [PATCH] build(codegen): updating SDK --- .../api/models/common/DiscountedPriceDraft.java | 2 ++ .../api/models/common/DiscountedPriceDraftBuilder.java | 4 ++++ .../api/models/common/DiscountedPriceDraftImpl.java | 1 + .../com/commercetools/api/models/common/PriceDraft.java | 2 ++ .../api/models/common/PriceDraftBuilder.java | 4 ++++ .../commercetools/api/models/common/PriceDraftImpl.java | 1 + .../commercetools/api/models/common/PriceTierDraft.java | 4 ++-- .../api/models/common/PriceTierDraftBuilder.java | 8 ++++---- .../api/models/common/PriceTierDraftImpl.java | 2 +- .../StandalonePriceChangeValueAction.java | 2 ++ .../StandalonePriceChangeValueActionBuilder.java | 4 ++++ .../StandalonePriceChangeValueActionImpl.java | 1 + .../api/models/standalone_price/StandalonePriceDraft.java | 2 ++ .../standalone_price/StandalonePriceDraftBuilder.java | 4 ++++ .../models/standalone_price/StandalonePriceDraftImpl.java | 1 + references.txt | 1 + 16 files changed, 36 insertions(+), 7 deletions(-) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraft.java index 59e5a4634db..a66a147a4d1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraft.java @@ -36,6 +36,7 @@ public interface DiscountedPriceDraft extends io.vrap.rmf.base.client.DraftSets the money value for the discounted price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @return value */ @NotNull @@ -54,6 +55,7 @@ public interface DiscountedPriceDraft extends io.vrap.rmf.base.client.DraftSets the money value for the discounted price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraftBuilder.java index 77280a2e9e5..8778f590f3e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraftBuilder.java @@ -29,6 +29,7 @@ public class DiscountedPriceDraftBuilder implements BuilderSets the money value for the discounted price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

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

Sets the money value for the discounted price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

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

Sets the money value for the discounted price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @param value value to be set * @return Builder */ @@ -103,6 +106,7 @@ public DiscountedPriceDraftBuilder discount( /** *

Sets the money value for the discounted price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraftImpl.java index e943ee5a0e9..40719452adc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/DiscountedPriceDraftImpl.java @@ -44,6 +44,7 @@ public DiscountedPriceDraftImpl() { /** *

Sets the money value for the discounted price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

*/ public com.commercetools.api.models.common.Money getValue() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraft.java index d252683ad7c..cb518398508 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraft.java @@ -48,6 +48,7 @@ public interface PriceDraft extends com.commercetools.api.models.CustomizableDra /** *

Money value of this Price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @return value */ @NotNull @@ -135,6 +136,7 @@ public interface PriceDraft extends com.commercetools.api.models.CustomizableDra /** *

Money value of this Price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftBuilder.java index a180240c9e8..40b6cc5c1ef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftBuilder.java @@ -66,6 +66,7 @@ public PriceDraftBuilder key(@Nullable final String key) { /** *

Money value of this Price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @param builder function to build the value value * @return Builder */ @@ -78,6 +79,7 @@ public PriceDraftBuilder value( /** *

Money value of this Price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @param builder function to build the value value * @return Builder */ @@ -90,6 +92,7 @@ public PriceDraftBuilder withValue( /** *

Money value of this Price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @param value value to be set * @return Builder */ @@ -403,6 +406,7 @@ public String getKey() { /** *

Money value of this Price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftImpl.java index 14f119c7bf6..ac2ca8b87b5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceDraftImpl.java @@ -84,6 +84,7 @@ public String getKey() { /** *

Money value of this Price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

*/ public com.commercetools.api.models.common.Money getValue() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraft.java index a6a0c7cad46..38c5fdd0223 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraft.java @@ -43,7 +43,7 @@ public interface PriceTierDraft extends io.vrap.rmf.base.client.DraftMoney value that applies when the minimumQuantity is greater than or equal to the LineItem quantity.

+ *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity. To set the money value in high precision, use HighPrecisionMoneyDraft.

*

The currencyCode of a Price tier must be the same as the currencyCode in the value of the related Price.

* @return value */ @@ -61,7 +61,7 @@ public interface PriceTierDraft extends io.vrap.rmf.base.client.DraftMoney value that applies when the minimumQuantity is greater than or equal to the LineItem quantity.

+ *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity. To set the money value in high precision, use HighPrecisionMoneyDraft.

*

The currencyCode of a Price tier must be the same as the currencyCode in the value of the related Price.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraftBuilder.java index 39e02289e25..bba136aa799 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraftBuilder.java @@ -40,7 +40,7 @@ public PriceTierDraftBuilder minimumQuantity(final Long minimumQuantity) { } /** - *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity.

+ *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity. To set the money value in high precision, use HighPrecisionMoneyDraft.

*

The currencyCode of a Price tier must be the same as the currencyCode in the value of the related Price.

* @param builder function to build the value value * @return Builder @@ -53,7 +53,7 @@ public PriceTierDraftBuilder value( } /** - *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity.

+ *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity. To set the money value in high precision, use HighPrecisionMoneyDraft.

*

The currencyCode of a Price tier must be the same as the currencyCode in the value of the related Price.

* @param builder function to build the value value * @return Builder @@ -66,7 +66,7 @@ public PriceTierDraftBuilder withValue( } /** - *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity.

+ *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity. To set the money value in high precision, use HighPrecisionMoneyDraft.

*

The currencyCode of a Price tier must be the same as the currencyCode in the value of the related Price.

* @param value value to be set * @return Builder @@ -88,7 +88,7 @@ public Long getMinimumQuantity() { } /** - *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity.

+ *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity. To set the money value in high precision, use HighPrecisionMoneyDraft.

*

The currencyCode of a Price tier must be the same as the currencyCode in the value of the related Price.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraftImpl.java index 955a9a5a3b3..2c0b610e291 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/PriceTierDraftImpl.java @@ -52,7 +52,7 @@ public Long getMinimumQuantity() { } /** - *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity.

+ *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity. To set the money value in high precision, use HighPrecisionMoneyDraft.

*

The currencyCode of a Price tier must be the same as the currencyCode in the value of the related Price.

*/ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueAction.java index 30b49a9ec78..ab4bc33ba30 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueAction.java @@ -40,6 +40,7 @@ public interface StandalonePriceChangeValueAction extends StandalonePriceUpdateA /** *

New value to set. Must not be empty.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @return value */ @NotNull @@ -57,6 +58,7 @@ public interface StandalonePriceChangeValueAction extends StandalonePriceUpdateA /** *

New value to set. Must not be empty.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionBuilder.java index 862a4aea6bb..974d0979176 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionBuilder.java @@ -31,6 +31,7 @@ public class StandalonePriceChangeValueActionBuilder implements BuilderNew value to set. Must not be empty.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @param builder function to build the value value * @return Builder */ @@ -43,6 +44,7 @@ public StandalonePriceChangeValueActionBuilder value( /** *

New value to set. Must not be empty.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @param builder function to build the value value * @return Builder */ @@ -55,6 +57,7 @@ public StandalonePriceChangeValueActionBuilder withValue( /** *

New value to set. Must not be empty.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @param value value to be set * @return Builder */ @@ -77,6 +80,7 @@ public StandalonePriceChangeValueActionBuilder staged(@Nullable final Boolean st /** *

New value to set. Must not be empty.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionImpl.java index 8e7f6092915..d8eacaacb09 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceChangeValueActionImpl.java @@ -56,6 +56,7 @@ public String getAction() { /** *

New value to set. Must not be empty.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

*/ public com.commercetools.api.models.common.Money getValue() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraft.java index 2ddb307b9ab..92106915cb3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraft.java @@ -60,6 +60,7 @@ public interface StandalonePriceDraft extends com.commercetools.api.models.Custo /** *

Sets the money value of this Price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @return value */ @NotNull @@ -164,6 +165,7 @@ public interface StandalonePriceDraft extends com.commercetools.api.models.Custo /** *

Sets the money value of this Price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftBuilder.java index feefe7f20a3..75a81a01f33 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftBuilder.java @@ -86,6 +86,7 @@ public StandalonePriceDraftBuilder sku(final String sku) { /** *

Sets the money value of this Price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @param builder function to build the value value * @return Builder */ @@ -98,6 +99,7 @@ public StandalonePriceDraftBuilder value( /** *

Sets the money value of this Price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @param builder function to build the value value * @return Builder */ @@ -110,6 +112,7 @@ public StandalonePriceDraftBuilder withValue( /** *

Sets the money value of this Price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @param value value to be set * @return Builder */ @@ -464,6 +467,7 @@ public String getSku() { /** *

Sets the money value of this Price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftImpl.java index d9ddc71cf4f..2d5748979cb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/standalone_price/StandalonePriceDraftImpl.java @@ -103,6 +103,7 @@ public String getSku() { /** *

Sets the money value of this Price.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

*/ public com.commercetools.api.models.common.Money getValue() { diff --git a/references.txt b/references.txt index af6c79bb424..909bf554534 100644 --- a/references.txt +++ b/references.txt @@ -338,3 +338,4 @@ b747e1fa4f246b748a89bccbfd8a43f5b6f51175 7375cdc26481ba55e756479a87270432635bfcf7 df53588d26d7953dfdf44166866ca03045f0a70b 6b69c5425fe16564147deb9b1d6a9a1078dc5330 +99e7aa1c7e3ba67a59b6df3efbaf4e320611c549