diff --git a/changes.md b/changes.md index 589ac6f198b..afce4f71260 100644 --- a/changes.md +++ b/changes.md @@ -1,36 +1,15 @@ **Api changes**
-Changed Property(s) - -- :warning: changed property `value` of type `DirectDiscountDraft` from type `CartDiscountValue` to `CartDiscountValueDraft` -- :warning: changed property `totalPrice` of type `OrderLineItemDiscountSetMessage` from type `Money` to `CentPrecisionMoney` -- :warning: changed property `value` of type `StandalonePriceValueChangedMessage` from type `Money` to `TypedMoney` -- :warning: changed property `oldValue` of type `StandalonePriceValueChangedMessage` from type `Money` to `TypedMoney` -- :warning: changed property `totalPrice` of type `OrderLineItemDiscountSetMessagePayload` from type `Money` to `CentPrecisionMoney` -- :warning: changed property `value` of type `StandalonePriceValueChangedMessagePayload` from type `Money` to `TypedMoney` -- :warning: changed property `oldValue` of type `StandalonePriceValueChangedMessagePayload` from type `Money` to `TypedMoney` -- :warning: changed property `price` of type `ShippingRate` from type `TypedMoney` to `CentPrecisionMoney` -- :warning: changed property `freeAbove` of type `ShippingRate` from type `TypedMoney` to `CentPrecisionMoney` -
- - -
-Required Property(s) - -- changed property `stores` of type `BusinessUnit` to be optional -- changed property `stores` of type `Company` to be optional -- changed property `stores` of type `Division` to be optional -- changed property `isOnStock` of type `ProductVariantAvailability` to be optional -
- - -
-Added Type(s) - -- added type `StagedOrderSetShippingCustomFieldAction` -- added type `StagedOrderSetShippingCustomTypeAction` -- added type `OrderSetShippingCustomFieldAction` -- added type `OrderSetShippingCustomTypeAction` +Removed QueryParameter(s) + +- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products` +- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products` +- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/key={key}` +- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/key={key}` +- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/key={key}` +- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/{ID}` +- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/{ID}` +- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/{ID}`
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java index dac98695e89..734bd5cf76f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java @@ -113,10 +113,6 @@ public List getPriceChannel() { return this.getQueryParam("priceChannel"); } - public List getLocaleProjection() { - return this.getQueryParam("localeProjection"); - } - public List getVersion() { return this.getQueryParam("version"); } @@ -457,87 +453,6 @@ public ByProjectKeyProductsByIDDelete addPriceChannel(final Collection< .collect(Collectors.toList())); } - /** - * set localeProjection with the specified value - * @param localeProjection value to be set - * @param value type - * @return ByProjectKeyProductsByIDDelete - */ - public ByProjectKeyProductsByIDDelete withLocaleProjection(final TValue localeProjection) { - return copy().withQueryParam("localeProjection", localeProjection); - } - - /** - * add additional localeProjection query parameter - * @param localeProjection value to be added - * @param value type - * @return ByProjectKeyProductsByIDDelete - */ - public ByProjectKeyProductsByIDDelete addLocaleProjection(final TValue localeProjection) { - return copy().addQueryParam("localeProjection", localeProjection); - } - - /** - * set localeProjection with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyProductsByIDDelete - */ - public ByProjectKeyProductsByIDDelete withLocaleProjection(final Supplier supplier) { - return copy().withQueryParam("localeProjection", supplier.get()); - } - - /** - * add additional localeProjection query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyProductsByIDDelete - */ - public ByProjectKeyProductsByIDDelete addLocaleProjection(final Supplier supplier) { - return copy().addQueryParam("localeProjection", supplier.get()); - } - - /** - * set localeProjection with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyProductsByIDDelete - */ - public ByProjectKeyProductsByIDDelete withLocaleProjection(final Function op) { - return copy().withQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * add additional localeProjection query parameter - * @param op builder for the value to be added - * @return ByProjectKeyProductsByIDDelete - */ - public ByProjectKeyProductsByIDDelete addLocaleProjection(final Function op) { - return copy().addQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * set localeProjection with the specified values - * @param localeProjection values to be set - * @param value type - * @return ByProjectKeyProductsByIDDelete - */ - public ByProjectKeyProductsByIDDelete withLocaleProjection(final Collection localeProjection) { - return copy().withoutQueryParam("localeProjection") - .addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - - /** - * add additional localeProjection query parameters - * @param localeProjection values to be added - * @param value type - * @return ByProjectKeyProductsByIDDelete - */ - public ByProjectKeyProductsByIDDelete addLocaleProjection(final Collection localeProjection) { - return copy().addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - /** * set version with the specified value * @param version value to be set diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java index a3d806875d1..ae70dc93eae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java @@ -109,10 +109,6 @@ public List getPriceChannel() { return this.getQueryParam("priceChannel"); } - public List getLocaleProjection() { - return this.getQueryParam("localeProjection"); - } - public List getExpand() { return this.getQueryParam("expand"); } @@ -449,87 +445,6 @@ public ByProjectKeyProductsByIDGet addPriceChannel(final Collection value type - * @return ByProjectKeyProductsByIDGet - */ - public ByProjectKeyProductsByIDGet withLocaleProjection(final TValue localeProjection) { - return copy().withQueryParam("localeProjection", localeProjection); - } - - /** - * add additional localeProjection query parameter - * @param localeProjection value to be added - * @param value type - * @return ByProjectKeyProductsByIDGet - */ - public ByProjectKeyProductsByIDGet addLocaleProjection(final TValue localeProjection) { - return copy().addQueryParam("localeProjection", localeProjection); - } - - /** - * set localeProjection with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyProductsByIDGet - */ - public ByProjectKeyProductsByIDGet withLocaleProjection(final Supplier supplier) { - return copy().withQueryParam("localeProjection", supplier.get()); - } - - /** - * add additional localeProjection query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyProductsByIDGet - */ - public ByProjectKeyProductsByIDGet addLocaleProjection(final Supplier supplier) { - return copy().addQueryParam("localeProjection", supplier.get()); - } - - /** - * set localeProjection with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyProductsByIDGet - */ - public ByProjectKeyProductsByIDGet withLocaleProjection(final Function op) { - return copy().withQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * add additional localeProjection query parameter - * @param op builder for the value to be added - * @return ByProjectKeyProductsByIDGet - */ - public ByProjectKeyProductsByIDGet addLocaleProjection(final Function op) { - return copy().addQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * set localeProjection with the specified values - * @param localeProjection values to be set - * @param value type - * @return ByProjectKeyProductsByIDGet - */ - public ByProjectKeyProductsByIDGet withLocaleProjection(final Collection localeProjection) { - return copy().withoutQueryParam("localeProjection") - .addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - - /** - * add additional localeProjection query parameters - * @param localeProjection values to be added - * @param value type - * @return ByProjectKeyProductsByIDGet - */ - public ByProjectKeyProductsByIDGet addLocaleProjection(final Collection localeProjection) { - return copy().addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - /** * set expand with the specified value * @param expand value to be set diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java index 672bfc94f70..5319b52a6a9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java @@ -119,10 +119,6 @@ public List getPriceChannel() { return this.getQueryParam("priceChannel"); } - public List getLocaleProjection() { - return this.getQueryParam("localeProjection"); - } - public List getExpand() { return this.getQueryParam("expand"); } @@ -459,87 +455,6 @@ public ByProjectKeyProductsByIDPost addPriceChannel(final Collection value type - * @return ByProjectKeyProductsByIDPost - */ - public ByProjectKeyProductsByIDPost withLocaleProjection(final TValue localeProjection) { - return copy().withQueryParam("localeProjection", localeProjection); - } - - /** - * add additional localeProjection query parameter - * @param localeProjection value to be added - * @param value type - * @return ByProjectKeyProductsByIDPost - */ - public ByProjectKeyProductsByIDPost addLocaleProjection(final TValue localeProjection) { - return copy().addQueryParam("localeProjection", localeProjection); - } - - /** - * set localeProjection with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyProductsByIDPost - */ - public ByProjectKeyProductsByIDPost withLocaleProjection(final Supplier supplier) { - return copy().withQueryParam("localeProjection", supplier.get()); - } - - /** - * add additional localeProjection query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyProductsByIDPost - */ - public ByProjectKeyProductsByIDPost addLocaleProjection(final Supplier supplier) { - return copy().addQueryParam("localeProjection", supplier.get()); - } - - /** - * set localeProjection with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyProductsByIDPost - */ - public ByProjectKeyProductsByIDPost withLocaleProjection(final Function op) { - return copy().withQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * add additional localeProjection query parameter - * @param op builder for the value to be added - * @return ByProjectKeyProductsByIDPost - */ - public ByProjectKeyProductsByIDPost addLocaleProjection(final Function op) { - return copy().addQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * set localeProjection with the specified values - * @param localeProjection values to be set - * @param value type - * @return ByProjectKeyProductsByIDPost - */ - public ByProjectKeyProductsByIDPost withLocaleProjection(final Collection localeProjection) { - return copy().withoutQueryParam("localeProjection") - .addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - - /** - * add additional localeProjection query parameters - * @param localeProjection values to be added - * @param value type - * @return ByProjectKeyProductsByIDPost - */ - public ByProjectKeyProductsByIDPost addLocaleProjection(final Collection localeProjection) { - return copy().addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - /** * set expand with the specified value * @param expand value to be set diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPostString.java index 791eb1bedf3..7a9670a3fa3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPostString.java @@ -119,10 +119,6 @@ public List getPriceChannel() { return this.getQueryParam("priceChannel"); } - public List getLocaleProjection() { - return this.getQueryParam("localeProjection"); - } - public List getExpand() { return this.getQueryParam("expand"); } @@ -461,87 +457,6 @@ public ByProjectKeyProductsByIDPostString addPriceChannel(final Collect .collect(Collectors.toList())); } - /** - * set localeProjection with the specified value - * @param value type - * @param localeProjection value to be set - * @return ByProjectKeyProductsByIDPostString - */ - public ByProjectKeyProductsByIDPostString withLocaleProjection(final TValue localeProjection) { - return copy().withQueryParam("localeProjection", localeProjection); - } - - /** - * add additional localeProjection query parameter - * @param value type - * @param localeProjection value to be added - * @return ByProjectKeyProductsByIDPostString - */ - public ByProjectKeyProductsByIDPostString addLocaleProjection(final TValue localeProjection) { - return copy().addQueryParam("localeProjection", localeProjection); - } - - /** - * set localeProjection with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyProductsByIDPostString - */ - public ByProjectKeyProductsByIDPostString withLocaleProjection(final Supplier supplier) { - return copy().withQueryParam("localeProjection", supplier.get()); - } - - /** - * add additional localeProjection query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyProductsByIDPostString - */ - public ByProjectKeyProductsByIDPostString addLocaleProjection(final Supplier supplier) { - return copy().addQueryParam("localeProjection", supplier.get()); - } - - /** - * set localeProjection with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyProductsByIDPostString - */ - public ByProjectKeyProductsByIDPostString withLocaleProjection(final Function op) { - return copy().withQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * add additional localeProjection query parameter - * @param op builder for the value to be added - * @return ByProjectKeyProductsByIDPostString - */ - public ByProjectKeyProductsByIDPostString addLocaleProjection(final Function op) { - return copy().addQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * set localeProjection with the specified values - * @param value type - * @param localeProjection values to be set - * @return ByProjectKeyProductsByIDPostString - */ - public ByProjectKeyProductsByIDPostString withLocaleProjection(final Collection localeProjection) { - return copy().withoutQueryParam("localeProjection") - .addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - - /** - * add additional localeProjection query parameters - * @param value type - * @param localeProjection values to be added - * @return ByProjectKeyProductsByIDPostString - */ - public ByProjectKeyProductsByIDPostString addLocaleProjection(final Collection localeProjection) { - return copy().addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - /** * set expand with the specified value * @param value type diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java index e7989eca3bb..ace176b5691 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java @@ -109,10 +109,6 @@ public List getPriceChannel() { return this.getQueryParam("priceChannel"); } - public List getLocaleProjection() { - return this.getQueryParam("localeProjection"); - } - public List getExpand() { return this.getQueryParam("expand"); } @@ -540,87 +536,6 @@ public ByProjectKeyProductsGet addPriceChannel(final Collection .collect(Collectors.toList())); } - /** - * set localeProjection with the specified value - * @param localeProjection value to be set - * @param value type - * @return ByProjectKeyProductsGet - */ - public ByProjectKeyProductsGet withLocaleProjection(final TValue localeProjection) { - return copy().withQueryParam("localeProjection", localeProjection); - } - - /** - * add additional localeProjection query parameter - * @param localeProjection value to be added - * @param value type - * @return ByProjectKeyProductsGet - */ - public ByProjectKeyProductsGet addLocaleProjection(final TValue localeProjection) { - return copy().addQueryParam("localeProjection", localeProjection); - } - - /** - * set localeProjection with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyProductsGet - */ - public ByProjectKeyProductsGet withLocaleProjection(final Supplier supplier) { - return copy().withQueryParam("localeProjection", supplier.get()); - } - - /** - * add additional localeProjection query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyProductsGet - */ - public ByProjectKeyProductsGet addLocaleProjection(final Supplier supplier) { - return copy().addQueryParam("localeProjection", supplier.get()); - } - - /** - * set localeProjection with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyProductsGet - */ - public ByProjectKeyProductsGet withLocaleProjection(final Function op) { - return copy().withQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * add additional localeProjection query parameter - * @param op builder for the value to be added - * @return ByProjectKeyProductsGet - */ - public ByProjectKeyProductsGet addLocaleProjection(final Function op) { - return copy().addQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * set localeProjection with the specified values - * @param localeProjection values to be set - * @param value type - * @return ByProjectKeyProductsGet - */ - public ByProjectKeyProductsGet withLocaleProjection(final Collection localeProjection) { - return copy().withoutQueryParam("localeProjection") - .addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - - /** - * add additional localeProjection query parameters - * @param localeProjection values to be added - * @param value type - * @return ByProjectKeyProductsGet - */ - public ByProjectKeyProductsGet addLocaleProjection(final Collection localeProjection) { - return copy().addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - /** * set expand with the specified value * @param expand value to be set diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java index 1359382fe2b..954bd2c92df 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java @@ -113,10 +113,6 @@ public List getPriceChannel() { return this.getQueryParam("priceChannel"); } - public List getLocaleProjection() { - return this.getQueryParam("localeProjection"); - } - public List getVersion() { return this.getQueryParam("version"); } @@ -459,87 +455,6 @@ public ByProjectKeyProductsKeyByKeyDelete addPriceChannel(final Collect .collect(Collectors.toList())); } - /** - * set localeProjection with the specified value - * @param localeProjection value to be set - * @param value type - * @return ByProjectKeyProductsKeyByKeyDelete - */ - public ByProjectKeyProductsKeyByKeyDelete withLocaleProjection(final TValue localeProjection) { - return copy().withQueryParam("localeProjection", localeProjection); - } - - /** - * add additional localeProjection query parameter - * @param localeProjection value to be added - * @param value type - * @return ByProjectKeyProductsKeyByKeyDelete - */ - public ByProjectKeyProductsKeyByKeyDelete addLocaleProjection(final TValue localeProjection) { - return copy().addQueryParam("localeProjection", localeProjection); - } - - /** - * set localeProjection with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyProductsKeyByKeyDelete - */ - public ByProjectKeyProductsKeyByKeyDelete withLocaleProjection(final Supplier supplier) { - return copy().withQueryParam("localeProjection", supplier.get()); - } - - /** - * add additional localeProjection query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyProductsKeyByKeyDelete - */ - public ByProjectKeyProductsKeyByKeyDelete addLocaleProjection(final Supplier supplier) { - return copy().addQueryParam("localeProjection", supplier.get()); - } - - /** - * set localeProjection with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyProductsKeyByKeyDelete - */ - public ByProjectKeyProductsKeyByKeyDelete withLocaleProjection(final Function op) { - return copy().withQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * add additional localeProjection query parameter - * @param op builder for the value to be added - * @return ByProjectKeyProductsKeyByKeyDelete - */ - public ByProjectKeyProductsKeyByKeyDelete addLocaleProjection(final Function op) { - return copy().addQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * set localeProjection with the specified values - * @param localeProjection values to be set - * @param value type - * @return ByProjectKeyProductsKeyByKeyDelete - */ - public ByProjectKeyProductsKeyByKeyDelete withLocaleProjection(final Collection localeProjection) { - return copy().withoutQueryParam("localeProjection") - .addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - - /** - * add additional localeProjection query parameters - * @param localeProjection values to be added - * @param value type - * @return ByProjectKeyProductsKeyByKeyDelete - */ - public ByProjectKeyProductsKeyByKeyDelete addLocaleProjection(final Collection localeProjection) { - return copy().addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - /** * set version with the specified value * @param version value to be set diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java index 74c1d905d08..f83b9ca0266 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java @@ -109,10 +109,6 @@ public List getPriceChannel() { return this.getQueryParam("priceChannel"); } - public List getLocaleProjection() { - return this.getQueryParam("localeProjection"); - } - public List getExpand() { return this.getQueryParam("expand"); } @@ -450,87 +446,6 @@ public ByProjectKeyProductsKeyByKeyGet addPriceChannel(final Collection .collect(Collectors.toList())); } - /** - * set localeProjection with the specified value - * @param localeProjection value to be set - * @param value type - * @return ByProjectKeyProductsKeyByKeyGet - */ - public ByProjectKeyProductsKeyByKeyGet withLocaleProjection(final TValue localeProjection) { - return copy().withQueryParam("localeProjection", localeProjection); - } - - /** - * add additional localeProjection query parameter - * @param localeProjection value to be added - * @param value type - * @return ByProjectKeyProductsKeyByKeyGet - */ - public ByProjectKeyProductsKeyByKeyGet addLocaleProjection(final TValue localeProjection) { - return copy().addQueryParam("localeProjection", localeProjection); - } - - /** - * set localeProjection with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyProductsKeyByKeyGet - */ - public ByProjectKeyProductsKeyByKeyGet withLocaleProjection(final Supplier supplier) { - return copy().withQueryParam("localeProjection", supplier.get()); - } - - /** - * add additional localeProjection query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyProductsKeyByKeyGet - */ - public ByProjectKeyProductsKeyByKeyGet addLocaleProjection(final Supplier supplier) { - return copy().addQueryParam("localeProjection", supplier.get()); - } - - /** - * set localeProjection with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyProductsKeyByKeyGet - */ - public ByProjectKeyProductsKeyByKeyGet withLocaleProjection(final Function op) { - return copy().withQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * add additional localeProjection query parameter - * @param op builder for the value to be added - * @return ByProjectKeyProductsKeyByKeyGet - */ - public ByProjectKeyProductsKeyByKeyGet addLocaleProjection(final Function op) { - return copy().addQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * set localeProjection with the specified values - * @param localeProjection values to be set - * @param value type - * @return ByProjectKeyProductsKeyByKeyGet - */ - public ByProjectKeyProductsKeyByKeyGet withLocaleProjection(final Collection localeProjection) { - return copy().withoutQueryParam("localeProjection") - .addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - - /** - * add additional localeProjection query parameters - * @param localeProjection values to be added - * @param value type - * @return ByProjectKeyProductsKeyByKeyGet - */ - public ByProjectKeyProductsKeyByKeyGet addLocaleProjection(final Collection localeProjection) { - return copy().addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - /** * set expand with the specified value * @param expand value to be set diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPost.java index 2bcabb85776..b21c06b212e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPost.java @@ -118,10 +118,6 @@ public List getPriceChannel() { return this.getQueryParam("priceChannel"); } - public List getLocaleProjection() { - return this.getQueryParam("localeProjection"); - } - public List getExpand() { return this.getQueryParam("expand"); } @@ -460,87 +456,6 @@ public ByProjectKeyProductsKeyByKeyPost addPriceChannel(final Collectio .collect(Collectors.toList())); } - /** - * set localeProjection with the specified value - * @param localeProjection value to be set - * @param value type - * @return ByProjectKeyProductsKeyByKeyPost - */ - public ByProjectKeyProductsKeyByKeyPost withLocaleProjection(final TValue localeProjection) { - return copy().withQueryParam("localeProjection", localeProjection); - } - - /** - * add additional localeProjection query parameter - * @param localeProjection value to be added - * @param value type - * @return ByProjectKeyProductsKeyByKeyPost - */ - public ByProjectKeyProductsKeyByKeyPost addLocaleProjection(final TValue localeProjection) { - return copy().addQueryParam("localeProjection", localeProjection); - } - - /** - * set localeProjection with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyProductsKeyByKeyPost - */ - public ByProjectKeyProductsKeyByKeyPost withLocaleProjection(final Supplier supplier) { - return copy().withQueryParam("localeProjection", supplier.get()); - } - - /** - * add additional localeProjection query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyProductsKeyByKeyPost - */ - public ByProjectKeyProductsKeyByKeyPost addLocaleProjection(final Supplier supplier) { - return copy().addQueryParam("localeProjection", supplier.get()); - } - - /** - * set localeProjection with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyProductsKeyByKeyPost - */ - public ByProjectKeyProductsKeyByKeyPost withLocaleProjection(final Function op) { - return copy().withQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * add additional localeProjection query parameter - * @param op builder for the value to be added - * @return ByProjectKeyProductsKeyByKeyPost - */ - public ByProjectKeyProductsKeyByKeyPost addLocaleProjection(final Function op) { - return copy().addQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * set localeProjection with the specified values - * @param localeProjection values to be set - * @param value type - * @return ByProjectKeyProductsKeyByKeyPost - */ - public ByProjectKeyProductsKeyByKeyPost withLocaleProjection(final Collection localeProjection) { - return copy().withoutQueryParam("localeProjection") - .addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - - /** - * add additional localeProjection query parameters - * @param localeProjection values to be added - * @param value type - * @return ByProjectKeyProductsKeyByKeyPost - */ - public ByProjectKeyProductsKeyByKeyPost addLocaleProjection(final Collection localeProjection) { - return copy().addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - /** * set expand with the specified value * @param expand value to be set diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPostString.java index b2601502afa..dafe2d9b032 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPostString.java @@ -118,10 +118,6 @@ public List getPriceChannel() { return this.getQueryParam("priceChannel"); } - public List getLocaleProjection() { - return this.getQueryParam("localeProjection"); - } - public List getExpand() { return this.getQueryParam("expand"); } @@ -462,90 +458,6 @@ public ByProjectKeyProductsKeyByKeyPostString addPriceChannel(final Col .collect(Collectors.toList())); } - /** - * set localeProjection with the specified value - * @param value type - * @param localeProjection value to be set - * @return ByProjectKeyProductsKeyByKeyPostString - */ - public ByProjectKeyProductsKeyByKeyPostString withLocaleProjection(final TValue localeProjection) { - return copy().withQueryParam("localeProjection", localeProjection); - } - - /** - * add additional localeProjection query parameter - * @param value type - * @param localeProjection value to be added - * @return ByProjectKeyProductsKeyByKeyPostString - */ - public ByProjectKeyProductsKeyByKeyPostString addLocaleProjection(final TValue localeProjection) { - return copy().addQueryParam("localeProjection", localeProjection); - } - - /** - * set localeProjection with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyProductsKeyByKeyPostString - */ - public ByProjectKeyProductsKeyByKeyPostString withLocaleProjection(final Supplier supplier) { - return copy().withQueryParam("localeProjection", supplier.get()); - } - - /** - * add additional localeProjection query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyProductsKeyByKeyPostString - */ - public ByProjectKeyProductsKeyByKeyPostString addLocaleProjection(final Supplier supplier) { - return copy().addQueryParam("localeProjection", supplier.get()); - } - - /** - * set localeProjection with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyProductsKeyByKeyPostString - */ - public ByProjectKeyProductsKeyByKeyPostString withLocaleProjection( - final Function op) { - return copy().withQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * add additional localeProjection query parameter - * @param op builder for the value to be added - * @return ByProjectKeyProductsKeyByKeyPostString - */ - public ByProjectKeyProductsKeyByKeyPostString addLocaleProjection(final Function op) { - return copy().addQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * set localeProjection with the specified values - * @param value type - * @param localeProjection values to be set - * @return ByProjectKeyProductsKeyByKeyPostString - */ - public ByProjectKeyProductsKeyByKeyPostString withLocaleProjection( - final Collection localeProjection) { - return copy().withoutQueryParam("localeProjection") - .addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - - /** - * add additional localeProjection query parameters - * @param value type - * @param localeProjection values to be added - * @return ByProjectKeyProductsKeyByKeyPostString - */ - public ByProjectKeyProductsKeyByKeyPostString addLocaleProjection( - final Collection localeProjection) { - return copy().addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - /** * set expand with the specified value * @param value type diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPost.java index 9acb532f13a..64846929baf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPost.java @@ -109,10 +109,6 @@ public List getPriceChannel() { return this.getQueryParam("priceChannel"); } - public List getLocaleProjection() { - return this.getQueryParam("localeProjection"); - } - public List getExpand() { return this.getQueryParam("expand"); } @@ -445,87 +441,6 @@ public ByProjectKeyProductsPost addPriceChannel(final Collection value type - * @return ByProjectKeyProductsPost - */ - public ByProjectKeyProductsPost withLocaleProjection(final TValue localeProjection) { - return copy().withQueryParam("localeProjection", localeProjection); - } - - /** - * add additional localeProjection query parameter - * @param localeProjection value to be added - * @param value type - * @return ByProjectKeyProductsPost - */ - public ByProjectKeyProductsPost addLocaleProjection(final TValue localeProjection) { - return copy().addQueryParam("localeProjection", localeProjection); - } - - /** - * set localeProjection with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyProductsPost - */ - public ByProjectKeyProductsPost withLocaleProjection(final Supplier supplier) { - return copy().withQueryParam("localeProjection", supplier.get()); - } - - /** - * add additional localeProjection query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyProductsPost - */ - public ByProjectKeyProductsPost addLocaleProjection(final Supplier supplier) { - return copy().addQueryParam("localeProjection", supplier.get()); - } - - /** - * set localeProjection with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyProductsPost - */ - public ByProjectKeyProductsPost withLocaleProjection(final Function op) { - return copy().withQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * add additional localeProjection query parameter - * @param op builder for the value to be added - * @return ByProjectKeyProductsPost - */ - public ByProjectKeyProductsPost addLocaleProjection(final Function op) { - return copy().addQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * set localeProjection with the specified values - * @param localeProjection values to be set - * @param value type - * @return ByProjectKeyProductsPost - */ - public ByProjectKeyProductsPost withLocaleProjection(final Collection localeProjection) { - return copy().withoutQueryParam("localeProjection") - .addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - - /** - * add additional localeProjection query parameters - * @param localeProjection values to be added - * @param value type - * @return ByProjectKeyProductsPost - */ - public ByProjectKeyProductsPost addLocaleProjection(final Collection localeProjection) { - return copy().addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - /** * set expand with the specified value * @param expand value to be set diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPostString.java index 9dd994128e9..8aaabc12bc0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPostString.java @@ -108,10 +108,6 @@ public List getPriceChannel() { return this.getQueryParam("priceChannel"); } - public List getLocaleProjection() { - return this.getQueryParam("localeProjection"); - } - public List getExpand() { return this.getQueryParam("expand"); } @@ -444,87 +440,6 @@ public ByProjectKeyProductsPostString addPriceChannel(final Collection< .collect(Collectors.toList())); } - /** - * set localeProjection with the specified value - * @param value type - * @param localeProjection value to be set - * @return ByProjectKeyProductsPostString - */ - public ByProjectKeyProductsPostString withLocaleProjection(final TValue localeProjection) { - return copy().withQueryParam("localeProjection", localeProjection); - } - - /** - * add additional localeProjection query parameter - * @param value type - * @param localeProjection value to be added - * @return ByProjectKeyProductsPostString - */ - public ByProjectKeyProductsPostString addLocaleProjection(final TValue localeProjection) { - return copy().addQueryParam("localeProjection", localeProjection); - } - - /** - * set localeProjection with the specified value - * @param supplier supplier for the value to be set - * @return ByProjectKeyProductsPostString - */ - public ByProjectKeyProductsPostString withLocaleProjection(final Supplier supplier) { - return copy().withQueryParam("localeProjection", supplier.get()); - } - - /** - * add additional localeProjection query parameter - * @param supplier supplier for the value to be added - * @return ByProjectKeyProductsPostString - */ - public ByProjectKeyProductsPostString addLocaleProjection(final Supplier supplier) { - return copy().addQueryParam("localeProjection", supplier.get()); - } - - /** - * set localeProjection with the specified value - * @param op builder for the value to be set - * @return ByProjectKeyProductsPostString - */ - public ByProjectKeyProductsPostString withLocaleProjection(final Function op) { - return copy().withQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * add additional localeProjection query parameter - * @param op builder for the value to be added - * @return ByProjectKeyProductsPostString - */ - public ByProjectKeyProductsPostString addLocaleProjection(final Function op) { - return copy().addQueryParam("localeProjection", op.apply(new StringBuilder())); - } - - /** - * set localeProjection with the specified values - * @param value type - * @param localeProjection values to be set - * @return ByProjectKeyProductsPostString - */ - public ByProjectKeyProductsPostString withLocaleProjection(final Collection localeProjection) { - return copy().withoutQueryParam("localeProjection") - .addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - - /** - * add additional localeProjection query parameters - * @param value type - * @param localeProjection values to be added - * @return ByProjectKeyProductsPostString - */ - public ByProjectKeyProductsPostString addLocaleProjection(final Collection localeProjection) { - return copy().addQueryParams(localeProjection.stream() - .map(s -> new ParamEntry<>("localeProjection", s.toString())) - .collect(Collectors.toList())); - } - /** * set expand with the specified value * @param value type diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/PriceselectingTrait.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/PriceselectingTrait.java index a9be3aeaf16..e78b9e3fa07 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/PriceselectingTrait.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/PriceselectingTrait.java @@ -19,8 +19,6 @@ public interface PriceselectingTrait> { List getPriceChannel(); - List getLocaleProjection(); - /** * set priceCurrency with the specificied value * @param priceCurrency value to be set @@ -85,22 +83,6 @@ public interface PriceselectingTrait> { */ PriceselectingTrait addPriceChannel(final TValue priceChannel); - /** - * set localeProjection with the specificied value - * @param localeProjection value to be set - * @param value type - * @return PriceselectingTrait - */ - PriceselectingTrait withLocaleProjection(final TValue localeProjection); - - /** - * add additional localeProjection query parameter - * @param localeProjection value to be added - * @param value type - * @return PriceselectingTrait - */ - PriceselectingTrait addLocaleProjection(final TValue localeProjection); - default PriceselectingTrait asPriceselectingTrait() { return this; } diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDTest.java index 2437c70fa40..1e5265517ba 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDTest.java @@ -96,14 +96,6 @@ public static Object[][] requestWithMethodParameters() { .withPriceChannel("priceChannel") .createHttpRequest(), "get", "test_projectKey/products/test_ID?priceChannel=priceChannel", }, - new Object[] { - apiRoot.withProjectKey("test_projectKey") - .products() - .withId("test_ID") - .get() - .withLocaleProjection("localeProjection") - .createHttpRequest(), - "get", "test_projectKey/products/test_ID?localeProjection=localeProjection", }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .withId("test_ID") @@ -152,14 +144,6 @@ public static Object[][] requestWithMethodParameters() { .withPriceChannel("priceChannel") .createHttpRequest(), "post", "test_projectKey/products/test_ID?priceChannel=priceChannel", }, - new Object[] { - apiRoot.withProjectKey("test_projectKey") - .products() - .withId("test_ID") - .post(com.commercetools.api.models.product.ProductUpdate.of()) - .withLocaleProjection("localeProjection") - .createHttpRequest(), - "post", "test_projectKey/products/test_ID?localeProjection=localeProjection", }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .withId("test_ID") @@ -203,14 +187,6 @@ public static Object[][] requestWithMethodParameters() { .withPriceChannel("priceChannel") .createHttpRequest(), "delete", "test_projectKey/products/test_ID?priceChannel=priceChannel", }, - new Object[] { - apiRoot.withProjectKey("test_projectKey") - .products() - .withId("test_ID") - .delete() - .withLocaleProjection("localeProjection") - .createHttpRequest(), - "delete", "test_projectKey/products/test_ID?localeProjection=localeProjection", }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .withId("test_ID") @@ -253,11 +229,6 @@ public static Object[][] executeMethodParameters() { .withId("test_ID") .get() .withPriceChannel("priceChannel"), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .products() - .withId("test_ID") - .get() - .withLocaleProjection("localeProjection"), }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .withId("test_ID") @@ -285,11 +256,6 @@ public static Object[][] executeMethodParameters() { .withId("test_ID") .post(com.commercetools.api.models.product.ProductUpdate.of()) .withPriceChannel("priceChannel"), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .products() - .withId("test_ID") - .post(com.commercetools.api.models.product.ProductUpdate.of()) - .withLocaleProjection("localeProjection"), }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .withId("test_ID") @@ -319,11 +285,6 @@ public static Object[][] executeMethodParameters() { .withId("test_ID") .delete() .withPriceChannel("priceChannel"), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .products() - .withId("test_ID") - .delete() - .withLocaleProjection("localeProjection"), }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .withId("test_ID") diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsKeyByKeyTest.java index 8fa987c742c..5bee8a068a0 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsKeyByKeyTest.java @@ -96,14 +96,6 @@ public static Object[][] requestWithMethodParameters() { .withPriceChannel("priceChannel") .createHttpRequest(), "get", "test_projectKey/products/key=test_key?priceChannel=priceChannel", }, - new Object[] { - apiRoot.withProjectKey("test_projectKey") - .products() - .withKey("test_key") - .get() - .withLocaleProjection("localeProjection") - .createHttpRequest(), - "get", "test_projectKey/products/key=test_key?localeProjection=localeProjection", }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .withKey("test_key") @@ -152,14 +144,6 @@ public static Object[][] requestWithMethodParameters() { .withPriceChannel("priceChannel") .createHttpRequest(), "post", "test_projectKey/products/key=test_key?priceChannel=priceChannel", }, - new Object[] { - apiRoot.withProjectKey("test_projectKey") - .products() - .withKey("test_key") - .post(com.commercetools.api.models.product.ProductUpdate.of()) - .withLocaleProjection("localeProjection") - .createHttpRequest(), - "post", "test_projectKey/products/key=test_key?localeProjection=localeProjection", }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .withKey("test_key") @@ -203,14 +187,6 @@ public static Object[][] requestWithMethodParameters() { .withPriceChannel("priceChannel") .createHttpRequest(), "delete", "test_projectKey/products/key=test_key?priceChannel=priceChannel", }, - new Object[] { - apiRoot.withProjectKey("test_projectKey") - .products() - .withKey("test_key") - .delete() - .withLocaleProjection("localeProjection") - .createHttpRequest(), - "delete", "test_projectKey/products/key=test_key?localeProjection=localeProjection", }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .withKey("test_key") @@ -255,11 +231,6 @@ public static Object[][] executeMethodParameters() { .withKey("test_key") .get() .withPriceChannel("priceChannel"), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .products() - .withKey("test_key") - .get() - .withLocaleProjection("localeProjection"), }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .withKey("test_key") @@ -287,11 +258,6 @@ public static Object[][] executeMethodParameters() { .withKey("test_key") .post(com.commercetools.api.models.product.ProductUpdate.of()) .withPriceChannel("priceChannel"), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .products() - .withKey("test_key") - .post(com.commercetools.api.models.product.ProductUpdate.of()) - .withLocaleProjection("localeProjection"), }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .withKey("test_key") @@ -321,11 +287,6 @@ public static Object[][] executeMethodParameters() { .withKey("test_key") .delete() .withPriceChannel("priceChannel"), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .products() - .withKey("test_key") - .delete() - .withLocaleProjection("localeProjection"), }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .withKey("test_key") diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsTest.java index a9f59cb325b..e3344760541 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsTest.java @@ -88,13 +88,6 @@ public static Object[][] requestWithMethodParameters() { .get() .withPriceChannel("priceChannel") .createHttpRequest(), "get", "test_projectKey/products?priceChannel=priceChannel", }, - new Object[] { - apiRoot.withProjectKey("test_projectKey") - .products() - .get() - .withLocaleProjection("localeProjection") - .createHttpRequest(), - "get", "test_projectKey/products?localeProjection=localeProjection", }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .get() @@ -150,13 +143,6 @@ public static Object[][] requestWithMethodParameters() { .post(com.commercetools.api.models.product.ProductDraft.of()) .withPriceChannel("priceChannel") .createHttpRequest(), "post", "test_projectKey/products?priceChannel=priceChannel", }, - new Object[] { - apiRoot.withProjectKey("test_projectKey") - .products() - .post(com.commercetools.api.models.product.ProductDraft.of()) - .withLocaleProjection("localeProjection") - .createHttpRequest(), - "post", "test_projectKey/products?localeProjection=localeProjection", }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .post(com.commercetools.api.models.product.ProductDraft.of()) @@ -184,10 +170,6 @@ public static Object[][] executeMethodParameters() { .withPriceCustomerGroup("priceCustomerGroup"), }, new Object[] { apiRoot.withProjectKey("test_projectKey").products().get().withPriceChannel("priceChannel"), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .products() - .get() - .withLocaleProjection("localeProjection"), }, new Object[] { apiRoot.withProjectKey("test_projectKey").products().get().withExpand("expand"), }, new Object[] { apiRoot.withProjectKey("test_projectKey").products().get().withSort("sort"), }, new Object[] { apiRoot.withProjectKey("test_projectKey").products().get().withLimit(7), }, @@ -216,10 +198,6 @@ public static Object[][] executeMethodParameters() { .products() .post(com.commercetools.api.models.product.ProductDraft.of()) .withPriceChannel("priceChannel"), }, - new Object[] { apiRoot.withProjectKey("test_projectKey") - .products() - .post(com.commercetools.api.models.product.ProductDraft.of()) - .withLocaleProjection("localeProjection"), }, new Object[] { apiRoot.withProjectKey("test_projectKey") .products() .post(com.commercetools.api.models.product.ProductDraft.of()) diff --git a/references.txt b/references.txt index 23fa4b84287..6a29cc5a070 100644 --- a/references.txt +++ b/references.txt @@ -259,3 +259,4 @@ e823fd2dd5228a125ad014c7733fb2e33269c734 a1588f9bea129df23185d9d40c70ea96ef1d8b6e 22b0c33fd2ee028ad43204b74430f87a970d6dfa 67d3b7a0760d16b674ecd7c8b805e897e6320171 +a535e06bc2906c4f8b803f5a7686cbb920afd40a