You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraft.java
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -41,8 +41,8 @@ public interface CartDiscountValueAbsoluteDraft
41
41
StringABSOLUTE = "absolute";
42
42
43
43
/**
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€ and 15$, the matching € price will be decreased by 10€ 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€ and 15$, the matching € price will be decreased by 10€ 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>
46
46
* @return money
47
47
*/
48
48
@NotNull
@@ -60,17 +60,17 @@ public interface CartDiscountValueAbsoluteDraft
* <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€ and 15$, the matching € price will be decreased by 10€ 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€ and 15$, the matching € price will be decreased by 10€ 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>
65
65
* @param money values to be set
66
66
*/
67
67
68
68
@JsonIgnore
69
69
publicvoidsetMoney(finalMoney... money);
70
70
71
71
/**
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€ and 15$, the matching € price will be decreased by 10€ 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€ and 15$, the matching € price will be decreased by 10€ 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>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftBuilder.java
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,8 @@ public class CartDiscountValueAbsoluteDraftBuilder implements Builder<CartDiscou
* <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€ and 15$, the matching € price will be decreased by 10€ 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€ and 15$, the matching € price will be decreased by 10€ 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>
35
35
* @param money value to be set
36
36
* @return Builder
37
37
*/
@@ -42,8 +42,8 @@ public CartDiscountValueAbsoluteDraftBuilder money(final com.commercetools.api.m
42
42
}
43
43
44
44
/**
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€ and 15$, the matching € price will be decreased by 10€ 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€ and 15$, the matching € price will be decreased by 10€ 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>
47
47
* @param money value to be set
48
48
* @return Builder
49
49
*/
@@ -55,8 +55,8 @@ public CartDiscountValueAbsoluteDraftBuilder money(
55
55
}
56
56
57
57
/**
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€ and 15$, the matching € price will be decreased by 10€ 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€ and 15$, the matching € price will be decreased by 10€ 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>
60
60
* @param money value to be set
61
61
* @return Builder
62
62
*/
@@ -70,8 +70,8 @@ public CartDiscountValueAbsoluteDraftBuilder plusMoney(final com.commercetools.a
70
70
}
71
71
72
72
/**
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€ and 15$, the matching € price will be decreased by 10€ 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€ and 15$, the matching € price will be decreased by 10€ 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>
75
75
* @param builder function to build the money value
76
76
* @return Builder
77
77
*/
@@ -86,8 +86,8 @@ public CartDiscountValueAbsoluteDraftBuilder plusMoney(
86
86
}
87
87
88
88
/**
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€ and 15$, the matching € price will be decreased by 10€ 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€ and 15$, the matching € price will be decreased by 10€ 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>
91
91
* @param builder function to build the money value
92
92
* @return Builder
93
93
*/
@@ -100,8 +100,8 @@ public CartDiscountValueAbsoluteDraftBuilder withMoney(
100
100
}
101
101
102
102
/**
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€ and 15$, the matching € price will be decreased by 10€ 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€ and 15$, the matching € price will be decreased by 10€ 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>
105
105
* @param builder function to build the money value
106
106
* @return Builder
107
107
*/
@@ -112,8 +112,8 @@ public CartDiscountValueAbsoluteDraftBuilder addMoney(
112
112
}
113
113
114
114
/**
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€ and 15$, the matching € price will be decreased by 10€ 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€ and 15$, the matching € price will be decreased by 10€ 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>
117
117
* @param builder function to build the money value
118
118
* @return Builder
119
119
*/
@@ -137,8 +137,8 @@ public CartDiscountValueAbsoluteDraftBuilder applicationMode(
137
137
}
138
138
139
139
/**
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€ and 15$, the matching € price will be decreased by 10€ 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€ and 15$, the matching € price will be decreased by 10€ 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>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueAbsoluteDraftImpl.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -56,8 +56,8 @@ public String getType() {
56
56
}
57
57
58
58
/**
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€ and 15$, the matching € price will be decreased by 10€ 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€ and 15$, the matching € price will be decreased by 10€ 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>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountValueFixedDraft.java
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -41,8 +41,8 @@ public interface CartDiscountValueFixedDraft
41
41
StringFIXED = "fixed";
42
42
43
43
/**
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€ and 15$, the matching € price will be discounted by 10€ 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€ and 15$, the matching € price will be discounted by 10€ 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>
46
46
* @return money
47
47
*/
48
48
@NotNull
@@ -60,17 +60,17 @@ public interface CartDiscountValueFixedDraft
* <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€ and 15$, the matching € price will be discounted by 10€ 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€ and 15$, the matching € price will be discounted by 10€ 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>
65
65
* @param money values to be set
66
66
*/
67
67
68
68
@JsonIgnore
69
69
publicvoidsetMoney(finalMoney... money);
70
70
71
71
/**
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€ and 15$, the matching € price will be discounted by 10€ 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€ and 15$, the matching € price will be discounted by 10€ 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>
0 commit comments