From 80dc95d13e5c96484a71005892aecfdec48d3c79 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 05:41:52 +0000 Subject: [PATCH] build(codegen): updating SDK --- .../StandalonePrices/StandalonePriceImport.php | 12 ++++++------ .../StandalonePriceImportBuilder.php | 12 ++++++------ .../StandalonePrices/StandalonePriceImportModel.php | 12 ++++++------ reference.txt | 1 + references.txt | 1 + 5 files changed, 20 insertions(+), 18 deletions(-) create mode 100644 reference.txt diff --git a/lib/commercetools-import/src/Models/StandalonePrices/StandalonePriceImport.php b/lib/commercetools-import/src/Models/StandalonePrices/StandalonePriceImport.php index ddcfa53e514..f5af88929e2 100644 --- a/lib/commercetools-import/src/Models/StandalonePrices/StandalonePriceImport.php +++ b/lib/commercetools-import/src/Models/StandalonePrices/StandalonePriceImport.php @@ -57,8 +57,8 @@ public function getSku(); public function getValue(); /** - *
Sets the country for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the country for this Price, if the Price does not yet have a country.
+ *The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.
* * @return null|string @@ -66,8 +66,8 @@ public function getValue(); public function getCountry(); /** - *Sets the CustomerGroup for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.
+ *The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.
* * @return null|CustomerGroupKeyReference @@ -75,8 +75,8 @@ public function getCountry(); public function getCustomerGroup(); /** - *Sets the product distribution Channel for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.
+ *The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.
* * @return null|ChannelKeyReference diff --git a/lib/commercetools-import/src/Models/StandalonePrices/StandalonePriceImportBuilder.php b/lib/commercetools-import/src/Models/StandalonePrices/StandalonePriceImportBuilder.php index 8f96b8b968e..4923ac2e6f0 100644 --- a/lib/commercetools-import/src/Models/StandalonePrices/StandalonePriceImportBuilder.php +++ b/lib/commercetools-import/src/Models/StandalonePrices/StandalonePriceImportBuilder.php @@ -134,8 +134,8 @@ public function getValue() } /** - *Sets the country for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the country for this Price, if the Price does not yet have a country.
+ *The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.
* * @return null|string @@ -146,8 +146,8 @@ public function getCountry() } /** - *Sets the CustomerGroup for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.
+ *The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.
* * @return null|CustomerGroupKeyReference @@ -158,8 +158,8 @@ public function getCustomerGroup() } /** - *Sets the product distribution Channel for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.
+ *The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.
* * @return null|ChannelKeyReference diff --git a/lib/commercetools-import/src/Models/StandalonePrices/StandalonePriceImportModel.php b/lib/commercetools-import/src/Models/StandalonePrices/StandalonePriceImportModel.php index 15f1a1e379f..aafe36c35b4 100644 --- a/lib/commercetools-import/src/Models/StandalonePrices/StandalonePriceImportModel.php +++ b/lib/commercetools-import/src/Models/StandalonePrices/StandalonePriceImportModel.php @@ -191,8 +191,8 @@ public function getValue() } /** - *Sets the country for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the country for this Price, if the Price does not yet have a country.
+ *The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.
* * * @return null|string @@ -212,8 +212,8 @@ public function getCountry() } /** - *Sets the CustomerGroup for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.
+ *The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.
* * * @return null|CustomerGroupKeyReference @@ -234,8 +234,8 @@ public function getCustomerGroup() } /** - *Sets the product distribution Channel for which this Price is valid.
- *The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.
+ *Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.
+ *The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.
* * * @return null|ChannelKeyReference diff --git a/reference.txt b/reference.txt new file mode 100644 index 00000000000..21fd7080499 --- /dev/null +++ b/reference.txt @@ -0,0 +1 @@ +df53588d26d7953dfdf44166866ca03045f0a70b diff --git a/references.txt b/references.txt index 93c13d9e40c..f9b7e8a7aed 100644 --- a/references.txt +++ b/references.txt @@ -330,3 +330,4 @@ b747e1fa4f246b748a89bccbfd8a43f5b6f51175 505b3af56b4452b22dfb595f93e010b3e2fccc53 7375cdc26481ba55e756479a87270432635bfcf7 df53588d26d7953dfdf44166866ca03045f0a70b +6b69c5425fe16564147deb9b1d6a9a1078dc5330