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/Cart.java
* <li>For a Cart with <code>Platform</code> TaxMode, it is automatically set when a shipping address is set. For Carts with <code>Multiple</code> ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via <code>shippingDetails</code>), otherwise <code>taxedPrice</code> is not automatically set.</li>
181
181
* <li>For a Cart with <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with <code>Multiple</code> ShippingMode, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
182
182
* </ul>
183
-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
183
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
* <li>For a Cart with <code>Platform</code> TaxMode, it is automatically set when a shipping address is set. For Carts with <code>Multiple</code> ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via <code>shippingDetails</code>), otherwise <code>taxedPrice</code> is not automatically set.</li>
560
561
* <li>For a Cart with <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with <code>Multiple</code> ShippingMode, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
561
562
* </ul>
562
-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
563
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartBuilder.java
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -586,7 +586,7 @@ public CartBuilder totalPrice(final com.commercetools.api.models.common.CentPrec
586
586
* <li>For a Cart with <code>Platform</code> TaxMode, it is automatically set when a shipping address is set. For Carts with <code>Multiple</code> ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via <code>shippingDetails</code>), otherwise <code>taxedPrice</code> is not automatically set.</li>
587
587
* <li>For a Cart with <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with <code>Multiple</code> ShippingMode, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
588
588
* </ul>
589
-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
589
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
590
590
* @param builder function to build the taxedPrice value
591
591
* @return Builder
592
592
*/
@@ -602,7 +602,7 @@ public CartBuilder taxedPrice(
602
602
* <li>For a Cart with <code>Platform</code> TaxMode, it is automatically set when a shipping address is set. For Carts with <code>Multiple</code> ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via <code>shippingDetails</code>), otherwise <code>taxedPrice</code> is not automatically set.</li>
603
603
* <li>For a Cart with <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with <code>Multiple</code> ShippingMode, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
604
604
* </ul>
605
-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
605
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
606
606
* @param builder function to build the taxedPrice value
607
607
* @return Builder
608
608
*/
@@ -618,7 +618,7 @@ public CartBuilder withTaxedPrice(
618
618
* <li>For a Cart with <code>Platform</code> TaxMode, it is automatically set when a shipping address is set. For Carts with <code>Multiple</code> ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via <code>shippingDetails</code>), otherwise <code>taxedPrice</code> is not automatically set.</li>
619
619
* <li>For a Cart with <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with <code>Multiple</code> ShippingMode, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
620
620
* </ul>
621
-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
621
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
622
622
* @param taxedPrice value to be set
623
623
* @return Builder
624
624
*/
@@ -630,6 +630,7 @@ public CartBuilder taxedPrice(@Nullable final com.commercetools.api.models.cart.
630
630
631
631
/**
632
632
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
633
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
633
634
* @param builder function to build the taxedShippingPrice value
634
635
* @return Builder
635
636
*/
@@ -642,6 +643,7 @@ public CartBuilder taxedShippingPrice(
642
643
643
644
/**
644
645
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
646
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
645
647
* @param builder function to build the taxedShippingPrice value
646
648
* @return Builder
647
649
*/
@@ -654,6 +656,7 @@ public CartBuilder withTaxedShippingPrice(
654
656
655
657
/**
656
658
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
659
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
657
660
* @param taxedShippingPrice value to be set
658
661
* @return Builder
659
662
*/
@@ -1774,7 +1777,7 @@ public com.commercetools.api.models.common.CentPrecisionMoney getTotalPrice() {
1774
1777
* <li>For a Cart with <code>Platform</code> TaxMode, it is automatically set when a shipping address is set. For Carts with <code>Multiple</code> ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via <code>shippingDetails</code>), otherwise <code>taxedPrice</code> is not automatically set.</li>
1775
1778
* <li>For a Cart with <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with <code>Multiple</code> ShippingMode, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
1776
1779
* </ul>
1777
-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
1780
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
1778
1781
* @return taxedPrice
1779
1782
*/
1780
1783
@@ -1785,6 +1788,7 @@ public com.commercetools.api.models.cart.TaxedPrice getTaxedPrice() {
1785
1788
1786
1789
/**
1787
1790
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
1791
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CartImpl.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -337,7 +337,7 @@ public com.commercetools.api.models.common.CentPrecisionMoney getTotalPrice() {
337
337
* <li>For a Cart with <code>Platform</code> TaxMode, it is automatically set when a shipping address is set. For Carts with <code>Multiple</code> ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via <code>shippingDetails</code>), otherwise <code>taxedPrice</code> is not automatically set.</li>
338
338
* <li>For a Cart with <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with <code>Multiple</code> ShippingMode, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
339
339
* </ul>
340
-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
340
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</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. The same percentage of discount applies on the Cart or Order <code>taxedPrice</code>.</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> and <code>taxedShippingPrice</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
* <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>
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> and <code>taxedShippingPrice</code>.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/Order.java
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ public interface Order extends BaseResource, OrderMixin, com.commercetools.api.m
191
191
* <li>For <code>Platform</code> TaxMode, it is automatically set when a shipping address is set.</li>
192
192
* <li>For <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.</li>
193
193
* </ul>
194
-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
194
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
195
195
* @return taxedPrice
196
196
*/
197
197
@Valid
@@ -200,6 +200,7 @@ public interface Order extends BaseResource, OrderMixin, com.commercetools.api.m
200
200
201
201
/**
202
202
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
203
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
203
204
* @return taxedShippingPrice
204
205
*/
205
206
@Valid
@@ -632,14 +633,15 @@ public interface Order extends BaseResource, OrderMixin, com.commercetools.api.m
632
633
* <li>For <code>Platform</code> TaxMode, it is automatically set when a shipping address is set.</li>
633
634
* <li>For <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.</li>
634
635
* </ul>
635
-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
636
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/order/OrderBuilder.java
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -612,7 +612,7 @@ public OrderBuilder totalPrice(final com.commercetools.api.models.common.CentPre
612
612
* <li>For <code>Platform</code> TaxMode, it is automatically set when a shipping address is set.</li>
613
613
* <li>For <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.</li>
614
614
* </ul>
615
-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
615
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
616
616
* @param builder function to build the taxedPrice value
617
617
* @return Builder
618
618
*/
@@ -628,7 +628,7 @@ public OrderBuilder taxedPrice(
628
628
* <li>For <code>Platform</code> TaxMode, it is automatically set when a shipping address is set.</li>
629
629
* <li>For <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.</li>
630
630
* </ul>
631
-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
631
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
632
632
* @param builder function to build the taxedPrice value
633
633
* @return Builder
634
634
*/
@@ -644,7 +644,7 @@ public OrderBuilder withTaxedPrice(
644
644
* <li>For <code>Platform</code> TaxMode, it is automatically set when a shipping address is set.</li>
645
645
* <li>For <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.</li>
646
646
* </ul>
647
-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
647
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
648
648
* @param taxedPrice value to be set
649
649
* @return Builder
650
650
*/
@@ -656,6 +656,7 @@ public OrderBuilder taxedPrice(@Nullable final com.commercetools.api.models.cart
656
656
657
657
/**
658
658
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
659
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
659
660
* @param builder function to build the taxedShippingPrice value
660
661
* @return Builder
661
662
*/
@@ -668,6 +669,7 @@ public OrderBuilder taxedShippingPrice(
668
669
669
670
/**
670
671
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
672
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
671
673
* @param builder function to build the taxedShippingPrice value
672
674
* @return Builder
673
675
*/
@@ -680,6 +682,7 @@ public OrderBuilder withTaxedShippingPrice(
680
682
681
683
/**
682
684
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
685
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
683
686
* @param taxedShippingPrice value to be set
684
687
* @return Builder
685
688
*/
@@ -2111,7 +2114,7 @@ public com.commercetools.api.models.common.CentPrecisionMoney getTotalPrice() {
2111
2114
* <li>For <code>Platform</code> TaxMode, it is automatically set when a shipping address is set.</li>
2112
2115
* <li>For <code>External</code> TaxMode, it is automatically set when <code>shippingAddress</code> and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.</li>
2113
2116
* </ul>
2114
-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
2117
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
2115
2118
* @return taxedPrice
2116
2119
*/
2117
2120
@@ -2122,6 +2125,7 @@ public com.commercetools.api.models.cart.TaxedPrice getTaxedPrice() {
2122
2125
2123
2126
/**
2124
2127
* <p>Sum of the <code>taxedPrice</code> field of ShippingInfo across all Shipping Methods.</p>
2128
+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
0 commit comments