diff --git a/lib/commercetools-api/src/Models/Cart/Cart.php b/lib/commercetools-api/src/Models/Cart/Cart.php index 285d02ece2e..b7c7832a368 100644 --- a/lib/commercetools-api/src/Models/Cart/Cart.php +++ b/lib/commercetools-api/src/Models/Cart/Cart.php @@ -179,7 +179,7 @@ public function getTotalPrice(); *
  • For a Cart with Platform TaxMode, it is automatically set when a shipping address is set. For Carts with Multiple ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via shippingDetails), otherwise taxedPrice is not automatically set.
  • *
  • For a Cart with External TaxMode, it is automatically set when shippingAddress and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with Multiple ShippingMode, all allocations must have their respective tax rates present in perMethodTaxRate, otherwise taxedPrice is not automatically set.
  • * - *

    If a discount applies on totalPrice, this field holds the discounted values.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

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

    Sum of the taxedPrice field of ShippingInfo across all Shipping Methods.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

    * * @return null|TaxedPrice diff --git a/lib/commercetools-api/src/Models/Cart/CartBuilder.php b/lib/commercetools-api/src/Models/Cart/CartBuilder.php index 02226e9aa24..fbe7ab9c6ce 100644 --- a/lib/commercetools-api/src/Models/Cart/CartBuilder.php +++ b/lib/commercetools-api/src/Models/Cart/CartBuilder.php @@ -485,7 +485,7 @@ public function getTotalPrice() *
  • For a Cart with Platform TaxMode, it is automatically set when a shipping address is set. For Carts with Multiple ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via shippingDetails), otherwise taxedPrice is not automatically set.
  • *
  • For a Cart with External TaxMode, it is automatically set when shippingAddress and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with Multiple ShippingMode, all allocations must have their respective tax rates present in perMethodTaxRate, otherwise taxedPrice is not automatically set.
  • * - *

    If a discount applies on totalPrice, this field holds the discounted values.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

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

    Sum of the taxedPrice field of ShippingInfo across all Shipping Methods.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

    * * @return null|TaxedPrice diff --git a/lib/commercetools-api/src/Models/Cart/CartModel.php b/lib/commercetools-api/src/Models/Cart/CartModel.php index 2bbf3a5272d..f7dbca9b7bc 100644 --- a/lib/commercetools-api/src/Models/Cart/CartModel.php +++ b/lib/commercetools-api/src/Models/Cart/CartModel.php @@ -729,7 +729,7 @@ public function getTotalPrice() *
  • For a Cart with Platform TaxMode, it is automatically set when a shipping address is set. For Carts with Multiple ShippingMode, all Line Items and Custom Line Items must be fully distributed between the Shipping Methods (via shippingDetails), otherwise taxedPrice is not automatically set.
  • *
  • For a Cart with External TaxMode, it is automatically set when shippingAddress and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set. For Carts with Multiple ShippingMode, all allocations must have their respective tax rates present in perMethodTaxRate, otherwise taxedPrice is not automatically set.
  • * - *

    If a discount applies on totalPrice, this field holds the discounted values.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

    * * * @return null|TaxedPrice @@ -751,6 +751,7 @@ public function getTaxedPrice() /** *

    Sum of the taxedPrice field of ShippingInfo across all Shipping Methods.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

    * * * @return null|TaxedPrice diff --git a/lib/commercetools-api/src/Models/Order/Order.php b/lib/commercetools-api/src/Models/Order/Order.php index b04a4056ce5..2a0c6c8ebe8 100644 --- a/lib/commercetools-api/src/Models/Order/Order.php +++ b/lib/commercetools-api/src/Models/Order/Order.php @@ -202,7 +202,7 @@ public function getTotalPrice(); *
  • For Platform TaxMode, it is automatically set when a shipping address is set.
  • *
  • For External TaxMode, it is automatically set when shippingAddress and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.
  • * - *

    If a discount applies on totalPrice, this field holds the discounted values.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

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

    Sum of the taxedPrice field of ShippingInfo across all Shipping Methods.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

    * * @return null|TaxedPrice diff --git a/lib/commercetools-api/src/Models/Order/OrderBuilder.php b/lib/commercetools-api/src/Models/Order/OrderBuilder.php index 494125bc177..b09331fd716 100644 --- a/lib/commercetools-api/src/Models/Order/OrderBuilder.php +++ b/lib/commercetools-api/src/Models/Order/OrderBuilder.php @@ -556,7 +556,7 @@ public function getTotalPrice() *
  • For Platform TaxMode, it is automatically set when a shipping address is set.
  • *
  • For External TaxMode, it is automatically set when shippingAddress and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.
  • * - *

    If a discount applies on totalPrice, this field holds the discounted values.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

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

    Sum of the taxedPrice field of ShippingInfo across all Shipping Methods.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

    * * @return null|TaxedPrice diff --git a/lib/commercetools-api/src/Models/Order/OrderModel.php b/lib/commercetools-api/src/Models/Order/OrderModel.php index ccc94418fd6..5ff70123162 100644 --- a/lib/commercetools-api/src/Models/Order/OrderModel.php +++ b/lib/commercetools-api/src/Models/Order/OrderModel.php @@ -816,7 +816,7 @@ public function getTotalPrice() *
  • For Platform TaxMode, it is automatically set when a shipping address is set.
  • *
  • For External TaxMode, it is automatically set when shippingAddress and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.
  • * - *

    If a discount applies on totalPrice, this field holds the discounted values.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

    * * * @return null|TaxedPrice @@ -838,6 +838,7 @@ public function getTaxedPrice() /** *

    Sum of the taxedPrice field of ShippingInfo across all Shipping Methods.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

    * * * @return null|TaxedPrice diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderBuilder.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderBuilder.php index 5f4667d7ef4..9a1539619d0 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderBuilder.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderBuilder.php @@ -558,7 +558,7 @@ public function getTotalPrice() *
  • For Platform TaxMode, it is automatically set when a shipping address is set.
  • *
  • For External TaxMode, it is automatically set when shippingAddress and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.
  • * - *

    If a discount applies on totalPrice, this field holds the discounted values.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

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

    Sum of the taxedPrice field of ShippingInfo across all Shipping Methods.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

    * * @return null|TaxedPrice diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderModel.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderModel.php index 0ffe640ea34..467e85dc09c 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderModel.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderModel.php @@ -818,7 +818,7 @@ public function getTotalPrice() *
  • For Platform TaxMode, it is automatically set when a shipping address is set.
  • *
  • For External TaxMode, it is automatically set when shippingAddress and external Tax Rates for all Line Items, Custom Line Items, and Shipping Methods in the Cart are set.
  • * - *

    If a discount applies on totalPrice, this field holds the discounted values.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

    * * * @return null|TaxedPrice @@ -840,6 +840,7 @@ public function getTaxedPrice() /** *

    Sum of the taxedPrice field of ShippingInfo across all Shipping Methods.

    + *

    If a discount applies on totalPrice, this field holds the proportionally discounted value.

    * * * @return null|TaxedPrice diff --git a/references.txt b/references.txt index 5d34ad92204..aec031dab8d 100644 --- a/references.txt +++ b/references.txt @@ -446,3 +446,4 @@ c388d876a51d22b2b8a73249fe4694b297db6cd5 bb49fa04d50e4e0267846c7d805ae8ebc254bdea bb49fa04d50e4e0267846c7d805ae8ebc254bdea 619fb89cb6ac5d2a1d5f1b7d2f51a51e13e7ace9 +1a7da72f28929e745fe954c69569acda29a50ed5