@@ 213-225 (lines=13) @@ | ||
210 | return $response; |
|
211 | } |
|
212 | ||
213 | public static function deleteMember($body) |
|
214 | { |
|
215 | $response = Route4Me::makeRequst(array( |
|
216 | 'url' => Endpoint::USER_V4, |
|
217 | 'method' => 'DELETE', |
|
218 | 'body' => array( |
|
219 | 'member_id' => isset($body->member_id) ? $body->member_id : null |
|
220 | ) |
|
221 | ||
222 | )); |
|
223 | ||
224 | return $response; |
|
225 | } |
|
226 | ||
227 | public static function newAccountRegistration($body) |
|
228 | { |
|
@@ 344-355 (lines=12) @@ | ||
341 | return $response; |
|
342 | } |
|
343 | ||
344 | public static function removeMemberConfigKey($body) |
|
345 | { |
|
346 | $response = Route4Me::makeRequst(array( |
|
347 | 'url' => Endpoint::CONFIGURATION_SETTINGS, |
|
348 | 'method' => 'DELETE', |
|
349 | 'body' => array( |
|
350 | 'config_key' => isset($body->config_key) ? $body->config_key : null |
|
351 | ) |
|
352 | )); |
|
353 | ||
354 | return $response; |
|
355 | } |
|
356 | ||
357 | public static function getMemberConfigData($body) |
|
358 | { |
|
@@ 357-368 (lines=12) @@ | ||
354 | return $response; |
|
355 | } |
|
356 | ||
357 | public static function getMemberConfigData($body) |
|
358 | { |
|
359 | $response = Route4Me::makeRequst(array( |
|
360 | 'url' => Endpoint::CONFIGURATION_SETTINGS, |
|
361 | 'method' => 'GET', |
|
362 | 'query' => array( |
|
363 | 'config_key' => isset($body->config_key) ? $body->config_key : null |
|
364 | ) |
|
365 | )); |
|
366 | ||
367 | return $response; |
|
368 | } |
|
369 | ||
370 | public static function updateMemberConfigKey($body) |
|
371 | { |
@@ 214-225 (lines=12) @@ | ||
211 | return $order; |
|
212 | } |
|
213 | ||
214 | public static function removeOrder($params) |
|
215 | { |
|
216 | $response = Route4Me::makeRequst(array( |
|
217 | 'url' => Endpoint::ORDER_V4, |
|
218 | 'method' => 'DELETE', |
|
219 | 'body' => array( |
|
220 | 'order_ids' => isset($params->order_ids) ? $params->order_ids: null |
|
221 | ) |
|
222 | )); |
|
223 | ||
224 | return $response; |
|
225 | } |
|
226 | ||
227 | public static function updateOrder($body) |
|
228 | { |