@@ 227-236 (lines=10) @@ | ||
224 | return $response; |
|
225 | } |
|
226 | ||
227 | public static function updateOrder($body) |
|
228 | { |
|
229 | $response = Route4Me::makeRequst(array( |
|
230 | 'url' => Endpoint::ORDER_V4, |
|
231 | 'method' => 'PUT', |
|
232 | 'body' => (array)$body |
|
233 | )); |
|
234 | ||
235 | return $response; |
|
236 | } |
|
237 | ||
238 | public static function searchOrder($params) |
|
239 | { |
@@ 110-118 (lines=9) @@ | ||
107 | return $vehicles['data'][$randomIndex]['vehicle_id']; |
|
108 | } |
|
109 | ||
110 | public function getVehicleByID($vehicleID) |
|
111 | { |
|
112 | $response = Route4Me::makeRequst(array( |
|
113 | 'url' => Endpoint::VEHICLE_V4 . '/' . $vehicleID, |
|
114 | 'method' => 'GET' |
|
115 | )); |
|
116 | ||
117 | return $response; |
|
118 | } |
|
119 | ||
120 | public function updateVehicle($params) |
|
121 | { |