commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
SearchIndexingConfigurationBuilder.php
1<?php
2
3declare(strict_types=1);
10
16use stdClass;
17
22{
27 private $products;
28
33 private $productsSearch;
34
39 private $orders;
40
45 private $customers;
46
51 private $businessUnits;
52
59 public function getProducts()
60 {
61 return $this->products instanceof SearchIndexingConfigurationValuesBuilder ? $this->products->build() : $this->products;
62 }
63
70 public function getProductsSearch()
71 {
72 return $this->productsSearch instanceof SearchIndexingConfigurationValuesBuilder ? $this->productsSearch->build() : $this->productsSearch;
73 }
74
81 public function getOrders()
82 {
83 return $this->orders instanceof SearchIndexingConfigurationValuesBuilder ? $this->orders->build() : $this->orders;
84 }
85
92 public function getCustomers()
93 {
94 return $this->customers instanceof SearchIndexingConfigurationValuesBuilder ? $this->customers->build() : $this->customers;
95 }
96
103 public function getBusinessUnits()
104 {
105 return $this->businessUnits instanceof SearchIndexingConfigurationValuesBuilder ? $this->businessUnits->build() : $this->businessUnits;
106 }
107
113 {
114 $this->products = $products;
115
116 return $this;
117 }
118
124 {
125 $this->productsSearch = $productsSearch;
126
127 return $this;
128 }
129
135 {
136 $this->orders = $orders;
137
138 return $this;
139 }
140
146 {
147 $this->customers = $customers;
148
149 return $this;
150 }
151
157 {
158 $this->businessUnits = $businessUnits;
159
160 return $this;
161 }
162
168 {
169 $this->products = $products;
170
171 return $this;
172 }
173
179 {
180 $this->productsSearch = $productsSearch;
181
182 return $this;
183 }
184
190 {
191 $this->orders = $orders;
192
193 return $this;
194 }
195
201 {
202 $this->customers = $customers;
203
204 return $this;
205 }
206
212 {
213 $this->businessUnits = $businessUnits;
214
215 return $this;
216 }
217
219 {
221 $this->products instanceof SearchIndexingConfigurationValuesBuilder ? $this->products->build() : $this->products,
222 $this->productsSearch instanceof SearchIndexingConfigurationValuesBuilder ? $this->productsSearch->build() : $this->productsSearch,
223 $this->orders instanceof SearchIndexingConfigurationValuesBuilder ? $this->orders->build() : $this->orders,
224 $this->customers instanceof SearchIndexingConfigurationValuesBuilder ? $this->customers->build() : $this->customers,
225 $this->businessUnits instanceof SearchIndexingConfigurationValuesBuilder ? $this->businessUnits->build() : $this->businessUnits
226 );
227 }
228
229 public static function of(): SearchIndexingConfigurationBuilder
230 {
231 return new self();
232 }
233}
withBusinessUnitsBuilder(?SearchIndexingConfigurationValuesBuilder $businessUnits)
withProductsSearchBuilder(?SearchIndexingConfigurationValuesBuilder $productsSearch)