Re-created using OpenAPI Generator v7.20 locally
This commit is contained in:
parent
ae5399115a
commit
588432da5c
@ -1,5 +1,4 @@
|
|||||||
.gitignore
|
.gitignore
|
||||||
.openapi-generator-ignore
|
|
||||||
.php-cs-fixer.dist.php
|
.php-cs-fixer.dist.php
|
||||||
.travis.yml
|
.travis.yml
|
||||||
README.md
|
README.md
|
||||||
@ -49,6 +48,7 @@ lib/Api/ProductsApi.php
|
|||||||
lib/Api/WelcomeApi.php
|
lib/Api/WelcomeApi.php
|
||||||
lib/ApiException.php
|
lib/ApiException.php
|
||||||
lib/Configuration.php
|
lib/Configuration.php
|
||||||
|
lib/FormDataProcessor.php
|
||||||
lib/HeaderSelector.php
|
lib/HeaderSelector.php
|
||||||
lib/Model/Billing.php
|
lib/Model/Billing.php
|
||||||
lib/Model/CategoryDto.php
|
lib/Model/CategoryDto.php
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
7.12.0
|
7.20.0
|
||||||
|
|||||||
15
README.md
15
README.md
@ -1,4 +1,4 @@
|
|||||||
# EuromedicaClient (php)
|
# Europharmacy\EuromedicaClient
|
||||||
|
|
||||||
This is an auto-generated client for Euromedica web API
|
This is an auto-generated client for Euromedica web API
|
||||||
|
|
||||||
@ -8,8 +8,7 @@ For more information, please visit [http://europharmacy.gr/contact/](http://euro
|
|||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
PHP 7.4 and later.
|
PHP 8.1 and later.
|
||||||
Should also work with PHP 8.0-8.2.
|
|
||||||
|
|
||||||
### Composer
|
### Composer
|
||||||
|
|
||||||
@ -31,12 +30,19 @@ To install the bindings via [Composer](https://getcomposer.org/), add the follow
|
|||||||
|
|
||||||
Then run `composer install`
|
Then run `composer install`
|
||||||
|
|
||||||
|
### Manual Installation
|
||||||
|
Download the files and include `autoload.php`:
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
require_once('/path/to/Europharmacy\EuromedicaClient/vendor/autoload.php');
|
||||||
|
```
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
Please follow the [installation procedure](#installation--usage) and then run the following:
|
Please follow the [installation procedure](#installation--usage) and then run the following:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
<?php
|
<?php
|
||||||
|
require_once(__DIR__ . '/vendor/autoload.php');
|
||||||
|
|
||||||
// Configure HTTP basic authorization: basic
|
// Configure HTTP basic authorization: basic
|
||||||
$config = Europharmacy\EuromedicaClient\Configuration::getDefaultConfiguration()
|
$config = Europharmacy\EuromedicaClient\Configuration::getDefaultConfiguration()
|
||||||
@ -151,5 +157,6 @@ development@europharmacy.gr
|
|||||||
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
||||||
|
|
||||||
- API version: `v1`
|
- API version: `v1`
|
||||||
- Generator version: `7.12.0`
|
- Package version: `1.0.1`
|
||||||
|
- Generator version: `7.20.0`
|
||||||
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`
|
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "europharmacy/euromedica-client",
|
"name": "europharmacy/euromedica-client",
|
||||||
|
"version": "1.0.1",
|
||||||
"description": "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)",
|
"description": "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"openapitools",
|
"openapitools",
|
||||||
@ -18,9 +19,8 @@
|
|||||||
"homepage": "https://openapi-generator.tech"
|
"homepage": "https://openapi-generator.tech"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version": "1.0.0",
|
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.4 || ^8.0 || ^8.1 || ^8.2",
|
"php": "^8.1 || ^8.2",
|
||||||
"ext-curl": "*",
|
"ext-curl": "*",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"ext-mbstring": "*",
|
"ext-mbstring": "*",
|
||||||
|
|||||||
@ -9,22 +9,22 @@ release_note=$3
|
|||||||
git_host=$4
|
git_host=$4
|
||||||
|
|
||||||
if [ "$git_host" = "" ]; then
|
if [ "$git_host" = "" ]; then
|
||||||
git_host=""
|
git_host="git.dev.precisionlab.gr"
|
||||||
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$git_user_id" = "" ]; then
|
if [ "$git_user_id" = "" ]; then
|
||||||
git_user_id=""
|
git_user_id="pse-pub"
|
||||||
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$git_repo_id" = "" ]; then
|
if [ "$git_repo_id" = "" ]; then
|
||||||
git_repo_id=""
|
git_repo_id="euromedica-client"
|
||||||
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$release_note" = "" ]; then
|
if [ "$release_note" = "" ]; then
|
||||||
release_note=""
|
release_note="Minor update"
|
||||||
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* CustomersApi
|
* CustomersApi
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -35,8 +35,11 @@ use GuzzleHttp\Exception\RequestException;
|
|||||||
use GuzzleHttp\Psr7\MultipartStream;
|
use GuzzleHttp\Psr7\MultipartStream;
|
||||||
use GuzzleHttp\Psr7\Request;
|
use GuzzleHttp\Psr7\Request;
|
||||||
use GuzzleHttp\RequestOptions;
|
use GuzzleHttp\RequestOptions;
|
||||||
|
use Psr\Http\Message\RequestInterface;
|
||||||
|
use Psr\Http\Message\ResponseInterface;
|
||||||
use Europharmacy\EuromedicaClient\ApiException;
|
use Europharmacy\EuromedicaClient\ApiException;
|
||||||
use Europharmacy\EuromedicaClient\Configuration;
|
use Europharmacy\EuromedicaClient\Configuration;
|
||||||
|
use Europharmacy\EuromedicaClient\FormDataProcessor;
|
||||||
use Europharmacy\EuromedicaClient\HeaderSelector;
|
use Europharmacy\EuromedicaClient\HeaderSelector;
|
||||||
use Europharmacy\EuromedicaClient\ObjectSerializer;
|
use Europharmacy\EuromedicaClient\ObjectSerializer;
|
||||||
|
|
||||||
@ -200,141 +203,38 @@ class CustomersApi
|
|||||||
|
|
||||||
switch($statusCode) {
|
switch($statusCode) {
|
||||||
case 200:
|
case 200:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 404:
|
case 404:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 400:
|
case 400:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 401:
|
case 401:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 403:
|
case 403:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($statusCode < 200 || $statusCode > 299) {
|
if ($statusCode < 200 || $statusCode > 299) {
|
||||||
throw new ApiException(
|
throw new ApiException(
|
||||||
@ -349,34 +249,11 @@ class CustomersApi
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$returnType = '\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse';
|
return $this->handleResponseWithDataType(
|
||||||
if ($returnType === '\SplFileObject') {
|
'\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse',
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
$request,
|
||||||
} else {
|
$response,
|
||||||
$content = (string) $response->getBody();
|
|
||||||
if ($returnType !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, $returnType, []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
|
|
||||||
} catch (ApiException $e) {
|
} catch (ApiException $e) {
|
||||||
switch ($e->getCode()) {
|
switch ($e->getCode()) {
|
||||||
case 200:
|
case 200:
|
||||||
@ -386,7 +263,7 @@ class CustomersApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 404:
|
case 404:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -394,7 +271,7 @@ class CustomersApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 400:
|
case 400:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -402,7 +279,7 @@ class CustomersApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 401:
|
case 401:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -410,7 +287,7 @@ class CustomersApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 403:
|
case 403:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -418,8 +295,10 @@ class CustomersApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -712,141 +591,38 @@ class CustomersApi
|
|||||||
|
|
||||||
switch($statusCode) {
|
switch($statusCode) {
|
||||||
case 200:
|
case 200:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 404:
|
case 404:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 400:
|
case 400:
|
||||||
if ('string' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'string',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('string' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, 'string', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 401:
|
case 401:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 403:
|
case 403:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($statusCode < 200 || $statusCode > 299) {
|
if ($statusCode < 200 || $statusCode > 299) {
|
||||||
throw new ApiException(
|
throw new ApiException(
|
||||||
@ -861,34 +637,11 @@ class CustomersApi
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$returnType = '\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse';
|
return $this->handleResponseWithDataType(
|
||||||
if ($returnType === '\SplFileObject') {
|
'\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse',
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
$request,
|
||||||
} else {
|
$response,
|
||||||
$content = (string) $response->getBody();
|
|
||||||
if ($returnType !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, $returnType, []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
|
|
||||||
} catch (ApiException $e) {
|
} catch (ApiException $e) {
|
||||||
switch ($e->getCode()) {
|
switch ($e->getCode()) {
|
||||||
case 200:
|
case 200:
|
||||||
@ -898,7 +651,7 @@ class CustomersApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 404:
|
case 404:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -906,7 +659,7 @@ class CustomersApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 400:
|
case 400:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -914,7 +667,7 @@ class CustomersApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 401:
|
case 401:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -922,7 +675,7 @@ class CustomersApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 403:
|
case 403:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -930,8 +683,10 @@ class CustomersApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1164,114 +919,32 @@ class CustomersApi
|
|||||||
|
|
||||||
switch($statusCode) {
|
switch($statusCode) {
|
||||||
case 200:
|
case 200:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 400:
|
case 400:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 401:
|
case 401:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 403:
|
case 403:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($statusCode < 200 || $statusCode > 299) {
|
if ($statusCode < 200 || $statusCode > 299) {
|
||||||
throw new ApiException(
|
throw new ApiException(
|
||||||
@ -1286,34 +959,11 @@ class CustomersApi
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$returnType = '\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse';
|
return $this->handleResponseWithDataType(
|
||||||
if ($returnType === '\SplFileObject') {
|
'\Europharmacy\EuromedicaClient\Model\CustomerPagedResponse',
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
$request,
|
||||||
} else {
|
$response,
|
||||||
$content = (string) $response->getBody();
|
|
||||||
if ($returnType !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, $returnType, []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
|
|
||||||
} catch (ApiException $e) {
|
} catch (ApiException $e) {
|
||||||
switch ($e->getCode()) {
|
switch ($e->getCode()) {
|
||||||
case 200:
|
case 200:
|
||||||
@ -1323,7 +973,7 @@ class CustomersApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 400:
|
case 400:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -1331,7 +981,7 @@ class CustomersApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 401:
|
case 401:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -1339,7 +989,7 @@ class CustomersApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 403:
|
case 403:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -1347,8 +997,10 @@ class CustomersApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1531,6 +1183,57 @@ class CustomersApi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->config->getCertFile()) {
|
||||||
|
$options[RequestOptions::CERT] = $this->config->getCertFile();
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->config->getKeyFile()) {
|
||||||
|
$options[RequestOptions::SSL_KEY] = $this->config->getKeyFile();
|
||||||
|
}
|
||||||
|
|
||||||
return $options;
|
return $options;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private function handleResponseWithDataType(
|
||||||
|
string $dataType,
|
||||||
|
RequestInterface $request,
|
||||||
|
ResponseInterface $response
|
||||||
|
): array {
|
||||||
|
if ($dataType === '\SplFileObject') {
|
||||||
|
$content = $response->getBody(); //stream goes to serializer
|
||||||
|
} else {
|
||||||
|
$content = (string) $response->getBody();
|
||||||
|
if ($dataType !== 'string') {
|
||||||
|
try {
|
||||||
|
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
||||||
|
} catch (\JsonException $exception) {
|
||||||
|
throw new ApiException(
|
||||||
|
sprintf(
|
||||||
|
'Error JSON decoding server response (%s)',
|
||||||
|
$request->getUri()
|
||||||
|
),
|
||||||
|
$response->getStatusCode(),
|
||||||
|
$response->getHeaders(),
|
||||||
|
$content
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return [
|
||||||
|
ObjectSerializer::deserialize($content, $dataType, []),
|
||||||
|
$response->getStatusCode(),
|
||||||
|
$response->getHeaders()
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
private function responseWithinRangeCode(
|
||||||
|
string $rangeCode,
|
||||||
|
int $statusCode
|
||||||
|
): bool {
|
||||||
|
$left = (int) ($rangeCode[0].'00');
|
||||||
|
$right = (int) ($rangeCode[0].'99');
|
||||||
|
|
||||||
|
return $statusCode >= $left && $statusCode <= $right;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* EshopApi
|
* EshopApi
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -35,8 +35,11 @@ use GuzzleHttp\Exception\RequestException;
|
|||||||
use GuzzleHttp\Psr7\MultipartStream;
|
use GuzzleHttp\Psr7\MultipartStream;
|
||||||
use GuzzleHttp\Psr7\Request;
|
use GuzzleHttp\Psr7\Request;
|
||||||
use GuzzleHttp\RequestOptions;
|
use GuzzleHttp\RequestOptions;
|
||||||
|
use Psr\Http\Message\RequestInterface;
|
||||||
|
use Psr\Http\Message\ResponseInterface;
|
||||||
use Europharmacy\EuromedicaClient\ApiException;
|
use Europharmacy\EuromedicaClient\ApiException;
|
||||||
use Europharmacy\EuromedicaClient\Configuration;
|
use Europharmacy\EuromedicaClient\Configuration;
|
||||||
|
use Europharmacy\EuromedicaClient\FormDataProcessor;
|
||||||
use Europharmacy\EuromedicaClient\HeaderSelector;
|
use Europharmacy\EuromedicaClient\HeaderSelector;
|
||||||
use Europharmacy\EuromedicaClient\ObjectSerializer;
|
use Europharmacy\EuromedicaClient\ObjectSerializer;
|
||||||
|
|
||||||
@ -187,60 +190,20 @@ class EshopApi
|
|||||||
|
|
||||||
switch($statusCode) {
|
switch($statusCode) {
|
||||||
case 200:
|
case 200:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\EOrderPagedResponse' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\EOrderPagedResponse',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\EOrderPagedResponse' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\EOrderPagedResponse', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 400:
|
case 400:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\EOrderPagedResponse' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\EOrderPagedResponse',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\EOrderPagedResponse' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\EOrderPagedResponse', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($statusCode < 200 || $statusCode > 299) {
|
if ($statusCode < 200 || $statusCode > 299) {
|
||||||
throw new ApiException(
|
throw new ApiException(
|
||||||
@ -255,34 +218,11 @@ class EshopApi
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$returnType = '\Europharmacy\EuromedicaClient\Model\EOrderPagedResponse';
|
return $this->handleResponseWithDataType(
|
||||||
if ($returnType === '\SplFileObject') {
|
'\Europharmacy\EuromedicaClient\Model\EOrderPagedResponse',
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
$request,
|
||||||
} else {
|
$response,
|
||||||
$content = (string) $response->getBody();
|
|
||||||
if ($returnType !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, $returnType, []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
|
|
||||||
} catch (ApiException $e) {
|
} catch (ApiException $e) {
|
||||||
switch ($e->getCode()) {
|
switch ($e->getCode()) {
|
||||||
case 200:
|
case 200:
|
||||||
@ -292,7 +232,7 @@ class EshopApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 400:
|
case 400:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -300,8 +240,10 @@ class EshopApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -555,60 +497,20 @@ class EshopApi
|
|||||||
|
|
||||||
switch($statusCode) {
|
switch($statusCode) {
|
||||||
case 200:
|
case 200:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\EOrderStatusPagedResponse' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\EOrderStatusPagedResponse',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\EOrderStatusPagedResponse' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\EOrderStatusPagedResponse', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 400:
|
case 400:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\EOrderStatusPagedResponse' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\EOrderStatusPagedResponse',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\EOrderStatusPagedResponse' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\EOrderStatusPagedResponse', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($statusCode < 200 || $statusCode > 299) {
|
if ($statusCode < 200 || $statusCode > 299) {
|
||||||
throw new ApiException(
|
throw new ApiException(
|
||||||
@ -623,34 +525,11 @@ class EshopApi
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$returnType = '\Europharmacy\EuromedicaClient\Model\EOrderStatusPagedResponse';
|
return $this->handleResponseWithDataType(
|
||||||
if ($returnType === '\SplFileObject') {
|
'\Europharmacy\EuromedicaClient\Model\EOrderStatusPagedResponse',
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
$request,
|
||||||
} else {
|
$response,
|
||||||
$content = (string) $response->getBody();
|
|
||||||
if ($returnType !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, $returnType, []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
|
|
||||||
} catch (ApiException $e) {
|
} catch (ApiException $e) {
|
||||||
switch ($e->getCode()) {
|
switch ($e->getCode()) {
|
||||||
case 200:
|
case 200:
|
||||||
@ -660,7 +539,7 @@ class EshopApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 400:
|
case 400:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -668,8 +547,10 @@ class EshopApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -931,6 +812,57 @@ class EshopApi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->config->getCertFile()) {
|
||||||
|
$options[RequestOptions::CERT] = $this->config->getCertFile();
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->config->getKeyFile()) {
|
||||||
|
$options[RequestOptions::SSL_KEY] = $this->config->getKeyFile();
|
||||||
|
}
|
||||||
|
|
||||||
return $options;
|
return $options;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private function handleResponseWithDataType(
|
||||||
|
string $dataType,
|
||||||
|
RequestInterface $request,
|
||||||
|
ResponseInterface $response
|
||||||
|
): array {
|
||||||
|
if ($dataType === '\SplFileObject') {
|
||||||
|
$content = $response->getBody(); //stream goes to serializer
|
||||||
|
} else {
|
||||||
|
$content = (string) $response->getBody();
|
||||||
|
if ($dataType !== 'string') {
|
||||||
|
try {
|
||||||
|
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
||||||
|
} catch (\JsonException $exception) {
|
||||||
|
throw new ApiException(
|
||||||
|
sprintf(
|
||||||
|
'Error JSON decoding server response (%s)',
|
||||||
|
$request->getUri()
|
||||||
|
),
|
||||||
|
$response->getStatusCode(),
|
||||||
|
$response->getHeaders(),
|
||||||
|
$content
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return [
|
||||||
|
ObjectSerializer::deserialize($content, $dataType, []),
|
||||||
|
$response->getStatusCode(),
|
||||||
|
$response->getHeaders()
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
private function responseWithinRangeCode(
|
||||||
|
string $rangeCode,
|
||||||
|
int $statusCode
|
||||||
|
): bool {
|
||||||
|
$left = (int) ($rangeCode[0].'00');
|
||||||
|
$right = (int) ($rangeCode[0].'99');
|
||||||
|
|
||||||
|
return $statusCode >= $left && $statusCode <= $right;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* ProductsApi
|
* ProductsApi
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -35,8 +35,11 @@ use GuzzleHttp\Exception\RequestException;
|
|||||||
use GuzzleHttp\Psr7\MultipartStream;
|
use GuzzleHttp\Psr7\MultipartStream;
|
||||||
use GuzzleHttp\Psr7\Request;
|
use GuzzleHttp\Psr7\Request;
|
||||||
use GuzzleHttp\RequestOptions;
|
use GuzzleHttp\RequestOptions;
|
||||||
|
use Psr\Http\Message\RequestInterface;
|
||||||
|
use Psr\Http\Message\ResponseInterface;
|
||||||
use Europharmacy\EuromedicaClient\ApiException;
|
use Europharmacy\EuromedicaClient\ApiException;
|
||||||
use Europharmacy\EuromedicaClient\Configuration;
|
use Europharmacy\EuromedicaClient\Configuration;
|
||||||
|
use Europharmacy\EuromedicaClient\FormDataProcessor;
|
||||||
use Europharmacy\EuromedicaClient\HeaderSelector;
|
use Europharmacy\EuromedicaClient\HeaderSelector;
|
||||||
use Europharmacy\EuromedicaClient\ObjectSerializer;
|
use Europharmacy\EuromedicaClient\ObjectSerializer;
|
||||||
|
|
||||||
@ -188,141 +191,38 @@ class ProductsApi
|
|||||||
|
|
||||||
switch($statusCode) {
|
switch($statusCode) {
|
||||||
case 200:
|
case 200:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProductDto' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProductDto',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProductDto' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProductDto', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 404:
|
case 404:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 400:
|
case 400:
|
||||||
if ('string' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'string',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('string' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, 'string', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 401:
|
case 401:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 403:
|
case 403:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($statusCode < 200 || $statusCode > 299) {
|
if ($statusCode < 200 || $statusCode > 299) {
|
||||||
throw new ApiException(
|
throw new ApiException(
|
||||||
@ -337,34 +237,11 @@ class ProductsApi
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$returnType = '\Europharmacy\EuromedicaClient\Model\ProductDto';
|
return $this->handleResponseWithDataType(
|
||||||
if ($returnType === '\SplFileObject') {
|
'\Europharmacy\EuromedicaClient\Model\ProductDto',
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
$request,
|
||||||
} else {
|
$response,
|
||||||
$content = (string) $response->getBody();
|
|
||||||
if ($returnType !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, $returnType, []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
|
|
||||||
} catch (ApiException $e) {
|
} catch (ApiException $e) {
|
||||||
switch ($e->getCode()) {
|
switch ($e->getCode()) {
|
||||||
case 200:
|
case 200:
|
||||||
@ -374,7 +251,7 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 404:
|
case 404:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -382,7 +259,7 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 400:
|
case 400:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -390,7 +267,7 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 401:
|
case 401:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -398,7 +275,7 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 403:
|
case 403:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -406,8 +283,10 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -636,141 +515,38 @@ class ProductsApi
|
|||||||
|
|
||||||
switch($statusCode) {
|
switch($statusCode) {
|
||||||
case 200:
|
case 200:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProductDto' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProductDto',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProductDto' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProductDto', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 404:
|
case 404:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 400:
|
case 400:
|
||||||
if ('string' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'string',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('string' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, 'string', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 401:
|
case 401:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 403:
|
case 403:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($statusCode < 200 || $statusCode > 299) {
|
if ($statusCode < 200 || $statusCode > 299) {
|
||||||
throw new ApiException(
|
throw new ApiException(
|
||||||
@ -785,34 +561,11 @@ class ProductsApi
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$returnType = '\Europharmacy\EuromedicaClient\Model\ProductDto';
|
return $this->handleResponseWithDataType(
|
||||||
if ($returnType === '\SplFileObject') {
|
'\Europharmacy\EuromedicaClient\Model\ProductDto',
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
$request,
|
||||||
} else {
|
$response,
|
||||||
$content = (string) $response->getBody();
|
|
||||||
if ($returnType !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, $returnType, []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
|
|
||||||
} catch (ApiException $e) {
|
} catch (ApiException $e) {
|
||||||
switch ($e->getCode()) {
|
switch ($e->getCode()) {
|
||||||
case 200:
|
case 200:
|
||||||
@ -822,7 +575,7 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 404:
|
case 404:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -830,7 +583,7 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 400:
|
case 400:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -838,7 +591,7 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 401:
|
case 401:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -846,7 +599,7 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 403:
|
case 403:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -854,8 +607,10 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1096,141 +851,38 @@ class ProductsApi
|
|||||||
|
|
||||||
switch($statusCode) {
|
switch($statusCode) {
|
||||||
case 200:
|
case 200:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProductDtoPagedResponse' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProductDtoPagedResponse',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProductDtoPagedResponse' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProductDtoPagedResponse', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 404:
|
case 404:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 400:
|
case 400:
|
||||||
if ('string' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'string',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('string' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, 'string', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 401:
|
case 401:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 403:
|
case 403:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($statusCode < 200 || $statusCode > 299) {
|
if ($statusCode < 200 || $statusCode > 299) {
|
||||||
throw new ApiException(
|
throw new ApiException(
|
||||||
@ -1245,34 +897,11 @@ class ProductsApi
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$returnType = '\Europharmacy\EuromedicaClient\Model\ProductDtoPagedResponse';
|
return $this->handleResponseWithDataType(
|
||||||
if ($returnType === '\SplFileObject') {
|
'\Europharmacy\EuromedicaClient\Model\ProductDtoPagedResponse',
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
$request,
|
||||||
} else {
|
$response,
|
||||||
$content = (string) $response->getBody();
|
|
||||||
if ($returnType !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, $returnType, []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
|
|
||||||
} catch (ApiException $e) {
|
} catch (ApiException $e) {
|
||||||
switch ($e->getCode()) {
|
switch ($e->getCode()) {
|
||||||
case 200:
|
case 200:
|
||||||
@ -1282,7 +911,7 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 404:
|
case 404:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -1290,7 +919,7 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 400:
|
case 400:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -1298,7 +927,7 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 401:
|
case 401:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -1306,7 +935,7 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 403:
|
case 403:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -1314,8 +943,10 @@ class ProductsApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1584,6 +1215,57 @@ class ProductsApi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->config->getCertFile()) {
|
||||||
|
$options[RequestOptions::CERT] = $this->config->getCertFile();
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->config->getKeyFile()) {
|
||||||
|
$options[RequestOptions::SSL_KEY] = $this->config->getKeyFile();
|
||||||
|
}
|
||||||
|
|
||||||
return $options;
|
return $options;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private function handleResponseWithDataType(
|
||||||
|
string $dataType,
|
||||||
|
RequestInterface $request,
|
||||||
|
ResponseInterface $response
|
||||||
|
): array {
|
||||||
|
if ($dataType === '\SplFileObject') {
|
||||||
|
$content = $response->getBody(); //stream goes to serializer
|
||||||
|
} else {
|
||||||
|
$content = (string) $response->getBody();
|
||||||
|
if ($dataType !== 'string') {
|
||||||
|
try {
|
||||||
|
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
||||||
|
} catch (\JsonException $exception) {
|
||||||
|
throw new ApiException(
|
||||||
|
sprintf(
|
||||||
|
'Error JSON decoding server response (%s)',
|
||||||
|
$request->getUri()
|
||||||
|
),
|
||||||
|
$response->getStatusCode(),
|
||||||
|
$response->getHeaders(),
|
||||||
|
$content
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return [
|
||||||
|
ObjectSerializer::deserialize($content, $dataType, []),
|
||||||
|
$response->getStatusCode(),
|
||||||
|
$response->getHeaders()
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
private function responseWithinRangeCode(
|
||||||
|
string $rangeCode,
|
||||||
|
int $statusCode
|
||||||
|
): bool {
|
||||||
|
$left = (int) ($rangeCode[0].'00');
|
||||||
|
$right = (int) ($rangeCode[0].'99');
|
||||||
|
|
||||||
|
return $statusCode >= $left && $statusCode <= $right;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* WelcomeApi
|
* WelcomeApi
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -35,8 +35,11 @@ use GuzzleHttp\Exception\RequestException;
|
|||||||
use GuzzleHttp\Psr7\MultipartStream;
|
use GuzzleHttp\Psr7\MultipartStream;
|
||||||
use GuzzleHttp\Psr7\Request;
|
use GuzzleHttp\Psr7\Request;
|
||||||
use GuzzleHttp\RequestOptions;
|
use GuzzleHttp\RequestOptions;
|
||||||
|
use Psr\Http\Message\RequestInterface;
|
||||||
|
use Psr\Http\Message\ResponseInterface;
|
||||||
use Europharmacy\EuromedicaClient\ApiException;
|
use Europharmacy\EuromedicaClient\ApiException;
|
||||||
use Europharmacy\EuromedicaClient\Configuration;
|
use Europharmacy\EuromedicaClient\Configuration;
|
||||||
|
use Europharmacy\EuromedicaClient\FormDataProcessor;
|
||||||
use Europharmacy\EuromedicaClient\HeaderSelector;
|
use Europharmacy\EuromedicaClient\HeaderSelector;
|
||||||
use Europharmacy\EuromedicaClient\ObjectSerializer;
|
use Europharmacy\EuromedicaClient\ObjectSerializer;
|
||||||
|
|
||||||
@ -182,33 +185,14 @@ class WelcomeApi
|
|||||||
|
|
||||||
switch($statusCode) {
|
switch($statusCode) {
|
||||||
case 200:
|
case 200:
|
||||||
if ('string' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'string',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('string' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, 'string', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($statusCode < 200 || $statusCode > 299) {
|
if ($statusCode < 200 || $statusCode > 299) {
|
||||||
throw new ApiException(
|
throw new ApiException(
|
||||||
@ -223,34 +207,11 @@ class WelcomeApi
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$returnType = 'string';
|
return $this->handleResponseWithDataType(
|
||||||
if ($returnType === '\SplFileObject') {
|
'string',
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
$request,
|
||||||
} else {
|
$response,
|
||||||
$content = (string) $response->getBody();
|
|
||||||
if ($returnType !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, $returnType, []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
|
|
||||||
} catch (ApiException $e) {
|
} catch (ApiException $e) {
|
||||||
switch ($e->getCode()) {
|
switch ($e->getCode()) {
|
||||||
case 200:
|
case 200:
|
||||||
@ -260,8 +221,10 @@ class WelcomeApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -460,10 +423,11 @@ class WelcomeApi
|
|||||||
|
|
||||||
|
|
||||||
return [null, $statusCode, $response->getHeaders()];
|
return [null, $statusCode, $response->getHeaders()];
|
||||||
|
|
||||||
} catch (ApiException $e) {
|
} catch (ApiException $e) {
|
||||||
switch ($e->getCode()) {
|
switch ($e->getCode()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -651,60 +615,20 @@ class WelcomeApi
|
|||||||
|
|
||||||
switch($statusCode) {
|
switch($statusCode) {
|
||||||
case 200:
|
case 200:
|
||||||
if ('string' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'string',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('string' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, 'string', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
case 401:
|
case 401:
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' === '\SplFileObject') {
|
return $this->handleResponseWithDataType(
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
'\Europharmacy\EuromedicaClient\Model\ProblemDetails',
|
||||||
} else {
|
$request,
|
||||||
$content = (string) $response->getBody();
|
$response,
|
||||||
if ('\Europharmacy\EuromedicaClient\Model\ProblemDetails' !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, '\Europharmacy\EuromedicaClient\Model\ProblemDetails', []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($statusCode < 200 || $statusCode > 299) {
|
if ($statusCode < 200 || $statusCode > 299) {
|
||||||
throw new ApiException(
|
throw new ApiException(
|
||||||
@ -719,34 +643,11 @@ class WelcomeApi
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$returnType = 'string';
|
return $this->handleResponseWithDataType(
|
||||||
if ($returnType === '\SplFileObject') {
|
'string',
|
||||||
$content = $response->getBody(); //stream goes to serializer
|
$request,
|
||||||
} else {
|
$response,
|
||||||
$content = (string) $response->getBody();
|
|
||||||
if ($returnType !== 'string') {
|
|
||||||
try {
|
|
||||||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
|
||||||
} catch (\JsonException $exception) {
|
|
||||||
throw new ApiException(
|
|
||||||
sprintf(
|
|
||||||
'Error JSON decoding server response (%s)',
|
|
||||||
$request->getUri()
|
|
||||||
),
|
|
||||||
$statusCode,
|
|
||||||
$response->getHeaders(),
|
|
||||||
$content
|
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
|
||||||
ObjectSerializer::deserialize($content, $returnType, []),
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getHeaders()
|
|
||||||
];
|
|
||||||
|
|
||||||
} catch (ApiException $e) {
|
} catch (ApiException $e) {
|
||||||
switch ($e->getCode()) {
|
switch ($e->getCode()) {
|
||||||
case 200:
|
case 200:
|
||||||
@ -756,7 +657,7 @@ class WelcomeApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
case 401:
|
case 401:
|
||||||
$data = ObjectSerializer::deserialize(
|
$data = ObjectSerializer::deserialize(
|
||||||
$e->getResponseBody(),
|
$e->getResponseBody(),
|
||||||
@ -764,8 +665,10 @@ class WelcomeApi
|
|||||||
$e->getResponseHeaders()
|
$e->getResponseHeaders()
|
||||||
);
|
);
|
||||||
$e->setResponseObject($data);
|
$e->setResponseObject($data);
|
||||||
break;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -933,6 +836,57 @@ class WelcomeApi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->config->getCertFile()) {
|
||||||
|
$options[RequestOptions::CERT] = $this->config->getCertFile();
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->config->getKeyFile()) {
|
||||||
|
$options[RequestOptions::SSL_KEY] = $this->config->getKeyFile();
|
||||||
|
}
|
||||||
|
|
||||||
return $options;
|
return $options;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private function handleResponseWithDataType(
|
||||||
|
string $dataType,
|
||||||
|
RequestInterface $request,
|
||||||
|
ResponseInterface $response
|
||||||
|
): array {
|
||||||
|
if ($dataType === '\SplFileObject') {
|
||||||
|
$content = $response->getBody(); //stream goes to serializer
|
||||||
|
} else {
|
||||||
|
$content = (string) $response->getBody();
|
||||||
|
if ($dataType !== 'string') {
|
||||||
|
try {
|
||||||
|
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
|
||||||
|
} catch (\JsonException $exception) {
|
||||||
|
throw new ApiException(
|
||||||
|
sprintf(
|
||||||
|
'Error JSON decoding server response (%s)',
|
||||||
|
$request->getUri()
|
||||||
|
),
|
||||||
|
$response->getStatusCode(),
|
||||||
|
$response->getHeaders(),
|
||||||
|
$content
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return [
|
||||||
|
ObjectSerializer::deserialize($content, $dataType, []),
|
||||||
|
$response->getStatusCode(),
|
||||||
|
$response->getHeaders()
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
private function responseWithinRangeCode(
|
||||||
|
string $rangeCode,
|
||||||
|
int $statusCode
|
||||||
|
): bool {
|
||||||
|
$left = (int) ($rangeCode[0].'00');
|
||||||
|
$right = (int) ($rangeCode[0].'99');
|
||||||
|
|
||||||
|
return $statusCode >= $left && $statusCode <= $right;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* ApiException
|
* ApiException
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Configuration
|
* Configuration
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -30,7 +30,7 @@ namespace Europharmacy\EuromedicaClient;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Configuration Class Doc Comment
|
* Configuration Class Doc Comment
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -124,6 +124,20 @@ class Configuration
|
|||||||
*/
|
*/
|
||||||
protected $tempFolderPath;
|
protected $tempFolderPath;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Path to a certificate file, for mTLS
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $certFile;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Path to a key file, for mTLS
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $keyFile;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*/
|
*/
|
||||||
@ -397,6 +411,49 @@ class Configuration
|
|||||||
return $this->tempFolderPath;
|
return $this->tempFolderPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the certificate file path, for mTLS
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setCertFile($certFile)
|
||||||
|
{
|
||||||
|
$this->certFile = $certFile;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the certificate file path, for mTLS
|
||||||
|
*
|
||||||
|
* @return string Certificate file path
|
||||||
|
*/
|
||||||
|
public function getCertFile()
|
||||||
|
{
|
||||||
|
return $this->certFile;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the certificate key path, for mTLS
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setKeyFile($keyFile)
|
||||||
|
{
|
||||||
|
$this->keyFile = $keyFile;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the certificate key path, for mTLS
|
||||||
|
*
|
||||||
|
* @return string Certificate key path
|
||||||
|
*/
|
||||||
|
public function getKeyFile()
|
||||||
|
{
|
||||||
|
return $this->keyFile;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the default configuration instance
|
* Gets the default configuration instance
|
||||||
*
|
*
|
||||||
@ -434,6 +491,7 @@ class Configuration
|
|||||||
$report .= ' OS: ' . php_uname() . PHP_EOL;
|
$report .= ' OS: ' . php_uname() . PHP_EOL;
|
||||||
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
|
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
|
||||||
$report .= ' The version of the OpenAPI document: v1' . PHP_EOL;
|
$report .= ' The version of the OpenAPI document: v1' . PHP_EOL;
|
||||||
|
$report .= ' SDK Package Version: 1.0.0' . PHP_EOL;
|
||||||
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
|
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
|
||||||
|
|
||||||
return $report;
|
return $report;
|
||||||
|
|||||||
247
lib/FormDataProcessor.php
Normal file
247
lib/FormDataProcessor.php
Normal file
@ -0,0 +1,247 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* FormDataProcessor
|
||||||
|
* PHP version 7.4
|
||||||
|
*
|
||||||
|
* @category Class
|
||||||
|
* @package Europharmacy\EuromedicaClient
|
||||||
|
* @author OpenAPI Generator team
|
||||||
|
* @link https://openapi-generator.tech
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Euromedica Two Web Api
|
||||||
|
*
|
||||||
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
*
|
||||||
|
* The version of the OpenAPI document: v1
|
||||||
|
* Contact: development@europharmacy.gr
|
||||||
|
* Generated by: https://openapi-generator.tech
|
||||||
|
* Generator version: 7.20.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
* https://openapi-generator.tech
|
||||||
|
* Do not edit the class manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Europharmacy\EuromedicaClient;
|
||||||
|
|
||||||
|
use ArrayAccess;
|
||||||
|
use DateTime;
|
||||||
|
use GuzzleHttp\Psr7\Utils;
|
||||||
|
use Psr\Http\Message\StreamInterface;
|
||||||
|
use SplFileObject;
|
||||||
|
use Europharmacy\EuromedicaClient\Model\ModelInterface;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* FormDataProcessor Class Doc Comment
|
||||||
|
*
|
||||||
|
* @category Class
|
||||||
|
* @package Europharmacy\EuromedicaClient
|
||||||
|
* @author OpenAPI Generator team
|
||||||
|
* @link https://openapi-generator.tech
|
||||||
|
*/
|
||||||
|
class FormDataProcessor
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Tags whether payload passed to ::prepare() contains one or more
|
||||||
|
* SplFileObject or stream values.
|
||||||
|
*/
|
||||||
|
public bool $has_file = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Take value and turn it into an array suitable for inclusion in
|
||||||
|
* the http body (form parameter). If it's a string, pass through unchanged
|
||||||
|
* If it's a datetime object, format it in ISO8601
|
||||||
|
*
|
||||||
|
* @param array<string|bool|array|DateTime|ArrayAccess|SplFileObject> $values the value of the form parameter
|
||||||
|
*
|
||||||
|
* @return array [key => value] of formdata
|
||||||
|
*/
|
||||||
|
public function prepare(array $values): array
|
||||||
|
{
|
||||||
|
$this->has_file = false;
|
||||||
|
$result = [];
|
||||||
|
|
||||||
|
foreach ($values as $k => $v) {
|
||||||
|
if ($v === null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
$result[$k] = $this->makeFormSafe($v);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Flattens a multi-level array of data and generates a single-level array
|
||||||
|
* compatible with formdata - a single-level array where the keys use bracket
|
||||||
|
* notation to signify nested data.
|
||||||
|
*
|
||||||
|
* credit: https://github.com/FranBar1966/FlatPHP
|
||||||
|
*/
|
||||||
|
public static function flatten(array $source, string $start = ''): array
|
||||||
|
{
|
||||||
|
$opt = [
|
||||||
|
'prefix' => '[',
|
||||||
|
'suffix' => ']',
|
||||||
|
'suffix-end' => true,
|
||||||
|
'prefix-list' => '[',
|
||||||
|
'suffix-list' => ']',
|
||||||
|
'suffix-list-end' => true,
|
||||||
|
];
|
||||||
|
|
||||||
|
if ($start === '') {
|
||||||
|
$currentPrefix = '';
|
||||||
|
$currentSuffix = '';
|
||||||
|
$currentSuffixEnd = false;
|
||||||
|
} elseif (array_is_list($source)) {
|
||||||
|
$currentPrefix = $opt['prefix-list'];
|
||||||
|
$currentSuffix = $opt['suffix-list'];
|
||||||
|
$currentSuffixEnd = $opt['suffix-list-end'];
|
||||||
|
} else {
|
||||||
|
$currentPrefix = $opt['prefix'];
|
||||||
|
$currentSuffix = $opt['suffix'];
|
||||||
|
$currentSuffixEnd = $opt['suffix-end'];
|
||||||
|
}
|
||||||
|
|
||||||
|
$currentName = $start;
|
||||||
|
$result = [];
|
||||||
|
|
||||||
|
foreach ($source as $key => $val) {
|
||||||
|
$currentName .= $currentPrefix.$key;
|
||||||
|
|
||||||
|
if (is_array($val) && !empty($val)) {
|
||||||
|
$currentName .= $currentSuffix;
|
||||||
|
$result += self::flatten($val, $currentName);
|
||||||
|
} else {
|
||||||
|
if ($currentSuffixEnd) {
|
||||||
|
$currentName .= $currentSuffix;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (is_resource($val)) {
|
||||||
|
$result[$currentName] = $val;
|
||||||
|
} else {
|
||||||
|
$result[$currentName] = ObjectSerializer::toString($val);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$currentName = $start;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* formdata must be limited to scalars or arrays of scalar values,
|
||||||
|
* or a resource for a file upload. Here we iterate through all available
|
||||||
|
* data and identify how to handle each scenario
|
||||||
|
*/
|
||||||
|
protected function makeFormSafe($value)
|
||||||
|
{
|
||||||
|
if ($value instanceof SplFileObject) {
|
||||||
|
return $this->processFiles([$value])[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
if (is_resource($value)) {
|
||||||
|
$this->has_file = true;
|
||||||
|
|
||||||
|
return $value;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($value instanceof ModelInterface) {
|
||||||
|
return $this->processModel($value);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (is_array($value) || (is_object($value) && !$value instanceof \DateTimeInterface)) {
|
||||||
|
$data = [];
|
||||||
|
|
||||||
|
foreach ($value as $k => $v) {
|
||||||
|
$data[$k] = $this->makeFormSafe($v);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $data;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ObjectSerializer::toString($value);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* We are able to handle nested ModelInterface. We do not simply call
|
||||||
|
* json_decode(json_encode()) because any given model may have binary data
|
||||||
|
* or other data that cannot be serialized to a JSON string
|
||||||
|
*/
|
||||||
|
protected function processModel(ModelInterface $model): array
|
||||||
|
{
|
||||||
|
$result = [];
|
||||||
|
|
||||||
|
foreach ($model::openAPITypes() as $name => $type) {
|
||||||
|
$value = $model->offsetGet($name);
|
||||||
|
|
||||||
|
if ($value === null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (strpos($type, '\SplFileObject') !== false) {
|
||||||
|
$file = is_array($value) ? $value : [$value];
|
||||||
|
$result[$name] = $this->processFiles($file);
|
||||||
|
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($value instanceof ModelInterface) {
|
||||||
|
$result[$name] = $this->processModel($value);
|
||||||
|
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (is_array($value) || is_object($value)) {
|
||||||
|
$result[$name] = $this->makeFormSafe($value);
|
||||||
|
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
$result[$name] = ObjectSerializer::toString($value);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Handle file data
|
||||||
|
*/
|
||||||
|
protected function processFiles(array $files): array
|
||||||
|
{
|
||||||
|
$this->has_file = true;
|
||||||
|
|
||||||
|
$result = [];
|
||||||
|
|
||||||
|
foreach ($files as $i => $file) {
|
||||||
|
if (is_array($file)) {
|
||||||
|
$result[$i] = $this->processFiles($file);
|
||||||
|
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($file instanceof StreamInterface) {
|
||||||
|
$result[$i] = $file;
|
||||||
|
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($file instanceof SplFileObject) {
|
||||||
|
$result[$i] = $this->tryFopen($file);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private function tryFopen(SplFileObject $file)
|
||||||
|
{
|
||||||
|
return Utils::tryFopen($file->getRealPath(), 'rb');
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* HeaderSelector
|
* HeaderSelector
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* Billing
|
* Billing
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1076,11 +1076,11 @@ class Billing implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -1088,12 +1088,12 @@ class Billing implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -1118,11 +1118,11 @@ class Billing implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* CategoryDto
|
* CategoryDto
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -367,11 +367,11 @@ class CategoryDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -379,12 +379,12 @@ class CategoryDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -409,11 +409,11 @@ class CategoryDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* CategoryDtoListPagedResponse
|
* CategoryDtoListPagedResponse
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -639,11 +639,11 @@ class CategoryDtoListPagedResponse implements ModelInterface, ArrayAccess, \Json
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -651,12 +651,12 @@ class CategoryDtoListPagedResponse implements ModelInterface, ArrayAccess, \Json
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -681,11 +681,11 @@ class CategoryDtoListPagedResponse implements ModelInterface, ArrayAccess, \Json
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* Coupon
|
* Coupon
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -360,11 +360,11 @@ class Coupon implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -372,12 +372,12 @@ class Coupon implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -402,11 +402,11 @@ class Coupon implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* Coupons
|
* Coupons
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -327,11 +327,11 @@ class Coupons implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -339,12 +339,12 @@ class Coupons implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -369,11 +369,11 @@ class Coupons implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* Customer
|
* Customer
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1166,11 +1166,11 @@ class Customer implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -1178,12 +1178,12 @@ class Customer implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -1208,11 +1208,11 @@ class Customer implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* CustomerDto
|
* CustomerDto
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1204,11 +1204,11 @@ class CustomerDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -1216,12 +1216,12 @@ class CustomerDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -1246,11 +1246,11 @@ class CustomerDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* CustomerPagedResponse
|
* CustomerPagedResponse
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -639,11 +639,11 @@ class CustomerPagedResponse implements ModelInterface, ArrayAccess, \JsonSeriali
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -651,12 +651,12 @@ class CustomerPagedResponse implements ModelInterface, ArrayAccess, \JsonSeriali
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -681,11 +681,11 @@ class CustomerPagedResponse implements ModelInterface, ArrayAccess, \JsonSeriali
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* EOrder
|
* EOrder
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1101,11 +1101,11 @@ class EOrder implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -1113,12 +1113,12 @@ class EOrder implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -1143,11 +1143,11 @@ class EOrder implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* EOrderPagedResponse
|
* EOrderPagedResponse
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -639,11 +639,11 @@ class EOrderPagedResponse implements ModelInterface, ArrayAccess, \JsonSerializa
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -651,12 +651,12 @@ class EOrderPagedResponse implements ModelInterface, ArrayAccess, \JsonSerializa
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -681,11 +681,11 @@ class EOrderPagedResponse implements ModelInterface, ArrayAccess, \JsonSerializa
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* EOrderStatus
|
* EOrderStatus
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -592,11 +592,11 @@ class EOrderStatus implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -604,12 +604,12 @@ class EOrderStatus implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -634,11 +634,11 @@ class EOrderStatus implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* EOrderStatusPagedResponse
|
* EOrderStatusPagedResponse
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -639,11 +639,11 @@ class EOrderStatusPagedResponse implements ModelInterface, ArrayAccess, \JsonSer
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -651,12 +651,12 @@ class EOrderStatusPagedResponse implements ModelInterface, ArrayAccess, \JsonSer
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -681,11 +681,11 @@ class EOrderStatusPagedResponse implements ModelInterface, ArrayAccess, \JsonSer
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* Fee
|
* Fee
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -492,11 +492,11 @@ class Fee implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -504,12 +504,12 @@ class Fee implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -534,11 +534,11 @@ class Fee implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* Fees
|
* Fees
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -327,11 +327,11 @@ class Fees implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -339,12 +339,12 @@ class Fees implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -369,11 +369,11 @@ class Fees implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* Item
|
* Item
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -545,11 +545,11 @@ class Item implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -557,12 +557,12 @@ class Item implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -587,11 +587,11 @@ class Item implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* Items
|
* Items
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -327,11 +327,11 @@ class Items implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -339,12 +339,12 @@ class Items implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -369,11 +369,11 @@ class Items implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* MainCategoryDto
|
* MainCategoryDto
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -367,11 +367,11 @@ class MainCategoryDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -379,12 +379,12 @@ class MainCategoryDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -409,11 +409,11 @@ class MainCategoryDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* MainCategoryDtoPagedResponse
|
* MainCategoryDtoPagedResponse
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -639,11 +639,11 @@ class MainCategoryDtoPagedResponse implements ModelInterface, ArrayAccess, \Json
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -651,12 +651,12 @@ class MainCategoryDtoPagedResponse implements ModelInterface, ArrayAccess, \Json
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -681,11 +681,11 @@ class MainCategoryDtoPagedResponse implements ModelInterface, ArrayAccess, \Json
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* ModelInterface
|
* ModelInterface
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient\Model
|
* @package Europharmacy\EuromedicaClient\Model
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* OikosDto
|
* OikosDto
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -408,11 +408,11 @@ class OikosDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -420,12 +420,12 @@ class OikosDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -450,11 +450,11 @@ class OikosDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* OikosDtoPagedResponse
|
* OikosDtoPagedResponse
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -639,11 +639,11 @@ class OikosDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonSeriali
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -651,12 +651,12 @@ class OikosDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonSeriali
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -681,11 +681,11 @@ class OikosDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonSeriali
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* OwnerDto
|
* OwnerDto
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -367,11 +367,11 @@ class OwnerDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -379,12 +379,12 @@ class OwnerDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -409,11 +409,11 @@ class OwnerDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* OwnerDtoPagedResponse
|
* OwnerDtoPagedResponse
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -639,11 +639,11 @@ class OwnerDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonSeriali
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -651,12 +651,12 @@ class OwnerDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonSeriali
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -681,11 +681,11 @@ class OwnerDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonSeriali
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* PersonalCategoryDto
|
* PersonalCategoryDto
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -483,11 +483,11 @@ class PersonalCategoryDto implements ModelInterface, ArrayAccess, \JsonSerializa
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -495,12 +495,12 @@ class PersonalCategoryDto implements ModelInterface, ArrayAccess, \JsonSerializa
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -525,11 +525,11 @@ class PersonalCategoryDto implements ModelInterface, ArrayAccess, \JsonSerializa
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* PersonalCategoryDtoPagedResponse
|
* PersonalCategoryDtoPagedResponse
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -639,11 +639,11 @@ class PersonalCategoryDtoPagedResponse implements ModelInterface, ArrayAccess, \
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -651,12 +651,12 @@ class PersonalCategoryDtoPagedResponse implements ModelInterface, ArrayAccess, \
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -681,11 +681,11 @@ class PersonalCategoryDtoPagedResponse implements ModelInterface, ArrayAccess, \
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* ProblemDetails
|
* ProblemDetails
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -490,11 +490,11 @@ class ProblemDetails implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -502,12 +502,12 @@ class ProblemDetails implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -532,11 +532,11 @@ class ProblemDetails implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* ProductDto
|
* ProductDto
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1656,11 +1656,11 @@ class ProductDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -1668,12 +1668,12 @@ class ProductDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -1698,11 +1698,11 @@ class ProductDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* ProductDtoPagedResponse
|
* ProductDtoPagedResponse
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -639,11 +639,11 @@ class ProductDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonSeria
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -651,12 +651,12 @@ class ProductDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonSeria
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -681,11 +681,11 @@ class ProductDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonSeria
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* Shipping
|
* Shipping
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -838,11 +838,11 @@ class Shipping implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -850,12 +850,12 @@ class Shipping implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -880,11 +880,11 @@ class Shipping implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* SubCategoryDto
|
* SubCategoryDto
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -408,11 +408,11 @@ class SubCategoryDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -420,12 +420,12 @@ class SubCategoryDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -450,11 +450,11 @@ class SubCategoryDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* SubCategoryDtoPagedResponse
|
* SubCategoryDtoPagedResponse
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -639,11 +639,11 @@ class SubCategoryDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonS
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -651,12 +651,12 @@ class SubCategoryDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonS
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -681,11 +681,11 @@ class SubCategoryDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonS
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* VatCategoryDto
|
* VatCategoryDto
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -394,11 +394,11 @@ class VatCategoryDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -406,12 +406,12 @@ class VatCategoryDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -436,11 +436,11 @@ class VatCategoryDto implements ModelInterface, ArrayAccess, \JsonSerializable
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* VatCategoryDtoPagedResponse
|
* VatCategoryDtoPagedResponse
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -639,11 +639,11 @@ class VatCategoryDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonS
|
|||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset): bool
|
public function offsetExists(mixed $offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->container[$offset]);
|
return isset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
@ -651,12 +651,12 @@ class VatCategoryDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonS
|
|||||||
/**
|
/**
|
||||||
* Gets offset.
|
* Gets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
*/
|
*/
|
||||||
#[\ReturnTypeWillChange]
|
#[\ReturnTypeWillChange]
|
||||||
public function offsetGet($offset)
|
public function offsetGet(mixed $offset)
|
||||||
{
|
{
|
||||||
return $this->container[$offset] ?? null;
|
return $this->container[$offset] ?? null;
|
||||||
}
|
}
|
||||||
@ -681,11 +681,11 @@ class VatCategoryDtoPagedResponse implements ModelInterface, ArrayAccess, \JsonS
|
|||||||
/**
|
/**
|
||||||
* Unsets offset.
|
* Unsets offset.
|
||||||
*
|
*
|
||||||
* @param integer $offset Offset
|
* @param integer|string $offset Offset
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset): void
|
public function offsetUnset(mixed $offset): void
|
||||||
{
|
{
|
||||||
unset($this->container[$offset]);
|
unset($this->container[$offset]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* ObjectSerializer
|
* ObjectSerializer
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -324,24 +324,6 @@ class ObjectSerializer
|
|||||||
return self::toString($value);
|
return self::toString($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Take value and turn it into a string suitable for inclusion in
|
|
||||||
* the http body (form parameter). If it's a string, pass through unchanged
|
|
||||||
* If it's a datetime object, format it in ISO8601
|
|
||||||
*
|
|
||||||
* @param string|\SplFileObject $value the value of the form parameter
|
|
||||||
*
|
|
||||||
* @return string the form string
|
|
||||||
*/
|
|
||||||
public static function toFormValue($value)
|
|
||||||
{
|
|
||||||
if ($value instanceof \SplFileObject) {
|
|
||||||
return $value->getRealPath();
|
|
||||||
} else {
|
|
||||||
return self::toString($value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Take value and turn it into a string suitable for inclusion in
|
* Take value and turn it into a string suitable for inclusion in
|
||||||
* the parameter. If it's a string, pass through unchanged
|
* the parameter. If it's a string, pass through unchanged
|
||||||
@ -613,6 +595,6 @@ class ObjectSerializer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $qs ? (string) substr($qs, 0, -1) : '';
|
return $qs ? substr($qs, 0, -1) : '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* CustomersApiTest
|
* CustomersApiTest
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* EshopApiTest
|
* EshopApiTest
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* MasterDataApiTest
|
* MasterDataApiTest
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* ProductsApiTest
|
* ProductsApiTest
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* WelcomeApiTest
|
* WelcomeApiTest
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* BillingTest
|
* BillingTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* CategoryDtoListPagedResponseTest
|
* CategoryDtoListPagedResponseTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* CategoryDtoTest
|
* CategoryDtoTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* CouponTest
|
* CouponTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* CouponsTest
|
* CouponsTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* CustomerDtoTest
|
* CustomerDtoTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* CustomerPagedResponseTest
|
* CustomerPagedResponseTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* CustomerTest
|
* CustomerTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* EOrderPagedResponseTest
|
* EOrderPagedResponseTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* EOrderStatusPagedResponseTest
|
* EOrderStatusPagedResponseTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* EOrderStatusTest
|
* EOrderStatusTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* EOrderTest
|
* EOrderTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* FeeTest
|
* FeeTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* FeesTest
|
* FeesTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* ItemTest
|
* ItemTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* ItemsTest
|
* ItemsTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* MainCategoryDtoPagedResponseTest
|
* MainCategoryDtoPagedResponseTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* MainCategoryDtoTest
|
* MainCategoryDtoTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* OikosDtoPagedResponseTest
|
* OikosDtoPagedResponseTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* OikosDtoTest
|
* OikosDtoTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* OwnerDtoPagedResponseTest
|
* OwnerDtoPagedResponseTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* OwnerDtoTest
|
* OwnerDtoTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* PersonalCategoryDtoPagedResponseTest
|
* PersonalCategoryDtoPagedResponseTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* PersonalCategoryDtoTest
|
* PersonalCategoryDtoTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* ProblemDetailsTest
|
* ProblemDetailsTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* ProductDtoPagedResponseTest
|
* ProductDtoPagedResponseTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* ProductDtoTest
|
* ProductDtoTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* ShippingTest
|
* ShippingTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* SubCategoryDtoPagedResponseTest
|
* SubCategoryDtoPagedResponseTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* SubCategoryDtoTest
|
* SubCategoryDtoTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* VatCategoryDtoPagedResponseTest
|
* VatCategoryDtoPagedResponseTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* VatCategoryDtoTest
|
* VatCategoryDtoTest
|
||||||
*
|
*
|
||||||
* PHP version 7.4
|
* PHP version 8.1
|
||||||
*
|
*
|
||||||
* @category Class
|
* @category Class
|
||||||
* @package Europharmacy\EuromedicaClient
|
* @package Europharmacy\EuromedicaClient
|
||||||
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: v1
|
* The version of the OpenAPI document: v1
|
||||||
* Contact: development@europharmacy.gr
|
* Contact: development@europharmacy.gr
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* Generator version: 7.12.0
|
* Generator version: 7.20.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user