| @@ 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 | { |
|
| @@ 206-217 (lines=12) @@ | ||
| 203 | return $order; |
|
| 204 | } |
|
| 205 | ||
| 206 | public static function removeOrder($params) |
|
| 207 | { |
|
| 208 | $response = Route4Me::makeRequst(array( |
|
| 209 | 'url' => Endpoint::ORDER_V4, |
|
| 210 | 'method' => 'DELETE', |
|
| 211 | 'body' => array( |
|
| 212 | 'order_ids' => isset($params->order_ids) ? $params->order_ids : null |
|
| 213 | ) |
|
| 214 | )); |
|
| 215 | ||
| 216 | return $response; |
|
| 217 | } |
|
| 218 | ||
| 219 | public static function updateOrder($body) |
|
| 220 | { |
|