Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/commercetools-api/src/Models/Cart/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public function getTotalPrice();
* <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>
* <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>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*

* @return null|TaxedPrice
Expand All @@ -188,6 +188,7 @@ public function getTaxedPrice();

/**
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*

* @return null|TaxedPrice
Expand Down
3 changes: 2 additions & 1 deletion lib/commercetools-api/src/Models/Cart/CartBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ public function getTotalPrice()
* <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>
* <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>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*

* @return null|TaxedPrice
Expand All @@ -497,6 +497,7 @@ public function getTaxedPrice()

/**
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*

* @return null|TaxedPrice
Expand Down
3 changes: 2 additions & 1 deletion lib/commercetools-api/src/Models/Cart/CartModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ public function getTotalPrice()
* <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>
* <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>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*
*
* @return null|TaxedPrice
Expand All @@ -751,6 +751,7 @@ public function getTaxedPrice()

/**
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*
*
* @return null|TaxedPrice
Expand Down
3 changes: 2 additions & 1 deletion lib/commercetools-api/src/Models/Order/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function getTotalPrice();
* <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>
* <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>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*

* @return null|TaxedPrice
Expand All @@ -211,6 +211,7 @@ public function getTaxedPrice();

/**
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*

* @return null|TaxedPrice
Expand Down
3 changes: 2 additions & 1 deletion lib/commercetools-api/src/Models/Order/OrderBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ public function getTotalPrice()
* <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>
* <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>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*

* @return null|TaxedPrice
Expand All @@ -568,6 +568,7 @@ public function getTaxedPrice()

/**
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*

* @return null|TaxedPrice
Expand Down
3 changes: 2 additions & 1 deletion lib/commercetools-api/src/Models/Order/OrderModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ public function getTotalPrice()
* <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>
* <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>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*
*
* @return null|TaxedPrice
Expand All @@ -838,6 +838,7 @@ public function getTaxedPrice()

/**
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*
*
* @return null|TaxedPrice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ public function getTotalPrice()
* <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>
* <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>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*

* @return null|TaxedPrice
Expand All @@ -570,6 +570,7 @@ public function getTaxedPrice()

/**
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*

* @return null|TaxedPrice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ public function getTotalPrice()
* <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>
* <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>
* </ul>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the discounted values.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*
*
* @return null|TaxedPrice
Expand All @@ -840,6 +840,7 @@ public function getTaxedPrice()

/**
* <p>Sum of the <code>taxedPrice</code> field of <a href="ctp:api:type:ShippingInfo">ShippingInfo</a> across all Shipping Methods.</p>
* <p>If a discount applies on <code>totalPrice</code>, this field holds the proportionally discounted value.</p>
*
*
* @return null|TaxedPrice
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -446,3 +446,4 @@ c388d876a51d22b2b8a73249fe4694b297db6cd5
bb49fa04d50e4e0267846c7d805ae8ebc254bdea
bb49fa04d50e4e0267846c7d805ae8ebc254bdea
619fb89cb6ac5d2a1d5f1b7d2f51a51e13e7ace9
1a7da72f28929e745fe954c69569acda29a50ed5