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(); /** *