1 | <?php |
||
10 | class Delivery extends Model |
||
11 | { |
||
12 | |||
13 | protected $id = null; |
||
14 | |||
15 | protected $type = null; |
||
16 | |||
17 | protected $serviceName = null; |
||
18 | |||
19 | protected $price = null; |
||
20 | |||
21 | protected $outletId = null; |
||
22 | |||
23 | protected $region = null; |
||
24 | |||
25 | protected $address = null; |
||
26 | |||
27 | protected $dates = null; |
||
28 | |||
29 | protected $mappingClasses = [ |
||
30 | 'region' => 'Yandex\Market\Partner\Models\Region', |
||
31 | 'address' => 'Yandex\Market\Partner\Models\Address', |
||
32 | 'dates' => 'Yandex\Market\Partner\Models\DatesRange' |
||
33 | ]; |
||
34 | |||
35 | protected $propNameMap = []; |
||
36 | |||
37 | /** |
||
38 | * Retrieve the id property |
||
39 | * |
||
40 | * @return string|null |
||
41 | */ |
||
42 | public function getId() |
||
46 | |||
47 | /** |
||
48 | * Set the id property |
||
49 | * |
||
50 | * @param string $id |
||
51 | * @return $this |
||
52 | */ |
||
53 | public function setId($id) |
||
58 | |||
59 | /** |
||
60 | * Retrieve the type property |
||
61 | * |
||
62 | * @return string|null |
||
63 | */ |
||
64 | 2 | public function getType() |
|
68 | |||
69 | /** |
||
70 | * Set the type property |
||
71 | * |
||
72 | * @param string $type |
||
73 | * @return $this |
||
74 | */ |
||
75 | public function setType($type) |
||
80 | |||
81 | /** |
||
82 | * Retrieve the serviceName property |
||
83 | * |
||
84 | * @return string|null |
||
85 | */ |
||
86 | 2 | public function getServiceName() |
|
90 | |||
91 | /** |
||
92 | * Set the serviceName property |
||
93 | * |
||
94 | * @param string $serviceName |
||
95 | * @return $this |
||
96 | */ |
||
97 | public function setServiceName($serviceName) |
||
102 | |||
103 | /** |
||
104 | * Retrieve the price property |
||
105 | * |
||
106 | * @return int|null |
||
107 | */ |
||
108 | 2 | public function getPrice() |
|
112 | |||
113 | /** |
||
114 | * Set the price property |
||
115 | * |
||
116 | * @param int $price |
||
117 | * @return $this |
||
118 | */ |
||
119 | public function setPrice($price) |
||
124 | |||
125 | /** |
||
126 | * Retrieve the outletId property |
||
127 | * |
||
128 | * @return int|null |
||
129 | */ |
||
130 | public function getOutletId() |
||
134 | |||
135 | /** |
||
136 | * Set the outletId property |
||
137 | * |
||
138 | * @param int $outletId |
||
139 | * @return $this |
||
140 | */ |
||
141 | public function setOutletId($outletId) |
||
146 | |||
147 | /** |
||
148 | * Retrieve the region property |
||
149 | * |
||
150 | * @return Region|null |
||
151 | */ |
||
152 | 3 | public function getRegion() |
|
156 | |||
157 | /** |
||
158 | * Set the region property |
||
159 | * |
||
160 | * @param Region $region |
||
161 | * @return $this |
||
162 | */ |
||
163 | public function setRegion($region) |
||
168 | |||
169 | /** |
||
170 | * Retrieve the address property |
||
171 | * |
||
172 | * @return Address|null |
||
173 | */ |
||
174 | 4 | public function getAddress() |
|
178 | |||
179 | /** |
||
180 | * Set the address property |
||
181 | * |
||
182 | * @param Address $address |
||
183 | * @return $this |
||
184 | */ |
||
185 | public function setAddress($address) |
||
190 | |||
191 | /** |
||
192 | * Retrieve the dates property |
||
193 | * |
||
194 | * @return DatesRange|null |
||
195 | */ |
||
196 | 1 | public function getDates() |
|
197 | { |
||
198 | 1 | return $this->dates; |
|
199 | } |
||
200 | |||
201 | /** |
||
202 | * Set the dates property |
||
203 | * |
||
204 | * @param DatesRange $dates |
||
205 | * @return $this |
||
206 | */ |
||
207 | public function setDates($dates) |
||
212 | } |
||
213 |