Total Complexity | 9 |
Total Lines | 65 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
12 | class BuyBoxStruct extends Struct |
||
13 | { |
||
14 | /** |
||
15 | * @var SalesChannelProductEntity|null |
||
16 | */ |
||
17 | protected $product; |
||
18 | |||
19 | /** |
||
20 | * @var PropertyGroupCollection|null |
||
21 | */ |
||
22 | protected $configuratorSettings; |
||
23 | |||
24 | /** |
||
25 | * @var string|null |
||
26 | */ |
||
27 | protected $productId; |
||
28 | |||
29 | /** |
||
30 | * @var int |
||
31 | */ |
||
32 | protected $totalReviews; |
||
33 | |||
34 | public function getProduct(): ?SalesChannelProductEntity |
||
37 | } |
||
38 | |||
39 | public function getConfiguratorSettings(): ?PropertyGroupCollection |
||
40 | { |
||
41 | return $this->configuratorSettings; |
||
42 | } |
||
43 | |||
44 | public function setConfiguratorSettings(PropertyGroupCollection $configuratorSettings): void |
||
45 | { |
||
46 | $this->configuratorSettings = $configuratorSettings; |
||
47 | } |
||
48 | |||
49 | public function setProduct(SalesChannelProductEntity $product): void |
||
50 | { |
||
51 | $this->product = $product; |
||
52 | } |
||
53 | |||
54 | public function getProductId(): ?string |
||
55 | { |
||
56 | return $this->productId; |
||
57 | } |
||
58 | |||
59 | public function setProductId(string $productId): void |
||
60 | { |
||
61 | $this->productId = $productId; |
||
62 | } |
||
63 | |||
64 | public function getTotalReviews(): ?int |
||
65 | { |
||
66 | return $this->totalReviews; |
||
67 | } |
||
68 | |||
69 | public function setTotalReviews(int $totalReviews): void |
||
70 | { |
||
71 | $this->totalReviews = $totalReviews; |
||
72 | } |
||
73 | |||
74 | public function getApiAlias(): string |
||
77 | } |
||
78 | } |
||
79 |