Stores that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the storeMode is set to FromParent.
Defines whether the Stores of the Business Unit are set directly on the Business Unit or are inherited from a parent.
* @@ -291,6 +300,11 @@ public function setStatus(?string $status): void; */ public function setStores(?StoreKeyReferenceCollection $stores): void; + /** + * @param ?StoreKeyReferenceCollection $inheritedStores + */ + public function setInheritedStores(?StoreKeyReferenceCollection $inheritedStores): void; + /** * @param ?string $storeMode */ diff --git a/lib/commercetools-api/src/Models/BusinessUnit/BusinessUnitBuilder.php b/lib/commercetools-api/src/Models/BusinessUnit/BusinessUnitBuilder.php index 90a546fd33a..f9cd0e4d831 100644 --- a/lib/commercetools-api/src/Models/BusinessUnit/BusinessUnitBuilder.php +++ b/lib/commercetools-api/src/Models/BusinessUnit/BusinessUnitBuilder.php @@ -85,6 +85,12 @@ final class BusinessUnitBuilder implements Builder */ private $stores; + /** + + * @var ?StoreKeyReferenceCollection + */ + private $inheritedStores; + /** * @var ?string @@ -276,6 +282,17 @@ public function getStores() return $this->stores; } + /** + *Stores that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the storeMode is set to FromParent.
Defines whether the Stores of the Business Unit are set directly on the Business Unit or are inherited from a parent.
* @@ -541,6 +558,17 @@ public function withStores(?StoreKeyReferenceCollection $stores) return $this; } + /** + * @param ?StoreKeyReferenceCollection $inheritedStores + * @return $this + */ + public function withInheritedStores(?StoreKeyReferenceCollection $inheritedStores) + { + $this->inheritedStores = $inheritedStores; + + return $this; + } + /** * @param ?string $storeMode * @return $this @@ -773,6 +801,7 @@ public function build(): BusinessUnit $this->key, $this->status, $this->stores, + $this->inheritedStores, $this->storeMode, $this->name, $this->contactEmail, diff --git a/lib/commercetools-api/src/Models/BusinessUnit/BusinessUnitModel.php b/lib/commercetools-api/src/Models/BusinessUnit/BusinessUnitModel.php index 5d243fc5444..174ec6b907a 100644 --- a/lib/commercetools-api/src/Models/BusinessUnit/BusinessUnitModel.php +++ b/lib/commercetools-api/src/Models/BusinessUnit/BusinessUnitModel.php @@ -85,6 +85,12 @@ final class BusinessUnitModel extends JsonObjectModel implements BusinessUnit */ protected $stores; + /** + * + * @var ?StoreKeyReferenceCollection + */ + protected $inheritedStores; + /** * * @var ?string @@ -203,6 +209,7 @@ public function __construct( ?string $key = null, ?string $status = null, ?StoreKeyReferenceCollection $stores = null, + ?StoreKeyReferenceCollection $inheritedStores = null, ?string $storeMode = null, ?string $name = null, ?string $contactEmail = null, @@ -229,6 +236,7 @@ public function __construct( $this->key = $key; $this->status = $status; $this->stores = $stores; + $this->inheritedStores = $inheritedStores; $this->storeMode = $storeMode; $this->name = $name; $this->contactEmail = $contactEmail; @@ -439,6 +447,26 @@ public function getStores() return $this->stores; } + /** + *Stores that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the storeMode is set to FromParent.
Defines whether the Stores of the Business Unit are set directly on the Business Unit or are inherited from a parent.
* @@ -836,6 +864,14 @@ public function setStores(?StoreKeyReferenceCollection $stores): void $this->stores = $stores; } + /** + * @param ?StoreKeyReferenceCollection $inheritedStores + */ + public function setInheritedStores(?StoreKeyReferenceCollection $inheritedStores): void + { + $this->inheritedStores = $inheritedStores; + } + /** * @param ?string $storeMode */ diff --git a/lib/commercetools-api/src/Models/BusinessUnit/CompanyBuilder.php b/lib/commercetools-api/src/Models/BusinessUnit/CompanyBuilder.php index 93d01a21f22..e10498468a3 100644 --- a/lib/commercetools-api/src/Models/BusinessUnit/CompanyBuilder.php +++ b/lib/commercetools-api/src/Models/BusinessUnit/CompanyBuilder.php @@ -83,6 +83,12 @@ final class CompanyBuilder implements Builder */ private $stores; + /** + + * @var ?StoreKeyReferenceCollection + */ + private $inheritedStores; + /** * @var ?string @@ -274,6 +280,17 @@ public function getStores() return $this->stores; } + /** + *Stores that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the storeMode is set to FromParent.
The value of this field is always Explicit because a Company cannot have a parent Business Unit that Stores can be inherited from.
Stores that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the storeMode is set to FromParent.
The value of this field is always Explicit because a Company cannot have a parent Business Unit that Stores can be inherited from.
Stores that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the storeMode is set to FromParent.
Defines whether the Stores of the Division are set explicitly or inherited from a parent Business Unit.
* @@ -538,6 +555,17 @@ public function withStores(?StoreKeyReferenceCollection $stores) return $this; } + /** + * @param ?StoreKeyReferenceCollection $inheritedStores + * @return $this + */ + public function withInheritedStores(?StoreKeyReferenceCollection $inheritedStores) + { + $this->inheritedStores = $inheritedStores; + + return $this; + } + /** * @param ?string $storeMode * @return $this @@ -770,6 +798,7 @@ public function build(): Division $this->key, $this->status, $this->stores, + $this->inheritedStores, $this->storeMode, $this->name, $this->contactEmail, diff --git a/lib/commercetools-api/src/Models/BusinessUnit/DivisionModel.php b/lib/commercetools-api/src/Models/BusinessUnit/DivisionModel.php index 68892b378a8..f4d0ec684a1 100644 --- a/lib/commercetools-api/src/Models/BusinessUnit/DivisionModel.php +++ b/lib/commercetools-api/src/Models/BusinessUnit/DivisionModel.php @@ -83,6 +83,12 @@ final class DivisionModel extends JsonObjectModel implements Division */ protected $stores; + /** + * + * @var ?StoreKeyReferenceCollection + */ + protected $inheritedStores; + /** * * @var ?string @@ -193,6 +199,7 @@ public function __construct( ?string $key = null, ?string $status = null, ?StoreKeyReferenceCollection $stores = null, + ?StoreKeyReferenceCollection $inheritedStores = null, ?string $storeMode = null, ?string $name = null, ?string $contactEmail = null, @@ -219,6 +226,7 @@ public function __construct( $this->key = $key; $this->status = $status; $this->stores = $stores; + $this->inheritedStores = $inheritedStores; $this->storeMode = $storeMode; $this->name = $name; $this->contactEmail = $contactEmail; @@ -429,6 +437,26 @@ public function getStores() return $this->stores; } + /** + *Stores that are inherited from a parent Business Unit. The value of this field is eventually consistent and is only present when the storeMode is set to FromParent.
Defines whether the Stores of the Division are set explicitly or inherited from a parent Business Unit.
* @@ -825,6 +853,14 @@ public function setStores(?StoreKeyReferenceCollection $stores): void $this->stores = $stores; } + /** + * @param ?StoreKeyReferenceCollection $inheritedStores + */ + public function setInheritedStores(?StoreKeyReferenceCollection $inheritedStores): void + { + $this->inheritedStores = $inheritedStores; + } + /** * @param ?string $storeMode */ diff --git a/references.txt b/references.txt index 14487299e26..c0c6878a285 100644 --- a/references.txt +++ b/references.txt @@ -346,3 +346,4 @@ e8f731a742ca2997342b1b5f98121d86c8189a3b 473d2c6f1a9e9da0d2a42408ccf11f27a838f8b5 b7b82f5a701908239fcf39781bcbfa80823c9fa0 cc1732f88ea3dc336358ff9f39cda9d5271cf7c2 +e3d5bc9cb69146c5d1dd755ed5e8cf2f54566b3a