Skip to content

Commit 3c29c88

Browse files
Merge pull request #873 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents c243af5 + 456086a commit 3c29c88

File tree

6 files changed

+27
-14
lines changed

6 files changed

+27
-14
lines changed

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,17 @@ public interface DiscountOnTotalPrice {
5454
public List<DiscountedTotalPricePortion> getIncludedDiscounts();
5555

5656
/**
57-
* <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>
5859
* @return discountedNetAmount
5960
*/
6061
@Valid
6162
@JsonProperty("discountedNetAmount")
6263
public TypedMoney getDiscountedNetAmount();
6364

6465
/**
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>
6668
* @return discountedGrossAmount
6769
*/
6870
@Valid
@@ -92,14 +94,16 @@ public interface DiscountOnTotalPrice {
9294
public void setIncludedDiscounts(final List<DiscountedTotalPricePortion> includedDiscounts);
9395

9496
/**
95-
* <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>
9699
* @param discountedNetAmount value to be set
97100
*/
98101

99102
public void setDiscountedNetAmount(final TypedMoney discountedNetAmount);
100103

101104
/**
102-
* <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>
103107
* @param discountedGrossAmount value to be set
104108
*/
105109

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

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ public DiscountOnTotalPriceBuilder setIncludedDiscounts(
153153
}
154154

155155
/**
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>
157158
* @param discountedNetAmount value to be set
158159
* @return Builder
159160
*/
@@ -165,7 +166,8 @@ public DiscountOnTotalPriceBuilder discountedNetAmount(
165166
}
166167

167168
/**
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>
169171
* @param builder function to build the discountedNetAmount value
170172
* @return Builder
171173
*/
@@ -177,7 +179,8 @@ public DiscountOnTotalPriceBuilder discountedNetAmount(
177179
}
178180

179181
/**
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>
181184
* @param discountedGrossAmount value to be set
182185
* @return Builder
183186
*/
@@ -189,7 +192,8 @@ public DiscountOnTotalPriceBuilder discountedGrossAmount(
189192
}
190193

191194
/**
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>
193197
* @param builder function to build the discountedGrossAmount value
194198
* @return Builder
195199
*/
@@ -219,7 +223,8 @@ public java.util.List<com.commercetools.api.models.cart.DiscountedTotalPricePort
219223
}
220224

221225
/**
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>
223228
* @return discountedNetAmount
224229
*/
225230

@@ -229,7 +234,8 @@ public com.commercetools.api.models.common.TypedMoney getDiscountedNetAmount() {
229234
}
230235

231236
/**
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>
233239
* @return discountedGrossAmount
234240
*/
235241

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,17 @@ public java.util.List<com.commercetools.api.models.cart.DiscountedTotalPricePort
6868
}
6969

7070
/**
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>
7273
*/
7374

7475
public com.commercetools.api.models.common.TypedMoney getDiscountedNetAmount() {
7576
return this.discountedNetAmount;
7677
}
7778

7879
/**
79-
* <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>
8082
*/
8183

8284
public com.commercetools.api.models.common.TypedMoney getDiscountedGrossAmount() {

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

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

1515
/**
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>
1717
*
1818
* <hr>
1919
* Example to create an instance using the builder pattern

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

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

1818
/**
19-
* <p>Discount is applied to the total price of the Cart.</p>
19+
* <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>
2020
*/
2121
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2222
public class CartDiscountTotalPriceTargetImpl implements CartDiscountTotalPriceTarget, ModelBase {

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,3 +397,4 @@ ab43d3845fcab04a4e74bada3ddedf2d8b28472f
397397
275ce2cae5cbd358f01c3a2f4583b536b50cb1dd
398398
b249fe4545f983d5dc7a0f5260d840a1344cbd77
399399
f2c3348614fec5fe51dfb7adac8744e033626b8b
400+
535ee58310a5fb706c9946aaac9cdc638af996db

0 commit comments

Comments
 (0)