From 2a3afacb1eb6496e729662e2e6f05c6e0bd3c34d Mon Sep 17 00:00:00 2001 From: Jens Schulze Date: Mon, 7 Aug 2023 10:52:29 +0200 Subject: [PATCH] mark OrderResourceIdentifier as deprecated --- api-java-mixin.raml | 10 ++++++++++ .../com/commercetools/docs/meta/HelperMethods.java | 2 -- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/api-java-mixin.raml b/api-java-mixin.raml index 9d93e115577..5c4324f4c03 100644 --- a/api-java-mixin.raml +++ b/api-java-mixin.raml @@ -259,6 +259,16 @@ types: (java-extends): 'com.commercetools.api.models.Identifiable' OrderResourceIdentifier: (java-extends): 'com.commercetools.api.models.Identifiable' + (package): Order + type: ResourceIdentifier + (markDeprecated): true + displayName: OrderResourceIdentifier + discriminatorValue: order + properties: + id?: + type: string + key?: + type: string OrderUpdate: (java-extends): 'com.commercetools.api.models.ResourceUpdate' OrderUpdateAction: diff --git a/commercetools/internal-docs/src/main/java/com/commercetools/docs/meta/HelperMethods.java b/commercetools/internal-docs/src/main/java/com/commercetools/docs/meta/HelperMethods.java index 9e18242ac5a..0d9454e4805 100644 --- a/commercetools/internal-docs/src/main/java/com/commercetools/docs/meta/HelperMethods.java +++ b/commercetools/internal-docs/src/main/java/com/commercetools/docs/meta/HelperMethods.java @@ -45,8 +45,6 @@ * {@include.example example.HelperMethodsTest#cartSetCustomLineItemCustomFieldUnset()} *

{@link com.commercetools.api.models.cart.CartSetDeleteDaysAfterLastModificationAction#ofUnset()}

* {@include.example example.HelperMethodsTest#cartSetDeleteDaysAfterLastModificationUnset()} - *

{@link com.commercetools.api.models.cart.CartSetDeliveryAddressCustomFieldAction#ofUnset(String, String)}

- * {@include.example example.HelperMethodsTest#cartSetDeliveryAddressCustomFieldUnset()} *

{@link com.commercetools.api.models.cart.CartSetItemShippingAddressCustomFieldAction#ofUnset(String, String)}

* {@include.example example.HelperMethodsTest#cartSetItemShippingAddressCustomFieldUnset()} *

{@link com.commercetools.api.models.cart.CartSetShippingAddressCustomFieldAction#ofUnset(String)}