| @@ 184-195 (lines=12) @@ | ||
| 181 | return $response; |
|
| 182 | } |
|
| 183 | ||
| 184 | public static function deleteMember($body) |
|
| 185 | { |
|
| 186 | $response = Route4Me::makeRequst(array( |
|
| 187 | 'url' => self::$apiUrl, |
|
| 188 | 'method' => 'DELETE', |
|
| 189 | 'body' => array( |
|
| 190 | 'member_id' => isset($body->member_id) ? $body->member_id: null |
|
| 191 | ) |
|
| 192 | ||
| 193 | )); |
|
| 194 | return $response; |
|
| 195 | } |
|
| 196 | ||
| 197 | public static function newAccountRegistration($body) |
|
| 198 | { |
|
| @@ 300-310 (lines=11) @@ | ||
| 297 | return $response; |
|
| 298 | } |
|
| 299 | ||
| 300 | public static function removeMemberConfigKey($body) |
|
| 301 | { |
|
| 302 | $response = Route4Me::makeRequst(array( |
|
| 303 | 'url' => self::$apiMemberConfig, |
|
| 304 | 'method' => 'DELETE', |
|
| 305 | 'body' => array( |
|
| 306 | 'config_key' => isset($body->config_key) ? $body->config_key: null |
|
| 307 | ) |
|
| 308 | )); |
|
| 309 | return $response; |
|
| 310 | } |
|
| 311 | ||
| 312 | public static function getMemberConfigData($body) |
|
| 313 | { |
|
| @@ 312-322 (lines=11) @@ | ||
| 309 | return $response; |
|
| 310 | } |
|
| 311 | ||
| 312 | public static function getMemberConfigData($body) |
|
| 313 | { |
|
| 314 | $response = Route4Me::makeRequst(array( |
|
| 315 | 'url' => self::$apiMemberConfig, |
|
| 316 | 'method' => 'GET', |
|
| 317 | 'query' => array( |
|
| 318 | 'config_key' => isset($body->config_key) ? $body->config_key: null |
|
| 319 | ) |
|
| 320 | )); |
|
| 321 | return $response; |
|
| 322 | } |
|
| 323 | ||
| 324 | public static function updateMemberConfigKey($body) |
|
| 325 | { |
|
| @@ 125-136 (lines=12) @@ | ||
| 122 | return $response; |
|
| 123 | } |
|
| 124 | ||
| 125 | public static function getOrder($params) |
|
| 126 | { |
|
| 127 | $response = Route4Me::makeRequst(array( |
|
| 128 | 'url' => self::$apiUrl, |
|
| 129 | 'method' => 'GET', |
|
| 130 | 'query' => array( |
|
| 131 | 'order_id' => isset($params->order_id) ? $params->order_id: null, |
|
| 132 | ) |
|
| 133 | )); |
|
| 134 | ||
| 135 | return $response; |
|
| 136 | } |
|
| 137 | ||
| 138 | public static function getOrders() |
|
| 139 | { |
|
| @@ 148-159 (lines=12) @@ | ||
| 145 | return $response; |
|
| 146 | } |
|
| 147 | ||
| 148 | public static function removeOrder($params) |
|
| 149 | { |
|
| 150 | $response = Route4Me::makeRequst(array( |
|
| 151 | 'url' => self::$apiUrl, |
|
| 152 | 'method' => 'DELETE', |
|
| 153 | 'body' => array( |
|
| 154 | 'order_ids' => isset($params->order_ids) ? $params->order_ids: null |
|
| 155 | ) |
|
| 156 | )); |
|
| 157 | ||
| 158 | return $response; |
|
| 159 | } |
|
| 160 | ||
| 161 | public static function updateOrder($body) |
|
| 162 | { |
|