Skip to content

Commit 0f9139e

Browse files
Merge pull request #822 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 88af946 + 3607ce1 commit 0f9139e

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ public interface LineItem extends com.commercetools.api.models.Customizable<Line
149149

150150
/**
151151
* <p>Total price of this Line Item equalling <code>price</code> multiplied by <code>quantity</code>. If the Line Item is discounted, the total price is the <code>discountedPricePerQuantity</code> multiplied by <code>quantity</code>. Includes taxes if the TaxRate <code>includedInPrice</code> is <code>true</code>.</p>
152+
* <p>If <code>ExternalPrice</code> LineItemPriceMode is used with high-precision money, then the total price is rounded by using the <code>HalfEven</code> rounding mode.</p>
152153
* @return totalPrice
153154
*/
154155
@NotNull
@@ -362,6 +363,7 @@ public interface LineItem extends com.commercetools.api.models.Customizable<Line
362363

363364
/**
364365
* <p>Total price of this Line Item equalling <code>price</code> multiplied by <code>quantity</code>. If the Line Item is discounted, the total price is the <code>discountedPricePerQuantity</code> multiplied by <code>quantity</code>. Includes taxes if the TaxRate <code>includedInPrice</code> is <code>true</code>.</p>
366+
* <p>If <code>ExternalPrice</code> LineItemPriceMode is used with high-precision money, then the total price is rounded by using the <code>HalfEven</code> rounding mode.</p>
365367
* @param totalPrice value to be set
366368
*/
367369

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ public LineItemBuilder quantity(final Long quantity) {
345345

346346
/**
347347
* <p>Total price of this Line Item equalling <code>price</code> multiplied by <code>quantity</code>. If the Line Item is discounted, the total price is the <code>discountedPricePerQuantity</code> multiplied by <code>quantity</code>. Includes taxes if the TaxRate <code>includedInPrice</code> is <code>true</code>.</p>
348+
* <p>If <code>ExternalPrice</code> LineItemPriceMode is used with high-precision money, then the total price is rounded by using the <code>HalfEven</code> rounding mode.</p>
348349
* @param builder function to build the totalPrice value
349350
* @return Builder
350351
*/
@@ -357,6 +358,7 @@ public LineItemBuilder totalPrice(
357358

358359
/**
359360
* <p>Total price of this Line Item equalling <code>price</code> multiplied by <code>quantity</code>. If the Line Item is discounted, the total price is the <code>discountedPricePerQuantity</code> multiplied by <code>quantity</code>. Includes taxes if the TaxRate <code>includedInPrice</code> is <code>true</code>.</p>
361+
* <p>If <code>ExternalPrice</code> LineItemPriceMode is used with high-precision money, then the total price is rounded by using the <code>HalfEven</code> rounding mode.</p>
360362
* @param builder function to build the totalPrice value
361363
* @return Builder
362364
*/
@@ -369,6 +371,7 @@ public LineItemBuilder withTotalPrice(
369371

370372
/**
371373
* <p>Total price of this Line Item equalling <code>price</code> multiplied by <code>quantity</code>. If the Line Item is discounted, the total price is the <code>discountedPricePerQuantity</code> multiplied by <code>quantity</code>. Includes taxes if the TaxRate <code>includedInPrice</code> is <code>true</code>.</p>
374+
* <p>If <code>ExternalPrice</code> LineItemPriceMode is used with high-precision money, then the total price is rounded by using the <code>HalfEven</code> rounding mode.</p>
372375
* @param totalPrice value to be set
373376
* @return Builder
374377
*/
@@ -1117,6 +1120,7 @@ public Long getQuantity() {
11171120

11181121
/**
11191122
* <p>Total price of this Line Item equalling <code>price</code> multiplied by <code>quantity</code>. If the Line Item is discounted, the total price is the <code>discountedPricePerQuantity</code> multiplied by <code>quantity</code>. Includes taxes if the TaxRate <code>includedInPrice</code> is <code>true</code>.</p>
1123+
* <p>If <code>ExternalPrice</code> LineItemPriceMode is used with high-precision money, then the total price is rounded by using the <code>HalfEven</code> rounding mode.</p>
11201124
* @return totalPrice
11211125
*/
11221126

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ public Long getQuantity() {
225225

226226
/**
227227
* <p>Total price of this Line Item equalling <code>price</code> multiplied by <code>quantity</code>. If the Line Item is discounted, the total price is the <code>discountedPricePerQuantity</code> multiplied by <code>quantity</code>. Includes taxes if the TaxRate <code>includedInPrice</code> is <code>true</code>.</p>
228+
* <p>If <code>ExternalPrice</code> LineItemPriceMode is used with high-precision money, then the total price is rounded by using the <code>HalfEven</code> rounding mode.</p>
228229
*/
229230

230231
public com.commercetools.api.models.common.CentPrecisionMoney getTotalPrice() {

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,3 +368,4 @@ e18cd8073ea975fe92c1bad4dea957b16ee0b1c4
368368
1664a8457691cf9460b5f5fe50aae15df4ac6b20
369369
b71e64cba7a81b26a5892daca52a9715fd32c05f
370370
159b6f682f761a18daea978cdb2760e7713e0000
371+
f9fa3e30e9bc44b50bdaa5be496b94b37e607a0e

0 commit comments

Comments
 (0)