From b95d128e2d8f14fd1aee07d246a5f542a8ecea1a Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 07:31:34 +0000 Subject: [PATCH] build(codegen): updating SDK --- changes.md | 2 ++ .../commercetools/api/models/order/Order.java | 9 +++--- .../api/models/order/OrderBuilder.java | 29 ++++++++++++++----- .../api/models/order/OrderImpl.java | 8 ++--- .../api/models/order_edit/StagedOrder.java | 3 +- .../models/order_edit/StagedOrderBuilder.java | 29 ++++++++++++++----- .../models/order_edit/StagedOrderImpl.java | 8 ++--- .../query/order/OrderQueryBuilderDsl.java | 9 +++--- .../StagedOrderQueryBuilderDsl.java | 9 +++--- .../api/models/order/OrderTest.java | 7 +++-- references.txt | 1 + 11 files changed, 72 insertions(+), 42 deletions(-) diff --git a/changes.md b/changes.md index 7b038d2ae2d..048f1ace496 100644 --- a/changes.md +++ b/changes.md @@ -5,6 +5,8 @@ - :warning: changed property `line` of type `GraphQLErrorLocation` from type `integer` to `number` - :warning: changed property `column` of type `GraphQLErrorLocation` from type `integer` to `number` +- :warning: changed property `totalPrice` of type `StagedOrder` from type `TypedMoney` to `CentPrecisionMoney` +- :warning: changed property `totalPrice` of type `Order` from type `TypedMoney` to `CentPrecisionMoney` diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/Order.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/Order.java index 345a614b692..cf456944fa7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/Order.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/Order.java @@ -29,9 +29,9 @@ import com.commercetools.api.models.cart_discount.CartDiscountReference; import com.commercetools.api.models.common.Address; import com.commercetools.api.models.common.BaseResource; +import com.commercetools.api.models.common.CentPrecisionMoney; import com.commercetools.api.models.common.CreatedBy; import com.commercetools.api.models.common.LastModifiedBy; -import com.commercetools.api.models.common.TypedMoney; import com.commercetools.api.models.customer_group.CustomerGroupReference; import com.commercetools.api.models.quote.QuoteReference; import com.commercetools.api.models.state.StateReference; @@ -183,7 +183,7 @@ public interface Order extends BaseResource, OrderMixin, com.commercetools.api.m @NotNull @Valid @JsonProperty("totalPrice") - public TypedMoney getTotalPrice(); + public CentPrecisionMoney getTotalPrice(); /** *