From 456086ab0d1d1d3a52c8ad80edee4c5fdd145592 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 8 Apr 2025 12:31:15 +0000 Subject: [PATCH] build(codegen): updating SDK --- .../api/models/cart/DiscountOnTotalPrice.java | 12 ++++++++---- .../cart/DiscountOnTotalPriceBuilder.java | 18 ++++++++++++------ .../models/cart/DiscountOnTotalPriceImpl.java | 6 ++++-- .../CartDiscountTotalPriceTarget.java | 2 +- .../CartDiscountTotalPriceTargetImpl.java | 2 +- references.txt | 1 + 6 files changed, 27 insertions(+), 14 deletions(-) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPrice.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPrice.java index 422fd394022..06aad5e4157 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPrice.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPrice.java @@ -54,7 +54,8 @@ public interface DiscountOnTotalPrice { public List getIncludedDiscounts(); /** - *

Money value of the discount on the total net price of the Cart or Order. Present only when taxedPrice of the Cart or Order exists.

+ *

Money value of the discount on the total net price of the Cart or Order.

+ *

The same percentage of discount applies as on the discountedAmount. Present only when taxedPrice of the Cart or Order exists.

* @return discountedNetAmount */ @Valid @@ -62,7 +63,8 @@ public interface DiscountOnTotalPrice { public TypedMoney getDiscountedNetAmount(); /** - *

Money value of the discount on the total gross price of the Cart or Order. Present only when taxedPrice of the Cart or Order exists.

+ *

Money value of the discount on the total gross price of the Cart or Order.

+ *

The same percentage of discount applies as on the discountedAmount. Present only when taxedPrice of the Cart or Order exists.

* @return discountedGrossAmount */ @Valid @@ -92,14 +94,16 @@ public interface DiscountOnTotalPrice { public void setIncludedDiscounts(final List includedDiscounts); /** - *

Money value of the discount on the total net price of the Cart or Order. Present only when taxedPrice of the Cart or Order exists.

+ *

Money value of the discount on the total net price of the Cart or Order.

+ *

The same percentage of discount applies as on the discountedAmount. Present only when taxedPrice of the Cart or Order exists.

* @param discountedNetAmount value to be set */ public void setDiscountedNetAmount(final TypedMoney discountedNetAmount); /** - *

Money value of the discount on the total gross price of the Cart or Order. Present only when taxedPrice of the Cart or Order exists.

+ *

Money value of the discount on the total gross price of the Cart or Order.

+ *

The same percentage of discount applies as on the discountedAmount. Present only when taxedPrice of the Cart or Order exists.

* @param discountedGrossAmount value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPriceBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPriceBuilder.java index ddb7019228a..7afa6a79f12 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPriceBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPriceBuilder.java @@ -153,7 +153,8 @@ public DiscountOnTotalPriceBuilder setIncludedDiscounts( } /** - *

Money value of the discount on the total net price of the Cart or Order. Present only when taxedPrice of the Cart or Order exists.

+ *

Money value of the discount on the total net price of the Cart or Order.

+ *

The same percentage of discount applies as on the discountedAmount. Present only when taxedPrice of the Cart or Order exists.

* @param discountedNetAmount value to be set * @return Builder */ @@ -165,7 +166,8 @@ public DiscountOnTotalPriceBuilder discountedNetAmount( } /** - *

Money value of the discount on the total net price of the Cart or Order. Present only when taxedPrice of the Cart or Order exists.

+ *

Money value of the discount on the total net price of the Cart or Order.

+ *

The same percentage of discount applies as on the discountedAmount. Present only when taxedPrice of the Cart or Order exists.

* @param builder function to build the discountedNetAmount value * @return Builder */ @@ -177,7 +179,8 @@ public DiscountOnTotalPriceBuilder discountedNetAmount( } /** - *

Money value of the discount on the total gross price of the Cart or Order. Present only when taxedPrice of the Cart or Order exists.

+ *

Money value of the discount on the total gross price of the Cart or Order.

+ *

The same percentage of discount applies as on the discountedAmount. Present only when taxedPrice of the Cart or Order exists.

* @param discountedGrossAmount value to be set * @return Builder */ @@ -189,7 +192,8 @@ public DiscountOnTotalPriceBuilder discountedGrossAmount( } /** - *

Money value of the discount on the total gross price of the Cart or Order. Present only when taxedPrice of the Cart or Order exists.

+ *

Money value of the discount on the total gross price of the Cart or Order.

+ *

The same percentage of discount applies as on the discountedAmount. Present only when taxedPrice of the Cart or Order exists.

* @param builder function to build the discountedGrossAmount value * @return Builder */ @@ -219,7 +223,8 @@ public java.util.ListMoney value of the discount on the total net price of the Cart or Order. Present only when taxedPrice of the Cart or Order exists.

+ *

Money value of the discount on the total net price of the Cart or Order.

+ *

The same percentage of discount applies as on the discountedAmount. Present only when taxedPrice of the Cart or Order exists.

* @return discountedNetAmount */ @@ -229,7 +234,8 @@ public com.commercetools.api.models.common.TypedMoney getDiscountedNetAmount() { } /** - *

Money value of the discount on the total gross price of the Cart or Order. Present only when taxedPrice of the Cart or Order exists.

+ *

Money value of the discount on the total gross price of the Cart or Order.

+ *

The same percentage of discount applies as on the discountedAmount. Present only when taxedPrice of the Cart or Order exists.

* @return discountedGrossAmount */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPriceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPriceImpl.java index 41214f30a32..23db75a552d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPriceImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPriceImpl.java @@ -68,7 +68,8 @@ public java.util.ListMoney value of the discount on the total net price of the Cart or Order. Present only when taxedPrice of the Cart or Order exists.

+ *

Money value of the discount on the total net price of the Cart or Order.

+ *

The same percentage of discount applies as on the discountedAmount. Present only when taxedPrice of the Cart or Order exists.

*/ public com.commercetools.api.models.common.TypedMoney getDiscountedNetAmount() { @@ -76,7 +77,8 @@ public com.commercetools.api.models.common.TypedMoney getDiscountedNetAmount() { } /** - *

Money value of the discount on the total gross price of the Cart or Order. Present only when taxedPrice of the Cart or Order exists.

+ *

Money value of the discount on the total gross price of the Cart or Order.

+ *

The same percentage of discount applies as on the discountedAmount. Present only when taxedPrice of the Cart or Order exists.

*/ public com.commercetools.api.models.common.TypedMoney getDiscountedGrossAmount() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTotalPriceTarget.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTotalPriceTarget.java index 19693f7d5b4..44a72d28030 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTotalPriceTarget.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTotalPriceTarget.java @@ -13,7 +13,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

Discount is applied to the total price of the Cart.

+ *

Discount is applied to the total price of the Cart. The same percentage of discount applies on the Cart or Order taxedPrice.

* *
* Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTotalPriceTargetImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTotalPriceTargetImpl.java index da06e57651d..0bc61772f3a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTotalPriceTargetImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTotalPriceTargetImpl.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

Discount is applied to the total price of the Cart.

+ *

Discount is applied to the total price of the Cart. The same percentage of discount applies on the Cart or Order taxedPrice.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CartDiscountTotalPriceTargetImpl implements CartDiscountTotalPriceTarget, ModelBase { diff --git a/references.txt b/references.txt index fe8e4c0ce28..6069a816342 100644 --- a/references.txt +++ b/references.txt @@ -397,3 +397,4 @@ ab43d3845fcab04a4e74bada3ddedf2d8b28472f 275ce2cae5cbd358f01c3a2f4583b536b50cb1dd b249fe4545f983d5dc7a0f5260d840a1344cbd77 f2c3348614fec5fe51dfb7adac8744e033626b8b +535ee58310a5fb706c9946aaac9cdc638af996db