Add customer listing and import functionality for Economic
Implemented endpoints to list and import customers from the Economic API, including query filtering, pagination, and validation. Added supporting trait methods, database functions, and error handling. Expanded the user object for Economic integration and introduced utilities for type checking and parameter extraction.
This commit is contained in:
@@ -128,7 +128,7 @@ class response implements response_i
|
||||
$this->data[$key] = $value;
|
||||
}
|
||||
|
||||
public function getRequestParameter(string $key): string|null
|
||||
public function getRequestParameter(string $key): mixed
|
||||
{
|
||||
// Get the request data if the method is POST, PUT or PATCH
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST' || $_SERVER['REQUEST_METHOD'] === 'PUT' || $_SERVER['REQUEST_METHOD'] === 'PATCH') {
|
||||
|
||||
Reference in New Issue
Block a user