1 | <?php |
||
15 | class Promotion |
||
16 | { |
||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | private $id; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $status; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | private $failureReason; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | private $description; |
||
36 | |||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | private $referrerUserId; |
||
41 | |||
42 | /** |
||
43 | * @var Discount |
||
44 | */ |
||
45 | private $discount; |
||
46 | |||
47 | /** |
||
48 | * @var CreditPoint |
||
49 | */ |
||
50 | private $creditPoint; |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | 1 | public function getId() |
|
59 | |||
60 | /** |
||
61 | * @param string $id |
||
62 | * |
||
63 | * @return Promotion |
||
64 | */ |
||
65 | 1 | public function setId($id) |
|
71 | |||
72 | /** |
||
73 | * @return string |
||
74 | */ |
||
75 | 1 | public function getStatus() |
|
79 | |||
80 | /** |
||
81 | * @param string $status |
||
82 | * |
||
83 | * @return Promotion |
||
84 | */ |
||
85 | 2 | public function setStatus($status) |
|
95 | |||
96 | /** |
||
97 | * @return string |
||
98 | */ |
||
99 | 1 | public function getFailureReason() |
|
103 | |||
104 | /** |
||
105 | * @param string $failureReason |
||
106 | * |
||
107 | * @return Promotion |
||
108 | */ |
||
109 | 2 | public function setFailureReason($failureReason) |
|
119 | |||
120 | /** |
||
121 | * @return string |
||
122 | */ |
||
123 | 1 | public function getDescription() |
|
127 | |||
128 | /** |
||
129 | * @param string $description |
||
130 | * |
||
131 | * @return Promotion |
||
132 | */ |
||
133 | 1 | public function setDescription($description) |
|
139 | |||
140 | /** |
||
141 | * @return string |
||
142 | */ |
||
143 | 1 | public function getReferrerUserId() |
|
147 | |||
148 | /** |
||
149 | * @param string $referrerUserId |
||
150 | * |
||
151 | * @return Promotion |
||
152 | */ |
||
153 | 1 | public function setReferrerUserId($referrerUserId) |
|
159 | |||
160 | /** |
||
161 | * @return Discount |
||
162 | */ |
||
163 | 1 | public function getDiscount() |
|
167 | |||
168 | /** |
||
169 | * @param Discount $discount |
||
170 | * |
||
171 | * @return Promotion |
||
172 | */ |
||
173 | 1 | public function setDiscount(Discount $discount) |
|
179 | |||
180 | /** |
||
181 | * @return CreditPoint |
||
182 | */ |
||
183 | 1 | public function getCreditPoint() |
|
187 | |||
188 | /** |
||
189 | * @param CreditPoint $creditPoint |
||
190 | * |
||
191 | * @return Promotion |
||
192 | */ |
||
193 | 1 | public function setCreditPoint(CreditPoint $creditPoint) |
|
199 | } |
||
200 |