diff --git a/lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemAction.php b/lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemAction.php index 23bb91fca35..40000f8a6f8 100644 --- a/lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemAction.php +++ b/lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemAction.php @@ -33,6 +33,7 @@ interface CartAddCustomLineItemAction extends CartUpdateAction /** *

Money value of the Custom Line Item. * The value can be negative.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemActionBuilder.php b/lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemActionBuilder.php index 84663c91869..9a0ba1f73d6 100644 --- a/lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemActionBuilder.php +++ b/lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemActionBuilder.php @@ -99,6 +99,7 @@ final class CartAddCustomLineItemActionBuilder implements Builder /** *

Money value of the Custom Line Item. * The value can be negative.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemActionModel.php b/lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemActionModel.php index a7e7fed4393..6cb040c4413 100644 --- a/lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemActionModel.php +++ b/lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemActionModel.php @@ -155,6 +155,7 @@ public function getAction() /** *

Money value of the Custom Line Item. * The value can be negative.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartAddLineItemAction.php b/lib/commercetools-api/src/Models/Cart/CartAddLineItemAction.php index eff9ec85f95..a8a1f8fe5e2 100644 --- a/lib/commercetools-api/src/Models/Cart/CartAddLineItemAction.php +++ b/lib/commercetools-api/src/Models/Cart/CartAddLineItemAction.php @@ -110,6 +110,7 @@ public function getSupplyChannel(); /** *

Sets the LineItem price value, and the priceMode to ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartAddLineItemActionBuilder.php b/lib/commercetools-api/src/Models/Cart/CartAddLineItemActionBuilder.php index d3eb32859de..63f9967c013 100644 --- a/lib/commercetools-api/src/Models/Cart/CartAddLineItemActionBuilder.php +++ b/lib/commercetools-api/src/Models/Cart/CartAddLineItemActionBuilder.php @@ -224,6 +224,7 @@ public function getSupplyChannel() /** *

Sets the LineItem price value, and the priceMode to ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartAddLineItemActionModel.php b/lib/commercetools-api/src/Models/Cart/CartAddLineItemActionModel.php index 32b306c3358..9c37003352b 100644 --- a/lib/commercetools-api/src/Models/Cart/CartAddLineItemActionModel.php +++ b/lib/commercetools-api/src/Models/Cart/CartAddLineItemActionModel.php @@ -368,6 +368,7 @@ public function getSupplyChannel() /** *

Sets the LineItem price value, and the priceMode to ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartChangeCustomLineItemMoneyAction.php b/lib/commercetools-api/src/Models/Cart/CartChangeCustomLineItemMoneyAction.php index fd1119a56b5..7675cfd5f24 100644 --- a/lib/commercetools-api/src/Models/Cart/CartChangeCustomLineItemMoneyAction.php +++ b/lib/commercetools-api/src/Models/Cart/CartChangeCustomLineItemMoneyAction.php @@ -36,6 +36,7 @@ public function getCustomLineItemKey(); /** *

Value to set. Must not be empty. Can be a negative amount.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartChangeCustomLineItemMoneyActionBuilder.php b/lib/commercetools-api/src/Models/Cart/CartChangeCustomLineItemMoneyActionBuilder.php index 38ca8e854bf..fdd28187b8f 100644 --- a/lib/commercetools-api/src/Models/Cart/CartChangeCustomLineItemMoneyActionBuilder.php +++ b/lib/commercetools-api/src/Models/Cart/CartChangeCustomLineItemMoneyActionBuilder.php @@ -64,6 +64,7 @@ public function getCustomLineItemKey() /** *

Value to set. Must not be empty. Can be a negative amount.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartChangeCustomLineItemMoneyActionModel.php b/lib/commercetools-api/src/Models/Cart/CartChangeCustomLineItemMoneyActionModel.php index bafb5858ecd..ffb2113b54f 100644 --- a/lib/commercetools-api/src/Models/Cart/CartChangeCustomLineItemMoneyActionModel.php +++ b/lib/commercetools-api/src/Models/Cart/CartChangeCustomLineItemMoneyActionModel.php @@ -122,6 +122,7 @@ public function getCustomLineItemKey() /** *

Value to set. Must not be empty. Can be a negative amount.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartChangeLineItemQuantityAction.php b/lib/commercetools-api/src/Models/Cart/CartChangeLineItemQuantityAction.php index e1e8f94bdfb..76d7b6a2ddc 100644 --- a/lib/commercetools-api/src/Models/Cart/CartChangeLineItemQuantityAction.php +++ b/lib/commercetools-api/src/Models/Cart/CartChangeLineItemQuantityAction.php @@ -49,6 +49,7 @@ public function getQuantity(); *

Required when the Line Item uses ExternalPrice LineItemPriceMode. * Sets the LineItem price to the given value when changing the quantity of a Line Item.

*

The LineItem price is updated as described in Line Item price selection.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartChangeLineItemQuantityActionBuilder.php b/lib/commercetools-api/src/Models/Cart/CartChangeLineItemQuantityActionBuilder.php index 74eca1128b2..90574d76d63 100644 --- a/lib/commercetools-api/src/Models/Cart/CartChangeLineItemQuantityActionBuilder.php +++ b/lib/commercetools-api/src/Models/Cart/CartChangeLineItemQuantityActionBuilder.php @@ -90,6 +90,7 @@ public function getQuantity() *

Required when the Line Item uses ExternalPrice LineItemPriceMode. * Sets the LineItem price to the given value when changing the quantity of a Line Item.

*

The LineItem price is updated as described in Line Item price selection.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartChangeLineItemQuantityActionModel.php b/lib/commercetools-api/src/Models/Cart/CartChangeLineItemQuantityActionModel.php index dec2831b947..714562b678b 100644 --- a/lib/commercetools-api/src/Models/Cart/CartChangeLineItemQuantityActionModel.php +++ b/lib/commercetools-api/src/Models/Cart/CartChangeLineItemQuantityActionModel.php @@ -161,6 +161,7 @@ public function getQuantity() *

Required when the Line Item uses ExternalPrice LineItemPriceMode. * Sets the LineItem price to the given value when changing the quantity of a Line Item.

*

The LineItem price is updated as described in Line Item price selection.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartRemoveLineItemAction.php b/lib/commercetools-api/src/Models/Cart/CartRemoveLineItemAction.php index 9c2e64b84b8..48d6c7ed2eb 100644 --- a/lib/commercetools-api/src/Models/Cart/CartRemoveLineItemAction.php +++ b/lib/commercetools-api/src/Models/Cart/CartRemoveLineItemAction.php @@ -48,6 +48,7 @@ public function getQuantity(); /** *

Sets the LineItem price to the given value when decreasing the quantity of a Line Item with the ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartRemoveLineItemActionBuilder.php b/lib/commercetools-api/src/Models/Cart/CartRemoveLineItemActionBuilder.php index 6811fe82f10..bffbf567a23 100644 --- a/lib/commercetools-api/src/Models/Cart/CartRemoveLineItemActionBuilder.php +++ b/lib/commercetools-api/src/Models/Cart/CartRemoveLineItemActionBuilder.php @@ -94,6 +94,7 @@ public function getQuantity() /** *

Sets the LineItem price to the given value when decreasing the quantity of a Line Item with the ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartRemoveLineItemActionModel.php b/lib/commercetools-api/src/Models/Cart/CartRemoveLineItemActionModel.php index 75853182a56..e12b604ec1c 100644 --- a/lib/commercetools-api/src/Models/Cart/CartRemoveLineItemActionModel.php +++ b/lib/commercetools-api/src/Models/Cart/CartRemoveLineItemActionModel.php @@ -167,6 +167,7 @@ public function getQuantity() /** *

Sets the LineItem price to the given value when decreasing the quantity of a Line Item with the ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartSetLineItemPriceAction.php b/lib/commercetools-api/src/Models/Cart/CartSetLineItemPriceAction.php index 16cbc912345..8da5c8ccaeb 100644 --- a/lib/commercetools-api/src/Models/Cart/CartSetLineItemPriceAction.php +++ b/lib/commercetools-api/src/Models/Cart/CartSetLineItemPriceAction.php @@ -37,6 +37,7 @@ public function getLineItemKey(); /** *

Value to set. * If externalPrice is not given and the priceMode is ExternalPrice, the external price is unset and the priceMode is set to Platform.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartSetLineItemPriceActionBuilder.php b/lib/commercetools-api/src/Models/Cart/CartSetLineItemPriceActionBuilder.php index 0be2231bac6..aab418fa4aa 100644 --- a/lib/commercetools-api/src/Models/Cart/CartSetLineItemPriceActionBuilder.php +++ b/lib/commercetools-api/src/Models/Cart/CartSetLineItemPriceActionBuilder.php @@ -65,6 +65,7 @@ public function getLineItemKey() /** *

Value to set. * If externalPrice is not given and the priceMode is ExternalPrice, the external price is unset and the priceMode is set to Platform.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CartSetLineItemPriceActionModel.php b/lib/commercetools-api/src/Models/Cart/CartSetLineItemPriceActionModel.php index d70b7babc6d..8d4981d6733 100644 --- a/lib/commercetools-api/src/Models/Cart/CartSetLineItemPriceActionModel.php +++ b/lib/commercetools-api/src/Models/Cart/CartSetLineItemPriceActionModel.php @@ -123,6 +123,7 @@ public function getLineItemKey() /** *

Value to set. * If externalPrice is not given and the priceMode is ExternalPrice, the external price is unset and the priceMode is set to Platform.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CustomLineItemDraft.php b/lib/commercetools-api/src/Models/Cart/CustomLineItemDraft.php index 73e5a535f67..0cc889aa6e0 100644 --- a/lib/commercetools-api/src/Models/Cart/CustomLineItemDraft.php +++ b/lib/commercetools-api/src/Models/Cart/CustomLineItemDraft.php @@ -57,6 +57,7 @@ public function getQuantity(); /** *

Money value of the Custom Line Item. * The value can be negative.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CustomLineItemDraftBuilder.php b/lib/commercetools-api/src/Models/Cart/CustomLineItemDraftBuilder.php index 71310037571..cd84751f454 100644 --- a/lib/commercetools-api/src/Models/Cart/CustomLineItemDraftBuilder.php +++ b/lib/commercetools-api/src/Models/Cart/CustomLineItemDraftBuilder.php @@ -132,6 +132,7 @@ public function getQuantity() /** *

Money value of the Custom Line Item. * The value can be negative.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/CustomLineItemDraftModel.php b/lib/commercetools-api/src/Models/Cart/CustomLineItemDraftModel.php index 5c022a6dc5e..1649abbd792 100644 --- a/lib/commercetools-api/src/Models/Cart/CustomLineItemDraftModel.php +++ b/lib/commercetools-api/src/Models/Cart/CustomLineItemDraftModel.php @@ -189,6 +189,7 @@ public function getQuantity() /** *

Money value of the Custom Line Item. * The value can be negative.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/ExternalLineItemTotalPrice.php b/lib/commercetools-api/src/Models/Cart/ExternalLineItemTotalPrice.php index 82ff4f8b56d..fa817538af0 100644 --- a/lib/commercetools-api/src/Models/Cart/ExternalLineItemTotalPrice.php +++ b/lib/commercetools-api/src/Models/Cart/ExternalLineItemTotalPrice.php @@ -19,6 +19,7 @@ interface ExternalLineItemTotalPrice extends JsonObject /** *

Price of the Line Item.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/ExternalLineItemTotalPriceBuilder.php b/lib/commercetools-api/src/Models/Cart/ExternalLineItemTotalPriceBuilder.php index 033319f177c..38fb7fc09e9 100644 --- a/lib/commercetools-api/src/Models/Cart/ExternalLineItemTotalPriceBuilder.php +++ b/lib/commercetools-api/src/Models/Cart/ExternalLineItemTotalPriceBuilder.php @@ -36,6 +36,7 @@ final class ExternalLineItemTotalPriceBuilder implements Builder /** *

Price of the Line Item.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/ExternalLineItemTotalPriceModel.php b/lib/commercetools-api/src/Models/Cart/ExternalLineItemTotalPriceModel.php index 0e8cb53a2fb..7c9c971c8df 100644 --- a/lib/commercetools-api/src/Models/Cart/ExternalLineItemTotalPriceModel.php +++ b/lib/commercetools-api/src/Models/Cart/ExternalLineItemTotalPriceModel.php @@ -47,6 +47,7 @@ public function __construct( /** *

Price of the Line Item.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/LineItemDraft.php b/lib/commercetools-api/src/Models/Cart/LineItemDraft.php index fa9de381c42..6d20b3a7a8e 100644 --- a/lib/commercetools-api/src/Models/Cart/LineItemDraft.php +++ b/lib/commercetools-api/src/Models/Cart/LineItemDraft.php @@ -108,6 +108,7 @@ public function getSupplyChannel(); /** *

Sets the LineItem price value, and the priceMode to ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/LineItemDraftBuilder.php b/lib/commercetools-api/src/Models/Cart/LineItemDraftBuilder.php index 72cf39a8392..8a7acf770b5 100644 --- a/lib/commercetools-api/src/Models/Cart/LineItemDraftBuilder.php +++ b/lib/commercetools-api/src/Models/Cart/LineItemDraftBuilder.php @@ -222,6 +222,7 @@ public function getSupplyChannel() /** *

Sets the LineItem price value, and the priceMode to ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Cart/LineItemDraftModel.php b/lib/commercetools-api/src/Models/Cart/LineItemDraftModel.php index 0db88323428..a4aeded3046 100644 --- a/lib/commercetools-api/src/Models/Cart/LineItemDraftModel.php +++ b/lib/commercetools-api/src/Models/Cart/LineItemDraftModel.php @@ -339,6 +339,7 @@ public function getSupplyChannel() /** *

Sets the LineItem price value, and the priceMode to ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/Common/DiscountedPriceDraft.php b/lib/commercetools-api/src/Models/Common/DiscountedPriceDraft.php index ac388d97d83..12e7490f649 100644 --- a/lib/commercetools-api/src/Models/Common/DiscountedPriceDraft.php +++ b/lib/commercetools-api/src/Models/Common/DiscountedPriceDraft.php @@ -18,8 +18,8 @@ interface DiscountedPriceDraft extends JsonObject public const FIELD_DISCOUNT = 'discount'; /** - *

Sets the money value for the discounted price.

- *

To set the money value in high precision, use HighPrecisionMoneyDraft.

+ *

Sets the money value for the discounted price. + * To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Common/DiscountedPriceDraftBuilder.php b/lib/commercetools-api/src/Models/Common/DiscountedPriceDraftBuilder.php index 563eceaa296..d6d85704fa1 100644 --- a/lib/commercetools-api/src/Models/Common/DiscountedPriceDraftBuilder.php +++ b/lib/commercetools-api/src/Models/Common/DiscountedPriceDraftBuilder.php @@ -35,8 +35,8 @@ final class DiscountedPriceDraftBuilder implements Builder private $discount; /** - *

Sets the money value for the discounted price.

- *

To set the money value in high precision, use HighPrecisionMoneyDraft.

+ *

Sets the money value for the discounted price. + * To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Common/DiscountedPriceDraftModel.php b/lib/commercetools-api/src/Models/Common/DiscountedPriceDraftModel.php index 25afed2ebeb..4510812003e 100644 --- a/lib/commercetools-api/src/Models/Common/DiscountedPriceDraftModel.php +++ b/lib/commercetools-api/src/Models/Common/DiscountedPriceDraftModel.php @@ -46,8 +46,8 @@ public function __construct( } /** - *

Sets the money value for the discounted price.

- *

To set the money value in high precision, use HighPrecisionMoneyDraft.

+ *

Sets the money value for the discounted price. + * To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/Common/PriceTierDraft.php b/lib/commercetools-api/src/Models/Common/PriceTierDraft.php index c3c68073e42..cdbc396cf0b 100644 --- a/lib/commercetools-api/src/Models/Common/PriceTierDraft.php +++ b/lib/commercetools-api/src/Models/Common/PriceTierDraft.php @@ -28,8 +28,8 @@ interface PriceTierDraft extends JsonObject public function getMinimumQuantity(); /** - *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity. - * To set the money value in high precision, use HighPrecisionMoneyDraft.

+ *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

*

The currencyCode of a Price tier must be the same as the currencyCode in the value of the related Price.

* diff --git a/lib/commercetools-api/src/Models/Common/PriceTierDraftBuilder.php b/lib/commercetools-api/src/Models/Common/PriceTierDraftBuilder.php index 61a6f7f9bd5..93e20200747 100644 --- a/lib/commercetools-api/src/Models/Common/PriceTierDraftBuilder.php +++ b/lib/commercetools-api/src/Models/Common/PriceTierDraftBuilder.php @@ -47,8 +47,8 @@ public function getMinimumQuantity() } /** - *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity. - * To set the money value in high precision, use HighPrecisionMoneyDraft.

+ *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

*

The currencyCode of a Price tier must be the same as the currencyCode in the value of the related Price.

* diff --git a/lib/commercetools-api/src/Models/Common/PriceTierDraftModel.php b/lib/commercetools-api/src/Models/Common/PriceTierDraftModel.php index 7e73634f50d..54f699cbe0b 100644 --- a/lib/commercetools-api/src/Models/Common/PriceTierDraftModel.php +++ b/lib/commercetools-api/src/Models/Common/PriceTierDraftModel.php @@ -67,8 +67,8 @@ public function getMinimumQuantity() } /** - *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity. - * To set the money value in high precision, use HighPrecisionMoneyDraft.

+ *

Money value that applies when the minimumQuantity is greater than or equal to the LineItem quantity.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

*

The currencyCode of a Price tier must be the same as the currencyCode in the value of the related Price.

* * diff --git a/lib/commercetools-api/src/Models/Me/MyCartRemoveLineItemAction.php b/lib/commercetools-api/src/Models/Me/MyCartRemoveLineItemAction.php index 051d5789680..f0cf71230ea 100644 --- a/lib/commercetools-api/src/Models/Me/MyCartRemoveLineItemAction.php +++ b/lib/commercetools-api/src/Models/Me/MyCartRemoveLineItemAction.php @@ -50,6 +50,7 @@ public function getQuantity(); /** *

Sets the LineItem price to the given value when decreasing the quantity of a Line Item with the ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Me/MyCartRemoveLineItemActionBuilder.php b/lib/commercetools-api/src/Models/Me/MyCartRemoveLineItemActionBuilder.php index eebb6455c6a..00a15a291bb 100644 --- a/lib/commercetools-api/src/Models/Me/MyCartRemoveLineItemActionBuilder.php +++ b/lib/commercetools-api/src/Models/Me/MyCartRemoveLineItemActionBuilder.php @@ -98,6 +98,7 @@ public function getQuantity() /** *

Sets the LineItem price to the given value when decreasing the quantity of a Line Item with the ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Me/MyCartRemoveLineItemActionModel.php b/lib/commercetools-api/src/Models/Me/MyCartRemoveLineItemActionModel.php index fd85fcb14bb..a180ea76aa0 100644 --- a/lib/commercetools-api/src/Models/Me/MyCartRemoveLineItemActionModel.php +++ b/lib/commercetools-api/src/Models/Me/MyCartRemoveLineItemActionModel.php @@ -171,6 +171,7 @@ public function getQuantity() /** *

Sets the LineItem price to the given value when decreasing the quantity of a Line Item with the ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/Order/CustomLineItemImportDraft.php b/lib/commercetools-api/src/Models/Order/CustomLineItemImportDraft.php index c06dcbfa03f..35c0e825851 100644 --- a/lib/commercetools-api/src/Models/Order/CustomLineItemImportDraft.php +++ b/lib/commercetools-api/src/Models/Order/CustomLineItemImportDraft.php @@ -65,6 +65,7 @@ public function getQuantity(); /** *

The cost of individual items in the Custom Line Item. The amount can be negative.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Order/CustomLineItemImportDraftBuilder.php b/lib/commercetools-api/src/Models/Order/CustomLineItemImportDraftBuilder.php index 9e0db3ccf24..d46f579ba37 100644 --- a/lib/commercetools-api/src/Models/Order/CustomLineItemImportDraftBuilder.php +++ b/lib/commercetools-api/src/Models/Order/CustomLineItemImportDraftBuilder.php @@ -144,6 +144,7 @@ public function getQuantity() /** *

The cost of individual items in the Custom Line Item. The amount can be negative.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Order/CustomLineItemImportDraftModel.php b/lib/commercetools-api/src/Models/Order/CustomLineItemImportDraftModel.php index 6258d375a29..1474e08687a 100644 --- a/lib/commercetools-api/src/Models/Order/CustomLineItemImportDraftModel.php +++ b/lib/commercetools-api/src/Models/Order/CustomLineItemImportDraftModel.php @@ -210,6 +210,7 @@ public function getQuantity() /** *

The cost of individual items in the Custom Line Item. The amount can be negative.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddCustomLineItemAction.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddCustomLineItemAction.php index ed8e515361d..2349b6f9951 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddCustomLineItemAction.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddCustomLineItemAction.php @@ -35,6 +35,7 @@ interface StagedOrderAddCustomLineItemAction extends StagedOrderUpdateAction /** *

Money value of the Custom Line Item. The value can be negative.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddCustomLineItemActionBuilder.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddCustomLineItemActionBuilder.php index 572a67c6a44..fe25c295af8 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddCustomLineItemActionBuilder.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddCustomLineItemActionBuilder.php @@ -104,6 +104,7 @@ final class StagedOrderAddCustomLineItemActionBuilder implements Builder /** *

Money value of the Custom Line Item. The value can be negative.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddCustomLineItemActionModel.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddCustomLineItemActionModel.php index 428c7397276..e948e7ef09e 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddCustomLineItemActionModel.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddCustomLineItemActionModel.php @@ -160,6 +160,7 @@ public function getAction() /** *

Money value of the Custom Line Item. The value can be negative.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddLineItemAction.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddLineItemAction.php index 0f0a076492b..8a8018ee7b6 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddLineItemAction.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddLineItemAction.php @@ -113,6 +113,7 @@ public function getSupplyChannel(); /** *

Sets the LineItem price value, and the priceMode to ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddLineItemActionBuilder.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddLineItemActionBuilder.php index 9faeeb572f3..27d772bfbdf 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddLineItemActionBuilder.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddLineItemActionBuilder.php @@ -226,6 +226,7 @@ public function getSupplyChannel() /** *

Sets the LineItem price value, and the priceMode to ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddLineItemActionModel.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddLineItemActionModel.php index 819539f6a9e..7d389adceb5 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddLineItemActionModel.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderAddLineItemActionModel.php @@ -368,6 +368,7 @@ public function getSupplyChannel() /** *

Sets the LineItem price value, and the priceMode to ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeCustomLineItemMoneyAction.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeCustomLineItemMoneyAction.php index e01124e5f57..c8476d16bc8 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeCustomLineItemMoneyAction.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeCustomLineItemMoneyAction.php @@ -39,6 +39,7 @@ public function getCustomLineItemKey(); *

Value to set. * Must not be empty. * Can be a negative amount.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeCustomLineItemMoneyActionBuilder.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeCustomLineItemMoneyActionBuilder.php index 121e756aabc..6b5f871c3b8 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeCustomLineItemMoneyActionBuilder.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeCustomLineItemMoneyActionBuilder.php @@ -68,6 +68,7 @@ public function getCustomLineItemKey() *

Value to set. * Must not be empty. * Can be a negative amount.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeCustomLineItemMoneyActionModel.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeCustomLineItemMoneyActionModel.php index ed2c0c327a4..397716ce8b3 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeCustomLineItemMoneyActionModel.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeCustomLineItemMoneyActionModel.php @@ -126,6 +126,7 @@ public function getCustomLineItemKey() *

Value to set. * Must not be empty. * Can be a negative amount.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeLineItemQuantityAction.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeLineItemQuantityAction.php index dd85590bd6e..84dd241e25d 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeLineItemQuantityAction.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeLineItemQuantityAction.php @@ -51,6 +51,7 @@ public function getQuantity(); *

Required when the Line Item uses ExternalPrice LineItemPriceMode. * Sets the LineItem price to the given value when changing the quantity of a Line Item.

*

The LineItem price is updated as described in Line Item price selection.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeLineItemQuantityActionBuilder.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeLineItemQuantityActionBuilder.php index 640f4a9e200..74785b80184 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeLineItemQuantityActionBuilder.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeLineItemQuantityActionBuilder.php @@ -94,6 +94,7 @@ public function getQuantity() *

Required when the Line Item uses ExternalPrice LineItemPriceMode. * Sets the LineItem price to the given value when changing the quantity of a Line Item.

*

The LineItem price is updated as described in Line Item price selection.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeLineItemQuantityActionModel.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeLineItemQuantityActionModel.php index 53380a8247f..b7491f786c9 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeLineItemQuantityActionModel.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderChangeLineItemQuantityActionModel.php @@ -165,6 +165,7 @@ public function getQuantity() *

Required when the Line Item uses ExternalPrice LineItemPriceMode. * Sets the LineItem price to the given value when changing the quantity of a Line Item.

*

The LineItem price is updated as described in Line Item price selection.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderRemoveLineItemAction.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderRemoveLineItemAction.php index 59e5b9fc212..dcf7b4d9403 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderRemoveLineItemAction.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderRemoveLineItemAction.php @@ -51,6 +51,7 @@ public function getQuantity(); /** *

Sets the LineItem price to the given value when decreasing the quantity of a Line Item with the ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderRemoveLineItemActionBuilder.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderRemoveLineItemActionBuilder.php index b90505bc399..5618692084d 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderRemoveLineItemActionBuilder.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderRemoveLineItemActionBuilder.php @@ -100,6 +100,7 @@ public function getQuantity() /** *

Sets the LineItem price to the given value when decreasing the quantity of a Line Item with the ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderRemoveLineItemActionModel.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderRemoveLineItemActionModel.php index d6edf131ddb..ba0d0c01e03 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderRemoveLineItemActionModel.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderRemoveLineItemActionModel.php @@ -173,6 +173,7 @@ public function getQuantity() /** *

Sets the LineItem price to the given value when decreasing the quantity of a Line Item with the ExternalPrice LineItemPriceMode.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderSetLineItemPriceAction.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderSetLineItemPriceAction.php index 09bf295257c..1800cdd19a0 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderSetLineItemPriceAction.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderSetLineItemPriceAction.php @@ -38,6 +38,7 @@ public function getLineItemKey(); /** *

Value to set. * If externalPrice is not given and the priceMode is ExternalPrice, the external price is unset and the priceMode is set to Platform.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderSetLineItemPriceActionBuilder.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderSetLineItemPriceActionBuilder.php index 77debb3dedc..713984f069a 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderSetLineItemPriceActionBuilder.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderSetLineItemPriceActionBuilder.php @@ -67,6 +67,7 @@ public function getLineItemKey() /** *

Value to set. * If externalPrice is not given and the priceMode is ExternalPrice, the external price is unset and the priceMode is set to Platform.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * @return null|Money diff --git a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderSetLineItemPriceActionModel.php b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderSetLineItemPriceActionModel.php index ad6387a294f..2e0e45f082f 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/StagedOrderSetLineItemPriceActionModel.php +++ b/lib/commercetools-api/src/Models/OrderEdit/StagedOrderSetLineItemPriceActionModel.php @@ -125,6 +125,7 @@ public function getLineItemKey() /** *

Value to set. * If externalPrice is not given and the priceMode is ExternalPrice, the external price is unset and the priceMode is set to Platform.

+ *

To set the money value in high precision, use HighPrecisionMoneyDraft.

* * * @return null|Money diff --git a/references.txt b/references.txt index 1b844a570de..541cb17f932 100644 --- a/references.txt +++ b/references.txt @@ -485,3 +485,4 @@ ae7849e0f3326685f81d35bd47f2a23af9aa0249 f03ca2998d7f37c6d809768aabc7e90b6296c64b 6f5452da86483ceb4454d32539c0e73e40e3e2ad c8df9d817692aac41821cf6ee4051aec3d27fb35 +d084ab15a8dfa7bd18efa10417a0bb263c08f269