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/DiscountOnTotalPrice.java
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -54,15 +54,17 @@ public interface DiscountOnTotalPrice {
* <p>Money value of the discount on the total net price of the Cart or Order. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
57
+
* <p>Money value of the discount on the total net price of the Cart or Order.</p>
58
+
* <p>The same percentage of discount applies as on the <code>discountedAmount</code>. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
58
59
* @return discountedNetAmount
59
60
*/
60
61
@Valid
61
62
@JsonProperty("discountedNetAmount")
62
63
publicTypedMoneygetDiscountedNetAmount();
63
64
64
65
/**
65
-
* <p>Money value of the discount on the total gross price of the Cart or Order. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
66
+
* <p>Money value of the discount on the total gross price of the Cart or Order.</p>
67
+
* <p>The same percentage of discount applies as on the <code>discountedAmount</code>. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
66
68
* @return discountedGrossAmount
67
69
*/
68
70
@Valid
@@ -92,14 +94,16 @@ public interface DiscountOnTotalPrice {
* <p>Money value of the discount on the total net price of the Cart or Order. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
97
+
* <p>Money value of the discount on the total net price of the Cart or Order.</p>
98
+
* <p>The same percentage of discount applies as on the <code>discountedAmount</code>. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
* <p>Money value of the discount on the total gross price of the Cart or Order. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
105
+
* <p>Money value of the discount on the total gross price of the Cart or Order.</p>
106
+
* <p>The same percentage of discount applies as on the <code>discountedAmount</code>. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPriceBuilder.java
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,8 @@ public DiscountOnTotalPriceBuilder setIncludedDiscounts(
153
153
}
154
154
155
155
/**
156
-
* <p>Money value of the discount on the total net price of the Cart or Order. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
156
+
* <p>Money value of the discount on the total net price of the Cart or Order.</p>
157
+
* <p>The same percentage of discount applies as on the <code>discountedAmount</code>. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
157
158
* @param discountedNetAmount value to be set
158
159
* @return Builder
159
160
*/
@@ -165,7 +166,8 @@ public DiscountOnTotalPriceBuilder discountedNetAmount(
165
166
}
166
167
167
168
/**
168
-
* <p>Money value of the discount on the total net price of the Cart or Order. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
169
+
* <p>Money value of the discount on the total net price of the Cart or Order.</p>
170
+
* <p>The same percentage of discount applies as on the <code>discountedAmount</code>. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
169
171
* @param builder function to build the discountedNetAmount value
170
172
* @return Builder
171
173
*/
@@ -177,7 +179,8 @@ public DiscountOnTotalPriceBuilder discountedNetAmount(
177
179
}
178
180
179
181
/**
180
-
* <p>Money value of the discount on the total gross price of the Cart or Order. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
182
+
* <p>Money value of the discount on the total gross price of the Cart or Order.</p>
183
+
* <p>The same percentage of discount applies as on the <code>discountedAmount</code>. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
181
184
* @param discountedGrossAmount value to be set
182
185
* @return Builder
183
186
*/
@@ -189,7 +192,8 @@ public DiscountOnTotalPriceBuilder discountedGrossAmount(
189
192
}
190
193
191
194
/**
192
-
* <p>Money value of the discount on the total gross price of the Cart or Order. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
195
+
* <p>Money value of the discount on the total gross price of the Cart or Order.</p>
196
+
* <p>The same percentage of discount applies as on the <code>discountedAmount</code>. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
193
197
* @param builder function to build the discountedGrossAmount value
194
198
* @return Builder
195
199
*/
@@ -219,7 +223,8 @@ public java.util.List<com.commercetools.api.models.cart.DiscountedTotalPricePort
219
223
}
220
224
221
225
/**
222
-
* <p>Money value of the discount on the total net price of the Cart or Order. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
226
+
* <p>Money value of the discount on the total net price of the Cart or Order.</p>
227
+
* <p>The same percentage of discount applies as on the <code>discountedAmount</code>. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
223
228
* @return discountedNetAmount
224
229
*/
225
230
@@ -229,7 +234,8 @@ public com.commercetools.api.models.common.TypedMoney getDiscountedNetAmount() {
229
234
}
230
235
231
236
/**
232
-
* <p>Money value of the discount on the total gross price of the Cart or Order. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
237
+
* <p>Money value of the discount on the total gross price of the Cart or Order.</p>
238
+
* <p>The same percentage of discount applies as on the <code>discountedAmount</code>. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/DiscountOnTotalPriceImpl.java
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -68,15 +68,17 @@ public java.util.List<com.commercetools.api.models.cart.DiscountedTotalPricePort
68
68
}
69
69
70
70
/**
71
-
* <p>Money value of the discount on the total net price of the Cart or Order. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
71
+
* <p>Money value of the discount on the total net price of the Cart or Order.</p>
72
+
* <p>The same percentage of discount applies as on the <code>discountedAmount</code>. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
* <p>Money value of the discount on the total gross price of the Cart or Order. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
80
+
* <p>Money value of the discount on the total gross price of the Cart or Order.</p>
81
+
* <p>The same percentage of discount applies as on the <code>discountedAmount</code>. Present only when <code>taxedPrice</code> of the Cart or Order exists.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTotalPriceTarget.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
importio.vrap.rmf.base.client.utils.Generated;
14
14
15
15
/**
16
-
* <p>Discount is applied to the total price of the Cart.</p>
16
+
* <p>Discount is applied to the total price of the Cart. The same percentage of discount applies on the Cart or Order <code>taxedPrice</code>.</p>
17
17
*
18
18
* <hr>
19
19
* Example to create an instance using the builder pattern
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart_discount/CartDiscountTotalPriceTargetImpl.java
0 commit comments