From 6c3f7a025947768ec51bcebe8e66ef78d68ecee1 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 4 Mar 2025 13:29:35 +0000 Subject: [PATCH] build(codegen): updating SDK --- .../CartDiscountValueAbsoluteDraft.java | 12 +++---- ...CartDiscountValueAbsoluteDraftBuilder.java | 32 +++++++++---------- .../CartDiscountValueAbsoluteDraftImpl.java | 4 +-- .../CartDiscountValueFixedDraft.java | 12 +++---- .../CartDiscountValueFixedDraftBuilder.java | 32 +++++++++---------- .../CartDiscountValueFixedDraftImpl.java | 4 +-- .../ProductDiscountValueAbsoluteDraft.java | 12 +++---- ...ductDiscountValueAbsoluteDraftBuilder.java | 32 +++++++++---------- ...ProductDiscountValueAbsoluteDraftImpl.java | 4 +-- references.txt | 1 + 10 files changed, 73 insertions(+), 72 deletions(-) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraft.java index 21439cc5b39..9a852c22dd8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraft.java @@ -41,8 +41,8 @@ public interface CartDiscountValueAbsoluteDraft String ABSOLUTE = "absolute"; /** - *
Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @return money */ @NotNull @@ -60,8 +60,8 @@ public interface CartDiscountValueAbsoluteDraft public DiscountApplicationMode getApplicationMode(); /** - *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money values to be set */ @@ -69,8 +69,8 @@ public interface CartDiscountValueAbsoluteDraft public void setMoney(final Money... money); /** - *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money values to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftBuilder.java index 2b873e76861..32ece08f355 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftBuilder.java @@ -30,8 +30,8 @@ public class CartDiscountValueAbsoluteDraftBuilder implements BuilderIf the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money value to be set * @return Builder */ @@ -42,8 +42,8 @@ public CartDiscountValueAbsoluteDraftBuilder money(final com.commercetools.api.m } /** - *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money value to be set * @return Builder */ @@ -55,8 +55,8 @@ public CartDiscountValueAbsoluteDraftBuilder money( } /** - *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money value to be set * @return Builder */ @@ -70,8 +70,8 @@ public CartDiscountValueAbsoluteDraftBuilder plusMoney(final com.commercetools.a } /** - *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param builder function to build the money value * @return Builder */ @@ -86,8 +86,8 @@ public CartDiscountValueAbsoluteDraftBuilder plusMoney( } /** - *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param builder function to build the money value * @return Builder */ @@ -100,8 +100,8 @@ public CartDiscountValueAbsoluteDraftBuilder withMoney( } /** - *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param builder function to build the money value * @return Builder */ @@ -112,8 +112,8 @@ public CartDiscountValueAbsoluteDraftBuilder addMoney( } /** - *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param builder function to build the money value * @return Builder */ @@ -137,8 +137,8 @@ public CartDiscountValueAbsoluteDraftBuilder applicationMode( } /** - *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @return money */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftImpl.java index bd20502322c..f2ec2c4cec0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftImpl.java @@ -56,8 +56,8 @@ public String getType() { } /** - *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
*/ public java.util.ListMoney values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @return money */ @NotNull @@ -60,8 +60,8 @@ public interface CartDiscountValueFixedDraft public DiscountApplicationMode getApplicationMode(); /** - *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money values to be set */ @@ -69,8 +69,8 @@ public interface CartDiscountValueFixedDraft public void setMoney(final Money... money); /** - *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money values to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedDraftBuilder.java index 04d2b95a4d7..56a5f185055 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedDraftBuilder.java @@ -30,8 +30,8 @@ public class CartDiscountValueFixedDraftBuilder implements BuilderIf the array is empty, the discount does not apply.
+ *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money value to be set * @return Builder */ @@ -42,8 +42,8 @@ public CartDiscountValueFixedDraftBuilder money(final com.commercetools.api.mode } /** - *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money value to be set * @return Builder */ @@ -55,8 +55,8 @@ public CartDiscountValueFixedDraftBuilder money( } /** - *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money value to be set * @return Builder */ @@ -70,8 +70,8 @@ public CartDiscountValueFixedDraftBuilder plusMoney(final com.commercetools.api. } /** - *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param builder function to build the money value * @return Builder */ @@ -86,8 +86,8 @@ public CartDiscountValueFixedDraftBuilder plusMoney( } /** - *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param builder function to build the money value * @return Builder */ @@ -100,8 +100,8 @@ public CartDiscountValueFixedDraftBuilder withMoney( } /** - *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param builder function to build the money value * @return Builder */ @@ -112,8 +112,8 @@ public CartDiscountValueFixedDraftBuilder addMoney( } /** - *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param builder function to build the money value * @return Builder */ @@ -137,8 +137,8 @@ public CartDiscountValueFixedDraftBuilder applicationMode( } /** - *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @return money */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedDraftImpl.java index 16cc1817934..87f510f23a9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedDraftImpl.java @@ -56,8 +56,8 @@ public String getType() { } /** - *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be discounted by 10€ and the matching $ price will be discounted to 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
*/ public java.util.ListMoney values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @return money */ @NotNull @@ -51,8 +51,8 @@ public interface ProductDiscountValueAbsoluteDraft public ListMoney values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money values to be set */ @@ -60,8 +60,8 @@ public interface ProductDiscountValueAbsoluteDraft public void setMoney(final Money... money); /** - *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money values to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteDraftBuilder.java index 6f8b7e2bc00..f6094d04074 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteDraftBuilder.java @@ -25,8 +25,8 @@ public class ProductDiscountValueAbsoluteDraftBuilder implements BuilderMoney values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money value to be set * @return Builder */ @@ -37,8 +37,8 @@ public ProductDiscountValueAbsoluteDraftBuilder money(final com.commercetools.ap } /** - *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money value to be set * @return Builder */ @@ -50,8 +50,8 @@ public ProductDiscountValueAbsoluteDraftBuilder money( } /** - *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param money value to be set * @return Builder */ @@ -66,8 +66,8 @@ public ProductDiscountValueAbsoluteDraftBuilder plusMoney( } /** - *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param builder function to build the money value * @return Builder */ @@ -82,8 +82,8 @@ public ProductDiscountValueAbsoluteDraftBuilder plusMoney( } /** - *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param builder function to build the money value * @return Builder */ @@ -96,8 +96,8 @@ public ProductDiscountValueAbsoluteDraftBuilder withMoney( } /** - *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param builder function to build the money value * @return Builder */ @@ -108,8 +108,8 @@ public ProductDiscountValueAbsoluteDraftBuilder addMoney( } /** - *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @param builder function to build the money value * @return Builder */ @@ -120,8 +120,8 @@ public ProductDiscountValueAbsoluteDraftBuilder setMoney( } /** - *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
* @return money */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteDraftImpl.java index b07c0f869e2..8869fac7c0d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_discount/ProductDiscountValueAbsoluteDraftImpl.java @@ -52,8 +52,8 @@ public String getType() { } /** - *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.
- *If the array is empty, the discount does not apply.
+ *Money values in different currencies. An absolute Product Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
+ *If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.
*/ public java.util.List