1
1
<?php
2
2
3
+ /*
4
+ * This file is part of Monsieur Biz' Search plugin for Sylius.
5
+ *
6
+ * (c) Monsieur Biz <[email protected] >
7
+ *
8
+ * For the full copyright and license information, please view the LICENSE.txt
9
+ * file that was distributed with this source code.
10
+ */
11
+
12
+ declare (strict_types=1 );
13
+
3
14
namespace MonsieurBiz \SyliusSearchPlugin \Generated \Model ;
4
15
5
16
class PricingDTO
6
17
{
7
18
/**
8
- *
9
- *
10
19
* @var string
11
20
*/
12
21
protected $ channelCode ;
22
+
13
23
/**
14
- *
15
- *
16
- * @var null|int
24
+ * @var int|null
17
25
*/
18
26
protected $ price ;
27
+
19
28
/**
20
- *
21
- *
22
- * @var null|int
29
+ * @var int|null
23
30
*/
24
31
protected $ originalPrice ;
32
+
25
33
/**
26
- *
27
- *
28
34
* @var bool
29
35
*/
30
36
protected $ priceReduced ;
31
- /**
32
- *
33
- *
34
- * @return string
35
- */
36
- public function getChannelCode () : string
37
+
38
+ public function getChannelCode (): string
37
39
{
38
40
return $ this ->channelCode ;
39
41
}
40
- /**
41
- *
42
- *
43
- * @param string $channelCode
44
- *
45
- * @return self
46
- */
47
- public function setChannelCode (string $ channelCode ) : self
42
+
43
+ public function setChannelCode (string $ channelCode ): self
48
44
{
49
45
$ this ->channelCode = $ channelCode ;
46
+
50
47
return $ this ;
51
48
}
52
- /**
53
- *
54
- *
55
- * @return null|int
56
- */
57
- public function getPrice () : ?int
49
+
50
+ public function getPrice (): ?int
58
51
{
59
52
return $ this ->price ;
60
53
}
61
- /**
62
- *
63
- *
64
- * @param null|int $price
65
- *
66
- * @return self
67
- */
68
- public function setPrice (?int $ price ) : self
54
+
55
+ public function setPrice (?int $ price ): self
69
56
{
70
57
$ this ->price = $ price ;
58
+
71
59
return $ this ;
72
60
}
73
- /**
74
- *
75
- *
76
- * @return null|int
77
- */
78
- public function getOriginalPrice () : ?int
61
+
62
+ public function getOriginalPrice (): ?int
79
63
{
80
64
return $ this ->originalPrice ;
81
65
}
82
- /**
83
- *
84
- *
85
- * @param null|int $originalPrice
86
- *
87
- * @return self
88
- */
89
- public function setOriginalPrice (?int $ originalPrice ) : self
66
+
67
+ public function setOriginalPrice (?int $ originalPrice ): self
90
68
{
91
69
$ this ->originalPrice = $ originalPrice ;
70
+
92
71
return $ this ;
93
72
}
94
- /**
95
- *
96
- *
97
- * @return bool
98
- */
99
- public function getPriceReduced () : bool
73
+
74
+ public function getPriceReduced (): bool
100
75
{
101
76
return $ this ->priceReduced ;
102
77
}
103
- /**
104
- *
105
- *
106
- * @param bool $priceReduced
107
- *
108
- * @return self
109
- */
110
- public function setPriceReduced (bool $ priceReduced ) : self
78
+
79
+ public function setPriceReduced (bool $ priceReduced ): self
111
80
{
112
81
$ this ->priceReduced = $ priceReduced ;
82
+
113
83
return $ this ;
114
84
}
115
- }
85
+ }
0 commit comments