1 | <?php |
||
10 | class Order extends Model |
||
11 | { |
||
12 | |||
13 | protected $id = null; |
||
14 | |||
15 | protected $status = null; |
||
16 | |||
17 | protected $substatus = null; |
||
18 | |||
19 | protected $creationDate = null; |
||
20 | |||
21 | protected $currency = null; |
||
22 | |||
23 | protected $itemsTotal = null; |
||
24 | |||
25 | protected $total = null; |
||
26 | |||
27 | protected $paymentType = null; |
||
28 | |||
29 | protected $paymentMethod = null; |
||
30 | |||
31 | protected $fake = null; |
||
32 | |||
33 | protected $notes = null; |
||
34 | |||
35 | protected $items = null; |
||
36 | |||
37 | protected $delivery = null; |
||
38 | |||
39 | protected $buyer = null; |
||
40 | |||
41 | protected $mappingClasses = [ |
||
42 | 'items' => 'Yandex\Market\Partner\Models\Items', |
||
43 | 'delivery' => 'Yandex\Market\Partner\Models\Delivery', |
||
44 | 'buyer' => 'Yandex\Market\Partner\Models\Buyer' |
||
45 | ]; |
||
46 | |||
47 | protected $propNameMap = []; |
||
48 | |||
49 | /** |
||
50 | * Retrieve the id property |
||
51 | * |
||
52 | * @return int|null |
||
53 | */ |
||
54 | public function getId() |
||
58 | |||
59 | /** |
||
60 | * Set the id property |
||
61 | * |
||
62 | * @param int $id |
||
63 | * @return $this |
||
64 | */ |
||
65 | public function setId($id) |
||
70 | |||
71 | /** |
||
72 | * Retrieve the status property |
||
73 | * |
||
74 | * @return string|null |
||
75 | */ |
||
76 | public function getStatus() |
||
80 | |||
81 | /** |
||
82 | * Set the status property |
||
83 | * |
||
84 | * @param string $status |
||
85 | * @return $this |
||
86 | */ |
||
87 | public function setStatus($status) |
||
92 | |||
93 | /** |
||
94 | * Retrieve the substatus property |
||
95 | * |
||
96 | * @return string|null |
||
97 | */ |
||
98 | public function getSubstatus() |
||
102 | |||
103 | /** |
||
104 | * Set the substatus property |
||
105 | * |
||
106 | * @param string $substatus |
||
107 | * @return $this |
||
108 | */ |
||
109 | public function setSubstatus($substatus) |
||
114 | |||
115 | /** |
||
116 | * Retrieve the creationDate property |
||
117 | * |
||
118 | * @return string|null |
||
119 | */ |
||
120 | public function getCreationDate() |
||
124 | |||
125 | /** |
||
126 | * Set the creationDate property |
||
127 | * |
||
128 | * @param string $creationDate |
||
129 | * @return $this |
||
130 | */ |
||
131 | public function setCreationDate($creationDate) |
||
136 | |||
137 | /** |
||
138 | * Retrieve the currency property |
||
139 | * |
||
140 | * @return string|null |
||
141 | */ |
||
142 | public function getCurrency() |
||
146 | |||
147 | /** |
||
148 | * Set the currency property |
||
149 | * |
||
150 | * @param string $currency |
||
151 | * @return $this |
||
152 | */ |
||
153 | public function setCurrency($currency) |
||
158 | |||
159 | /** |
||
160 | * Retrieve the itemsTotal property |
||
161 | * |
||
162 | * @return int|null |
||
163 | */ |
||
164 | public function getItemsTotal() |
||
168 | |||
169 | /** |
||
170 | * Set the itemsTotal property |
||
171 | * |
||
172 | * @param int $itemsTotal |
||
173 | * @return $this |
||
174 | */ |
||
175 | public function setItemsTotal($itemsTotal) |
||
180 | |||
181 | /** |
||
182 | * Retrieve the total property |
||
183 | * |
||
184 | * @return int|null |
||
185 | */ |
||
186 | public function getTotal() |
||
190 | |||
191 | /** |
||
192 | * Set the total property |
||
193 | * |
||
194 | * @param int $total |
||
195 | * @return $this |
||
196 | */ |
||
197 | public function setTotal($total) |
||
202 | |||
203 | /** |
||
204 | * Retrieve the paymentType property |
||
205 | * |
||
206 | * @return string|null |
||
207 | */ |
||
208 | public function getPaymentType() |
||
212 | |||
213 | /** |
||
214 | * Set the paymentType property |
||
215 | * |
||
216 | * @param string $paymentType |
||
217 | * @return $this |
||
218 | */ |
||
219 | public function setPaymentType($paymentType) |
||
224 | |||
225 | /** |
||
226 | * Retrieve the paymentMethod property |
||
227 | * |
||
228 | * @return string|null |
||
229 | */ |
||
230 | public function getPaymentMethod() |
||
234 | |||
235 | /** |
||
236 | * Set the paymentMethod property |
||
237 | * |
||
238 | * @param string $paymentMethod |
||
239 | * @return $this |
||
240 | */ |
||
241 | public function setPaymentMethod($paymentMethod) |
||
246 | |||
247 | /** |
||
248 | * Retrieve the fake property |
||
249 | * |
||
250 | * @return boolean|null |
||
251 | */ |
||
252 | public function getFake() |
||
256 | |||
257 | /** |
||
258 | * Set the fake property |
||
259 | * |
||
260 | * @param boolean $fake |
||
261 | * @return $this |
||
262 | */ |
||
263 | public function setFake($fake) |
||
268 | |||
269 | /** |
||
270 | * Retrieve the notes property |
||
271 | * |
||
272 | * @return string|null |
||
273 | */ |
||
274 | public function getNotes() |
||
278 | |||
279 | /** |
||
280 | * Set the notes property |
||
281 | * |
||
282 | * @param string $notes |
||
283 | * @return $this |
||
284 | */ |
||
285 | public function setNotes($notes) |
||
290 | |||
291 | /** |
||
292 | * Retrieve the items property |
||
293 | * |
||
294 | * @return Items|null |
||
295 | */ |
||
296 | public function getItems() |
||
300 | |||
301 | /** |
||
302 | * Set the items property |
||
303 | * |
||
304 | * @param Items $items |
||
305 | * @return $this |
||
306 | */ |
||
307 | public function setItems($items) |
||
312 | |||
313 | /** |
||
314 | * Retrieve the delivery property |
||
315 | * |
||
316 | * @return Delivery|null |
||
317 | */ |
||
318 | public function getDelivery() |
||
322 | |||
323 | /** |
||
324 | * Set the delivery property |
||
325 | * |
||
326 | * @param Delivery $delivery |
||
327 | * @return $this |
||
328 | */ |
||
329 | public function setDelivery($delivery) |
||
334 | |||
335 | /** |
||
336 | * Retrieve the buyer property |
||
337 | * |
||
338 | * @return Buyer|null |
||
339 | */ |
||
340 | public function getBuyer() |
||
344 | |||
345 | /** |
||
346 | * Set the buyer property |
||
347 | * |
||
348 | * @param Buyer $buyer |
||
349 | * @return $this |
||
350 | */ |
||
351 | public function setBuyer($buyer) |
||
356 | } |
||
357 |