Skip to content

Commit

Permalink
Merge pull request #822 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
kodiakhq[bot] authored Feb 6, 2025
2 parents 88af946 + 3607ce1 commit 0f9139e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ public interface LineItem extends com.commercetools.api.models.Customizable<Line

/**
* <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>
* <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>
* @return totalPrice
*/
@NotNull
Expand Down Expand Up @@ -362,6 +363,7 @@ public interface LineItem extends com.commercetools.api.models.Customizable<Line

/**
* <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>
* <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>
* @param totalPrice value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ public LineItemBuilder quantity(final Long quantity) {

/**
* <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>
* <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>
* @param builder function to build the totalPrice value
* @return Builder
*/
Expand All @@ -357,6 +358,7 @@ public LineItemBuilder totalPrice(

/**
* <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>
* <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>
* @param builder function to build the totalPrice value
* @return Builder
*/
Expand All @@ -369,6 +371,7 @@ public LineItemBuilder withTotalPrice(

/**
* <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>
* <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>
* @param totalPrice value to be set
* @return Builder
*/
Expand Down Expand Up @@ -1117,6 +1120,7 @@ public Long getQuantity() {

/**
* <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>
* <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>
* @return totalPrice
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ public Long getQuantity() {

/**
* <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>
* <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>
*/

public com.commercetools.api.models.common.CentPrecisionMoney getTotalPrice() {
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -368,3 +368,4 @@ e18cd8073ea975fe92c1bad4dea957b16ee0b1c4
1664a8457691cf9460b5f5fe50aae15df4ac6b20
b71e64cba7a81b26a5892daca52a9715fd32c05f
159b6f682f761a18daea978cdb2760e7713e0000
f9fa3e30e9bc44b50bdaa5be496b94b37e607a0e

0 comments on commit 0f9139e

Please sign in to comment.