Skip to content

Commit 8baec2c

Browse files
Merge pull request #839 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents ade400a + 6c3f7a0 commit 8baec2c

10 files changed

+73
-72
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraft.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public interface CartDiscountValueAbsoluteDraft
4141
String ABSOLUTE = "absolute";
4242

4343
/**
44-
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
45-
* <p>If the array is empty, the discount does not apply.</p>
44+
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
45+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
4646
* @return money
4747
*/
4848
@NotNull
@@ -60,17 +60,17 @@ public interface CartDiscountValueAbsoluteDraft
6060
public DiscountApplicationMode getApplicationMode();
6161

6262
/**
63-
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
64-
* <p>If the array is empty, the discount does not apply.</p>
63+
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
64+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
6565
* @param money values to be set
6666
*/
6767

6868
@JsonIgnore
6969
public void setMoney(final Money... money);
7070

7171
/**
72-
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
73-
* <p>If the array is empty, the discount does not apply.</p>
72+
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
73+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
7474
* @param money values to be set
7575
*/
7676

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftBuilder.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public class CartDiscountValueAbsoluteDraftBuilder implements Builder<CartDiscou
3030
private com.commercetools.api.models.cart_discount.DiscountApplicationMode applicationMode;
3131

3232
/**
33-
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
34-
* <p>If the array is empty, the discount does not apply.</p>
33+
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
34+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
3535
* @param money value to be set
3636
* @return Builder
3737
*/
@@ -42,8 +42,8 @@ public CartDiscountValueAbsoluteDraftBuilder money(final com.commercetools.api.m
4242
}
4343

4444
/**
45-
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
46-
* <p>If the array is empty, the discount does not apply.</p>
45+
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
46+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
4747
* @param money value to be set
4848
* @return Builder
4949
*/
@@ -55,8 +55,8 @@ public CartDiscountValueAbsoluteDraftBuilder money(
5555
}
5656

5757
/**
58-
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
59-
* <p>If the array is empty, the discount does not apply.</p>
58+
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
59+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
6060
* @param money value to be set
6161
* @return Builder
6262
*/
@@ -70,8 +70,8 @@ public CartDiscountValueAbsoluteDraftBuilder plusMoney(final com.commercetools.a
7070
}
7171

7272
/**
73-
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
74-
* <p>If the array is empty, the discount does not apply.</p>
73+
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
74+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
7575
* @param builder function to build the money value
7676
* @return Builder
7777
*/
@@ -86,8 +86,8 @@ public CartDiscountValueAbsoluteDraftBuilder plusMoney(
8686
}
8787

8888
/**
89-
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
90-
* <p>If the array is empty, the discount does not apply.</p>
89+
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
90+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
9191
* @param builder function to build the money value
9292
* @return Builder
9393
*/
@@ -100,8 +100,8 @@ public CartDiscountValueAbsoluteDraftBuilder withMoney(
100100
}
101101

102102
/**
103-
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
104-
* <p>If the array is empty, the discount does not apply.</p>
103+
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
104+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
105105
* @param builder function to build the money value
106106
* @return Builder
107107
*/
@@ -112,8 +112,8 @@ public CartDiscountValueAbsoluteDraftBuilder addMoney(
112112
}
113113

114114
/**
115-
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
116-
* <p>If the array is empty, the discount does not apply.</p>
115+
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
116+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
117117
* @param builder function to build the money value
118118
* @return Builder
119119
*/
@@ -137,8 +137,8 @@ public CartDiscountValueAbsoluteDraftBuilder applicationMode(
137137
}
138138

139139
/**
140-
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
141-
* <p>If the array is empty, the discount does not apply.</p>
140+
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
141+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
142142
* @return money
143143
*/
144144

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public String getType() {
5656
}
5757

5858
/**
59-
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
60-
* <p>If the array is empty, the discount does not apply.</p>
59+
* <p>Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be decreased by 10&euro; and the matching $ price will be decreased by 15$.</p>
60+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
6161
*/
6262

6363
public java.util.List<com.commercetools.api.models.common.Money> getMoney() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedDraft.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public interface CartDiscountValueFixedDraft
4141
String FIXED = "fixed";
4242

4343
/**
44-
* <p>Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be discounted by 10&euro; and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
45-
* <p>If the array is empty, the discount does not apply.</p>
44+
* <p>Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be discounted by 10&euro; and the matching $ price will be discounted to 15$.</p>
45+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
4646
* @return money
4747
*/
4848
@NotNull
@@ -60,17 +60,17 @@ public interface CartDiscountValueFixedDraft
6060
public DiscountApplicationMode getApplicationMode();
6161

6262
/**
63-
* <p>Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be discounted by 10&euro; and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
64-
* <p>If the array is empty, the discount does not apply.</p>
63+
* <p>Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be discounted by 10&euro; and the matching $ price will be discounted to 15$.</p>
64+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
6565
* @param money values to be set
6666
*/
6767

6868
@JsonIgnore
6969
public void setMoney(final Money... money);
7070

7171
/**
72-
* <p>Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be discounted by 10&euro; and the matching $ price will be discounted to 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.</p>
73-
* <p>If the array is empty, the discount does not apply.</p>
72+
* <p>Money values provided either in cent precision or high precision for different currencies. A fixed Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10&euro; and 15$, the matching &euro; price will be discounted by 10&euro; and the matching $ price will be discounted to 15$.</p>
73+
* <p>If the array is empty or has multiple values of the same currency, the API returns an InvalidOperation error.</p>
7474
* @param money values to be set
7575
*/
7676

0 commit comments

Comments
 (0)