Skip to content

Commit 61bf886

Browse files
Merge pull request #650 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 3b225ed + 46fe3f9 commit 61bf886

File tree

76 files changed

+181
-176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+181
-176
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>If Price selection query parameters are provided, the selected Prices are added to the response. Produces the ProductDeleted Message.</p>
23+
* <p>If Product price selection query parameters are provided, the selected Prices are added to the response. Produces the ProductDeleted Message.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>If Price selection query parameters are provided, the selected Prices are added to the response.</p>
23+
* <p>If Product price selection query parameters are provided, the selected Prices are added to the response.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>If Price selection query parameters are provided, the selected Prices are added to the response.</p>
23+
* <p>If Product price selection query parameters are provided, the selected Prices are added to the response.</p>
2424
* <p>A failed response can return a DuplicatePriceScope, DuplicateVariantValues, DuplicateAttributeValue, or DuplicateAttributeValues error.</p>
2525
*
2626
* <hr>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPostString.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import org.apache.commons.lang3.builder.HashCodeBuilder;
2222

2323
/**
24-
* <p>If Price selection query parameters are provided, the selected Prices are added to the response.</p>
24+
* <p>If Product price selection query parameters are provided, the selected Prices are added to the response.</p>
2525
* <p>A failed response can return a DuplicatePriceScope, DuplicateVariantValues, DuplicateAttributeValue, or DuplicateAttributeValues error.</p>
2626
*
2727
* <hr>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>If Price selection query parameters are provided, the selected Prices are added to the response.</p>
23+
* <p>If Product price selection query parameters are provided, the selected Prices are added to the response.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>If Price selection query parameters are provided, the selected Prices are added to the response. Produces the ProductDeleted Message.</p>
23+
* <p>If Product price selection query parameters are provided, the selected Prices are added to the response. Produces the ProductDeleted Message.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>If Price selection query parameters are provided, the selected Prices are added to the response.</p>
23+
* <p>If [Product price selection query parameters]](/../api/pricing-and-discounts-overview#product-price-selection) are provided, the selected Prices are added to the response.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPost.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>To create a new Product, send a representation that is going to become the initial <em>staged</em> and <em>current</em> representation of the new Product in the catalog. If Price Selection query parameters are provided, selected Prices will be added to the response. Produces the ProductCreated Message.</p>
23+
* <p>To create a new Product, send a representation that is going to become the initial <em>staged</em> and <em>current</em> representation of the new Product in the catalog. If Product price selection query parameters are provided, selected Prices will be added to the response. Produces the ProductCreated Message.</p>
2424
*
2525
* <hr>
2626
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPostString.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import org.apache.commons.lang3.builder.HashCodeBuilder;
2222

2323
/**
24-
* <p>To create a new Product, send a representation that is going to become the initial <em>staged</em> and <em>current</em> representation of the new Product in the catalog. If Price Selection query parameters are provided, selected Prices will be added to the response. Produces the ProductCreated Message.</p>
24+
* <p>To create a new Product, send a representation that is going to become the initial <em>staged</em> and <em>current</em> representation of the new Product in the catalog. If Product price selection query parameters are provided, selected Prices will be added to the response. Produces the ProductCreated Message.</p>
2525
*
2626
* <hr>
2727
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesPost.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020
import org.apache.commons.lang3.builder.HashCodeBuilder;
2121

2222
/**
23-
* <p>Produces the StandalonePriceCreated Message.</p>
23+
* <p>Creating a Standalone Price produces the StandalonePriceCreated Message.</p>
24+
* <ul>
25+
* <li>If the Standalone Price has the same price scope as an existing Standalone Price, a DuplicateStandalonePriceScope error is returned.</li>
26+
* <li>If the Standalone Price has overlapping validity periods within the same price scope, a OverlappingStandalonePriceValidity error is returned. A Price without validity period does not conflict with a Price defined for a time period.</li>
27+
* </ul>
2428
*
2529
* <hr>
2630
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesPostString.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
import org.apache.commons.lang3.builder.HashCodeBuilder;
2222

2323
/**
24-
* <p>Produces the StandalonePriceCreated Message.</p>
24+
* <p>Creating a Standalone Price produces the StandalonePriceCreated Message.</p>
25+
* <ul>
26+
* <li>If the Standalone Price has the same price scope as an existing Standalone Price, a DuplicateStandalonePriceScope error is returned.</li>
27+
* <li>If the Standalone Price has overlapping validity periods within the same price scope, a OverlappingStandalonePriceValidity error is returned. A Price without validity period does not conflict with a Price defined for a time period.</li>
28+
* </ul>
2529
*
2630
* <hr>
2731
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/Cart.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod
106106
public String getCustomerEmail();
107107

108108
/**
109-
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for LineItem Price selection.</p>
109+
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for Line Item price selection.</p>
110110
* @return customerGroup
111111
*/
112112
@Valid
@@ -357,7 +357,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod
357357
public PaymentInfo getPaymentInfo();
358358

359359
/**
360-
* <p>Used for LineItem Price selection.</p>
360+
* <p>Used for Line Item price selection.</p>
361361
* @return country
362362
*/
363363

@@ -464,7 +464,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod
464464
public void setCustomerEmail(final String customerEmail);
465465

466466
/**
467-
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for LineItem Price selection.</p>
467+
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for Line Item price selection.</p>
468468
* @param customerGroup value to be set
469469
*/
470470

@@ -735,7 +735,7 @@ public interface Cart extends BaseResource, CartMixin, com.commercetools.api.mod
735735
public void setPaymentInfo(final PaymentInfo paymentInfo);
736736

737737
/**
738-
* <p>Used for LineItem Price selection.</p>
738+
* <p>Used for Line Item price selection.</p>
739739
* @param country value to be set
740740
*/
741741

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddLineItemAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import io.vrap.rmf.base.client.utils.Generated;
2020

2121
/**
22-
* <p>If the Cart contains a LineItem for a Product Variant with the same LineItemMode, Custom Fields, supply and distribution channel, then only the quantity of the existing Line Item is increased. If LineItem <code>shippingDetails</code> is set, it is merged. All addresses will be present afterwards and, for address keys present in both shipping details, the quantity will be summed up. A new Line Item is added when the <code>externalPrice</code> or <code>externalTotalPrice</code> is set in this update action. The LineItem price is set as described in LineItem Price selection.</p>
22+
* <p>If the Cart contains a LineItem for a Product Variant with the same LineItemMode, Custom Fields, supply and distribution channel, then only the quantity of the existing Line Item is increased. If LineItem <code>shippingDetails</code> is set, it is merged. All addresses will be present afterwards and, for address keys present in both shipping details, the quantity will be summed up. A new Line Item is added when the <code>externalPrice</code> or <code>externalTotalPrice</code> is set in this update action. The LineItem price is set as described in Line Item price selection.</p>
2323
* <p>If the Tax Rate is not set, a MissingTaxRateForCountry error is returned.</p>
2424
* <p>If the Line Items do not have a Price according to the Product <code>priceMode</code> value for a selected currency and/or country, Customer Group, or Channel, a MatchingPriceNotFound error is returned.</p>
2525
*

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartAddLineItemActionImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import org.apache.commons.lang3.builder.ToStringStyle;
1818

1919
/**
20-
* <p>If the Cart contains a LineItem for a Product Variant with the same LineItemMode, Custom Fields, supply and distribution channel, then only the quantity of the existing Line Item is increased. If LineItem <code>shippingDetails</code> is set, it is merged. All addresses will be present afterwards and, for address keys present in both shipping details, the quantity will be summed up. A new Line Item is added when the <code>externalPrice</code> or <code>externalTotalPrice</code> is set in this update action. The LineItem price is set as described in LineItem Price selection.</p>
20+
* <p>If the Cart contains a LineItem for a Product Variant with the same LineItemMode, Custom Fields, supply and distribution channel, then only the quantity of the existing Line Item is increased. If LineItem <code>shippingDetails</code> is set, it is merged. All addresses will be present afterwards and, for address keys present in both shipping details, the quantity will be summed up. A new Line Item is added when the <code>externalPrice</code> or <code>externalTotalPrice</code> is set in this update action. The LineItem price is set as described in Line Item price selection.</p>
2121
* <p>If the Tax Rate is not set, a MissingTaxRateForCountry error is returned.</p>
2222
* <p>If the Line Items do not have a Price according to the Product <code>priceMode</code> value for a selected currency and/or country, Customer Group, or Channel, a MatchingPriceNotFound error is returned.</p>
2323
*/

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public CartBuilder customerEmail(@Nullable final String customerEmail) {
230230
}
231231

232232
/**
233-
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for LineItem Price selection.</p>
233+
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for Line Item price selection.</p>
234234
* @param builder function to build the customerGroup value
235235
* @return Builder
236236
*/
@@ -244,7 +244,7 @@ public CartBuilder customerGroup(
244244
}
245245

246246
/**
247-
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for LineItem Price selection.</p>
247+
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for Line Item price selection.</p>
248248
* @param builder function to build the customerGroup value
249249
* @return Builder
250250
*/
@@ -257,7 +257,7 @@ public CartBuilder withCustomerGroup(
257257
}
258258

259259
/**
260-
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for LineItem Price selection.</p>
260+
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for Line Item price selection.</p>
261261
* @param customerGroup value to be set
262262
* @return Builder
263263
*/
@@ -1433,7 +1433,7 @@ public CartBuilder paymentInfo(@Nullable final com.commercetools.api.models.orde
14331433
}
14341434

14351435
/**
1436-
* <p>Used for LineItem Price selection.</p>
1436+
* <p>Used for Line Item price selection.</p>
14371437
* @param country value to be set
14381438
* @return Builder
14391439
*/
@@ -1649,7 +1649,7 @@ public String getCustomerEmail() {
16491649
}
16501650

16511651
/**
1652-
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for LineItem Price selection.</p>
1652+
* <p>Reference to the Customer Group of the Customer that the Cart belongs to. Used for Line Item price selection.</p>
16531653
* @return customerGroup
16541654
*/
16551655

@@ -1936,7 +1936,7 @@ public com.commercetools.api.models.order.PaymentInfo getPaymentInfo() {
19361936
}
19371937

19381938
/**
1939-
* <p>Used for LineItem Price selection.</p>
1939+
* <p>Used for Line Item price selection.</p>
19401940
* @return country
19411941
*/
19421942

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeLineItemQuantityAction.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* <p>When multiple shipping addresses are set for a Line Item, use the Remove LineItem and Add LineItem update action to change the shipping details. Since it is not possible for the API to infer how the overall change in the Line Item quantity should be distributed over the sub-quantities, the <code>shippingDetails</code> field is kept in its current state to avoid data loss.</p>
2020
* <p>To change the Line Item quantity and shipping details together, use this update action in combination with the Set LineItem ShippingDetails update action in a single Cart update command.</p>
21-
* <p>The LineItem price is set as described in LineItem Price selection.</p>
21+
* <p>The LineItem price is set as described in Line Item price selection.</p>
2222
*
2323
* <hr>
2424
* Example to create an instance using the builder pattern
@@ -66,7 +66,7 @@ public interface CartChangeLineItemQuantityAction extends CartUpdateAction {
6666

6767
/**
6868
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
69-
* <p>The LineItem price is updated as described in LineItem Price selection.</p>
69+
* <p>The LineItem price is updated as described in Line Item price selection.</p>
7070
* @return externalPrice
7171
*/
7272
@Valid
@@ -105,7 +105,7 @@ public interface CartChangeLineItemQuantityAction extends CartUpdateAction {
105105

106106
/**
107107
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
108-
* <p>The LineItem price is updated as described in LineItem Price selection.</p>
108+
* <p>The LineItem price is updated as described in Line Item price selection.</p>
109109
* @param externalPrice value to be set
110110
*/
111111

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeLineItemQuantityActionBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public CartChangeLineItemQuantityActionBuilder quantity(final Long quantity) {
7474

7575
/**
7676
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
77-
* <p>The LineItem price is updated as described in LineItem Price selection.</p>
77+
* <p>The LineItem price is updated as described in Line Item price selection.</p>
7878
* @param builder function to build the externalPrice value
7979
* @return Builder
8080
*/
@@ -87,7 +87,7 @@ public CartChangeLineItemQuantityActionBuilder externalPrice(
8787

8888
/**
8989
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
90-
* <p>The LineItem price is updated as described in LineItem Price selection.</p>
90+
* <p>The LineItem price is updated as described in Line Item price selection.</p>
9191
* @param builder function to build the externalPrice value
9292
* @return Builder
9393
*/
@@ -100,7 +100,7 @@ public CartChangeLineItemQuantityActionBuilder withExternalPrice(
100100

101101
/**
102102
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
103-
* <p>The LineItem price is updated as described in LineItem Price selection.</p>
103+
* <p>The LineItem price is updated as described in Line Item price selection.</p>
104104
* @param externalPrice value to be set
105105
* @return Builder
106106
*/
@@ -182,7 +182,7 @@ public Long getQuantity() {
182182

183183
/**
184184
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
185-
* <p>The LineItem price is updated as described in LineItem Price selection.</p>
185+
* <p>The LineItem price is updated as described in Line Item price selection.</p>
186186
* @return externalPrice
187187
*/
188188

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartChangeLineItemQuantityActionImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* <p>When multiple shipping addresses are set for a Line Item, use the Remove LineItem and Add LineItem update action to change the shipping details. Since it is not possible for the API to infer how the overall change in the Line Item quantity should be distributed over the sub-quantities, the <code>shippingDetails</code> field is kept in its current state to avoid data loss.</p>
2121
* <p>To change the Line Item quantity and shipping details together, use this update action in combination with the Set LineItem ShippingDetails update action in a single Cart update command.</p>
22-
* <p>The LineItem price is set as described in LineItem Price selection.</p>
22+
* <p>The LineItem price is set as described in Line Item price selection.</p>
2323
*/
2424
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2525
public class CartChangeLineItemQuantityActionImpl implements CartChangeLineItemQuantityAction, ModelBase {
@@ -94,7 +94,7 @@ public Long getQuantity() {
9494

9595
/**
9696
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
97-
* <p>The LineItem price is updated as described in LineItem Price selection.</p>
97+
* <p>The LineItem price is updated as described in Line Item price selection.</p>
9898
*/
9999

100100
public com.commercetools.api.models.common.Money getExternalPrice() {

0 commit comments

Comments
 (0)