diff --git a/lib/commercetools-api/src/Models/Common/DiscountedPriceDraft.php b/lib/commercetools-api/src/Models/Common/DiscountedPriceDraft.php index 67e8a067d41..ac388d97d83 100644 --- a/lib/commercetools-api/src/Models/Common/DiscountedPriceDraft.php +++ b/lib/commercetools-api/src/Models/Common/DiscountedPriceDraft.php @@ -19,6 +19,7 @@ interface DiscountedPriceDraft extends JsonObject /** *
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 742e2d41038..563eceaa296 100644 --- a/lib/commercetools-api/src/Models/Common/DiscountedPriceDraftBuilder.php +++ b/lib/commercetools-api/src/Models/Common/DiscountedPriceDraftBuilder.php @@ -36,6 +36,7 @@ final class DiscountedPriceDraftBuilder implements Builder /** *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 c1e9974bfb8..25afed2ebeb 100644 --- a/lib/commercetools-api/src/Models/Common/DiscountedPriceDraftModel.php +++ b/lib/commercetools-api/src/Models/Common/DiscountedPriceDraftModel.php @@ -47,6 +47,7 @@ public function __construct( /** *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/PriceDraft.php b/lib/commercetools-api/src/Models/Common/PriceDraft.php index cf2deaf0eb3..a2d63560cc3 100644 --- a/lib/commercetools-api/src/Models/Common/PriceDraft.php +++ b/lib/commercetools-api/src/Models/Common/PriceDraft.php @@ -38,6 +38,7 @@ public function getKey(); /** *Money value of this Price.
+ *To set the money value in high precision, use HighPrecisionMoneyDraft.
* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Common/PriceDraftBuilder.php b/lib/commercetools-api/src/Models/Common/PriceDraftBuilder.php index cd96c85fa93..7caab423f75 100644 --- a/lib/commercetools-api/src/Models/Common/PriceDraftBuilder.php +++ b/lib/commercetools-api/src/Models/Common/PriceDraftBuilder.php @@ -100,6 +100,7 @@ public function getKey() /** *Money value of this Price.
+ *To set the money value in high precision, use HighPrecisionMoneyDraft.
* * @return null|Money diff --git a/lib/commercetools-api/src/Models/Common/PriceDraftModel.php b/lib/commercetools-api/src/Models/Common/PriceDraftModel.php index 674c7da8e86..c7be25630a1 100644 --- a/lib/commercetools-api/src/Models/Common/PriceDraftModel.php +++ b/lib/commercetools-api/src/Models/Common/PriceDraftModel.php @@ -136,6 +136,7 @@ public function getKey() /** *Money value of this 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 1b7f232d242..c3c68073e42 100644 --- a/lib/commercetools-api/src/Models/Common/PriceTierDraft.php +++ b/lib/commercetools-api/src/Models/Common/PriceTierDraft.php @@ -28,7 +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
.
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.
Money value that applies when the minimumQuantity
is greater than or equal to the LineItem quantity
.
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.
Money value that applies when the minimumQuantity
is greater than or equal to the LineItem quantity
.
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.
New value to set. Must not be empty.
+ *To set the money value in high precision, use HighPrecisionMoneyDraft.
* * @return null|Money diff --git a/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceChangeValueActionBuilder.php b/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceChangeValueActionBuilder.php index 9a5d7bf20c9..b768be1c0e5 100644 --- a/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceChangeValueActionBuilder.php +++ b/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceChangeValueActionBuilder.php @@ -36,6 +36,7 @@ final class StandalonePriceChangeValueActionBuilder implements Builder /** *New value to set. Must not be empty.
+ *To set the money value in high precision, use HighPrecisionMoneyDraft.
* * @return null|Money diff --git a/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceChangeValueActionModel.php b/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceChangeValueActionModel.php index e2c33ab09ba..0f142d1f7c7 100644 --- a/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceChangeValueActionModel.php +++ b/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceChangeValueActionModel.php @@ -74,6 +74,7 @@ public function getAction() /** *New value to set. Must not be empty.
+ *To set the money value in high precision, use HighPrecisionMoneyDraft.
* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceDraft.php b/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceDraft.php index e7e4edd9bcd..3e3ab222f58 100644 --- a/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceDraft.php +++ b/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceDraft.php @@ -53,6 +53,7 @@ public function getSku(); /** *Sets the money value of this Price.
+ *To set the money value in high precision, use HighPrecisionMoneyDraft.
* * @return null|Money diff --git a/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceDraftBuilder.php b/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceDraftBuilder.php index 69595261a11..50afe265ea0 100644 --- a/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceDraftBuilder.php +++ b/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceDraftBuilder.php @@ -135,6 +135,7 @@ public function getSku() /** *Sets the money value of this Price.
+ *To set the money value in high precision, use HighPrecisionMoneyDraft.
* * @return null|Money diff --git a/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceDraftModel.php b/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceDraftModel.php index 714c3150305..8c66f931853 100644 --- a/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceDraftModel.php +++ b/lib/commercetools-api/src/Models/StandalonePrice/StandalonePriceDraftModel.php @@ -186,6 +186,7 @@ public function getSku() /** *Sets the money value of this Price.
+ *To set the money value in high precision, use HighPrecisionMoneyDraft.
* * * @return null|Money diff --git a/references.txt b/references.txt index f9b7e8a7aed..ca5b3a308c5 100644 --- a/references.txt +++ b/references.txt @@ -331,3 +331,4 @@ b747e1fa4f246b748a89bccbfd8a43f5b6f51175 7375cdc26481ba55e756479a87270432635bfcf7 df53588d26d7953dfdf44166866ca03045f0a70b 6b69c5425fe16564147deb9b1d6a9a1078dc5330 +99e7aa1c7e3ba67a59b6df3efbaf4e320611c549