Skip to content

Commit 893e0ab

Browse files
committed
build(codegen): updating SDK
1 parent e204a48 commit 893e0ab

File tree

9 files changed

+17
-8
lines changed

9 files changed

+17
-8
lines changed

lib/commercetools-api/src/Models/Cart/Cart.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public function getTotalPrice();
179179
* <li>For a Cart with <code>Platform</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, it is automatically set when a <a href="ctp:api:type:CartSetShippingAddressAction">shipping address is set</a>. For Carts with <code>Multiple</code> <a href="ctp:api:type:ShippingMode">ShippingMode</a>, 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>
180180
* <li>For a Cart with <code>External</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, 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> <a href="ctp:api:type:ShippingMode">ShippingMode</a>, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
181181
* </ul>
182-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
182+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
183183
*
184184
185185
* @return null|TaxedPrice
@@ -188,6 +188,7 @@ public function getTaxedPrice();
188188

189189
/**
190190
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
191+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
191192
*
192193
193194
* @return null|TaxedPrice

lib/commercetools-api/src/Models/Cart/CartBuilder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ public function getTotalPrice()
485485
* <li>For a Cart with <code>Platform</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, it is automatically set when a <a href="ctp:api:type:CartSetShippingAddressAction">shipping address is set</a>. For Carts with <code>Multiple</code> <a href="ctp:api:type:ShippingMode">ShippingMode</a>, 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>
486486
* <li>For a Cart with <code>External</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, 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> <a href="ctp:api:type:ShippingMode">ShippingMode</a>, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
487487
* </ul>
488-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
488+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
489489
*
490490
491491
* @return null|TaxedPrice
@@ -497,6 +497,7 @@ public function getTaxedPrice()
497497

498498
/**
499499
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
500+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
500501
*
501502
502503
* @return null|TaxedPrice

lib/commercetools-api/src/Models/Cart/CartModel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ public function getTotalPrice()
729729
* <li>For a Cart with <code>Platform</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, it is automatically set when a <a href="ctp:api:type:CartSetShippingAddressAction">shipping address is set</a>. For Carts with <code>Multiple</code> <a href="ctp:api:type:ShippingMode">ShippingMode</a>, 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>
730730
* <li>For a Cart with <code>External</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, 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> <a href="ctp:api:type:ShippingMode">ShippingMode</a>, all allocations must have their respective tax rates present in <code>perMethodTaxRate</code>, otherwise <code>taxedPrice</code> is not automatically set.</li>
731731
* </ul>
732-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
732+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
733733
*
734734
*
735735
* @return null|TaxedPrice
@@ -751,6 +751,7 @@ public function getTaxedPrice()
751751

752752
/**
753753
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
754+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
754755
*
755756
*
756757
* @return null|TaxedPrice

lib/commercetools-api/src/Models/Order/Order.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public function getTotalPrice();
202202
* <li>For <code>Platform</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, it is automatically set when a <a href="ctp:api:type:OrderSetShippingAddressAction">shipping address is set</a>.</li>
203203
* <li>For <code>External</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, 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>
204204
* </ul>
205-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
205+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
206206
*
207207
208208
* @return null|TaxedPrice
@@ -211,6 +211,7 @@ public function getTaxedPrice();
211211

212212
/**
213213
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
214+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
214215
*
215216
216217
* @return null|TaxedPrice

lib/commercetools-api/src/Models/Order/OrderBuilder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ public function getTotalPrice()
556556
* <li>For <code>Platform</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, it is automatically set when a <a href="ctp:api:type:OrderSetShippingAddressAction">shipping address is set</a>.</li>
557557
* <li>For <code>External</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, 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>
558558
* </ul>
559-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
559+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
560560
*
561561
562562
* @return null|TaxedPrice
@@ -568,6 +568,7 @@ public function getTaxedPrice()
568568

569569
/**
570570
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
571+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
571572
*
572573
573574
* @return null|TaxedPrice

lib/commercetools-api/src/Models/Order/OrderModel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ public function getTotalPrice()
816816
* <li>For <code>Platform</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, it is automatically set when a <a href="ctp:api:type:OrderSetShippingAddressAction">shipping address is set</a>.</li>
817817
* <li>For <code>External</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, 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>
818818
* </ul>
819-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
819+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
820820
*
821821
*
822822
* @return null|TaxedPrice
@@ -838,6 +838,7 @@ public function getTaxedPrice()
838838

839839
/**
840840
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
841+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
841842
*
842843
*
843844
* @return null|TaxedPrice

lib/commercetools-api/src/Models/OrderEdit/StagedOrderBuilder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ public function getTotalPrice()
558558
* <li>For <code>Platform</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, it is automatically set when a <a href="ctp:api:type:OrderSetShippingAddressAction">shipping address is set</a>.</li>
559559
* <li>For <code>External</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, 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>
560560
* </ul>
561-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
561+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
562562
*
563563
564564
* @return null|TaxedPrice
@@ -570,6 +570,7 @@ public function getTaxedPrice()
570570

571571
/**
572572
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
573+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
573574
*
574575
575576
* @return null|TaxedPrice

lib/commercetools-api/src/Models/OrderEdit/StagedOrderModel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ public function getTotalPrice()
818818
* <li>For <code>Platform</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, it is automatically set when a <a href="ctp:api:type:OrderSetShippingAddressAction">shipping address is set</a>.</li>
819819
* <li>For <code>External</code> <a href="ctp:api:type:TaxMode">TaxMode</a>, 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>
820820
* </ul>
821-
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
821+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
822822
*
823823
*
824824
* @return null|TaxedPrice
@@ -840,6 +840,7 @@ public function getTaxedPrice()
840840

841841
/**
842842
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
843+
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
843844
*
844845
*
845846
* @return null|TaxedPrice

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,3 +446,4 @@ c388d876a51d22b2b8a73249fe4694b297db6cd5
446446
bb49fa04d50e4e0267846c7d805ae8ebc254bdea
447447
bb49fa04d50e4e0267846c7d805ae8ebc254bdea
448448
619fb89cb6ac5d2a1d5f1b7d2f51a51e13e7ace9
449+
1a7da72f28929e745fe954c69569acda29a50ed5

0 commit comments

Comments
 (0)