1 | <?php |
||
9 | class DeliveryOption extends Model |
||
10 | { |
||
11 | |||
12 | protected $id = null; |
||
13 | |||
14 | protected $type = null; |
||
15 | |||
16 | protected $serviceName = null; |
||
17 | |||
18 | protected $price = null; |
||
19 | |||
20 | protected $dates = null; |
||
21 | |||
22 | protected $outlets = null; |
||
23 | |||
24 | protected $paymentMethods = null; |
||
25 | |||
26 | protected $mappingClasses = [ |
||
27 | 'dates' => 'Yandex\Market\Partner\Models\DatesRange', |
||
28 | 'outlets' => 'Yandex\Market\Partner\Models\Outlets' |
||
29 | ]; |
||
30 | |||
31 | protected $propNameMap = []; |
||
32 | |||
33 | /** |
||
34 | * Retrieve the id property |
||
35 | * |
||
36 | * @return string|null |
||
37 | */ |
||
38 | public function getId() |
||
42 | |||
43 | /** |
||
44 | * Set the id property |
||
45 | * |
||
46 | * @param string $id |
||
47 | * @return $this |
||
48 | */ |
||
49 | public function setId($id) |
||
54 | |||
55 | /** |
||
56 | * Retrieve the type property |
||
57 | * |
||
58 | * @return string|null |
||
59 | */ |
||
60 | public function getType() |
||
64 | |||
65 | /** |
||
66 | * Set the type property |
||
67 | * |
||
68 | * @param string $type |
||
69 | * @return $this |
||
70 | */ |
||
71 | 1 | public function setType($type) |
|
76 | |||
77 | /** |
||
78 | * Retrieve the serviceName property |
||
79 | * |
||
80 | * @return string|null |
||
81 | */ |
||
82 | public function getServiceName() |
||
86 | |||
87 | /** |
||
88 | * Set the serviceName property |
||
89 | * |
||
90 | * @param string $serviceName |
||
91 | * @return $this |
||
92 | */ |
||
93 | 1 | public function setServiceName($serviceName) |
|
98 | |||
99 | /** |
||
100 | * Retrieve the price property |
||
101 | * |
||
102 | * @return int|null |
||
103 | */ |
||
104 | public function getPrice() |
||
108 | |||
109 | /** |
||
110 | * Set the price property |
||
111 | * |
||
112 | * @param int $price |
||
113 | * @return $this |
||
114 | */ |
||
115 | 1 | public function setPrice($price) |
|
120 | |||
121 | /** |
||
122 | * Retrieve the dates property |
||
123 | * |
||
124 | * @return DatesRange|null |
||
125 | */ |
||
126 | public function getDates() |
||
130 | |||
131 | /** |
||
132 | * Set the dates property |
||
133 | * |
||
134 | * @param DatesRange $dates |
||
135 | * @return $this |
||
136 | */ |
||
137 | 1 | public function setDates($dates) |
|
142 | |||
143 | /** |
||
144 | * Retrieve the outlets property |
||
145 | * |
||
146 | * @return Outlets|null |
||
147 | */ |
||
148 | public function getOutlets() |
||
152 | |||
153 | /** |
||
154 | * Set the outlets property |
||
155 | * |
||
156 | * @param Outlets $outlets |
||
157 | * @return $this |
||
158 | */ |
||
159 | 1 | public function setOutlets($outlets) |
|
164 | |||
165 | /** |
||
166 | * Retrieve the paymentMethods property |
||
167 | * |
||
168 | * @return array|null |
||
169 | */ |
||
170 | public function getPaymentMethods() |
||
174 | |||
175 | /** |
||
176 | * Set the paymentMethods property |
||
177 | * |
||
178 | * @param array $paymentMethods |
||
179 | * @return $this |
||
180 | */ |
||
181 | public function setPaymentMethods($paymentMethods) |
||
186 | } |
||
187 |