diff --git a/README.md b/README.md index 23ebc6b..2a13335 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ The validation APIs help you validate data. Check if an E-mail address is real. [Cloudmersive Validation API](https://www.cloudmersive.com/validate-api) provides data validation capabilities for validating email addresses, phone numbers, IP addresses, and many other types of business data. - API version: v1 -- Package version: 1.6.2 +- Package version: 1.6.3 ## Requirements @@ -90,6 +90,7 @@ Class | Method | HTTP request | Description *AddressApi* | [**addressCountry**](docs/Api/AddressApi.md#addresscountry) | **POST** /validate/address/country | Validate and normalize country information, return ISO 3166-1 country codes and country name *AddressApi* | [**addressCountryList**](docs/Api/AddressApi.md#addresscountrylist) | **POST** /validate/address/country/list | Get a list of ISO 3166-1 countries *AddressApi* | [**addressGetCountryCurrency**](docs/Api/AddressApi.md#addressgetcountrycurrency) | **POST** /validate/address/country/get-currency | Get the currency of the input country +*AddressApi* | [**addressGetCountryRegion**](docs/Api/AddressApi.md#addressgetcountryregion) | **POST** /validate/address/country/get-region | Get the region, subregion and continent of the country *AddressApi* | [**addressGetTimezone**](docs/Api/AddressApi.md#addressgettimezone) | **POST** /validate/address/country/get-timezones | Gets IANA/Olsen time zones for a country *AddressApi* | [**addressParseString**](docs/Api/AddressApi.md#addressparsestring) | **POST** /validate/address/parse | Parse an unstructured input text string into an international, formatted address *AddressApi* | [**addressValidateAddress**](docs/Api/AddressApi.md#addressvalidateaddress) | **POST** /validate/address/street-address | Validate a street address diff --git a/composer.json b/composer.json index 44afb93..54c1b43 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "cloudmersive/cloudmersive_validate_api_client", - "version": "1.6.2", + "version": "1.6.3", "description": "", "keywords": [ "swagger", diff --git a/docs/Api/AddressApi.md b/docs/Api/AddressApi.md index d5d5ffe..9e0e108 100644 --- a/docs/Api/AddressApi.md +++ b/docs/Api/AddressApi.md @@ -8,6 +8,7 @@ Method | HTTP request | Description [**addressCountry**](AddressApi.md#addressCountry) | **POST** /validate/address/country | Validate and normalize country information, return ISO 3166-1 country codes and country name [**addressCountryList**](AddressApi.md#addressCountryList) | **POST** /validate/address/country/list | Get a list of ISO 3166-1 countries [**addressGetCountryCurrency**](AddressApi.md#addressGetCountryCurrency) | **POST** /validate/address/country/get-currency | Get the currency of the input country +[**addressGetCountryRegion**](AddressApi.md#addressGetCountryRegion) | **POST** /validate/address/country/get-region | Get the region, subregion and continent of the country [**addressGetTimezone**](AddressApi.md#addressGetTimezone) | **POST** /validate/address/country/get-timezones | Gets IANA/Olsen time zones for a country [**addressParseString**](AddressApi.md#addressParseString) | **POST** /validate/address/parse | Parse an unstructured input text string into an international, formatted address [**addressValidateAddress**](AddressApi.md#addressValidateAddress) | **POST** /validate/address/street-address | Validate a street address @@ -232,6 +233,61 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) +# **addressGetCountryRegion** +> \Swagger\Client\Model\ValidateCountryResponse addressGetCountryRegion($input) + +Get the region, subregion and continent of the country + +Gets the continent information including region and subregion for the input country. + +### Example +```php +setApiKey('Apikey', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Apikey', 'Bearer'); + +$apiInstance = new Swagger\Client\Api\AddressApi( + // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. + // This is optional, `GuzzleHttp\Client` will be used as default. + new GuzzleHttp\Client(), + $config +); +$input = new \Swagger\Client\Model\ValidateCountryRequest(); // \Swagger\Client\Model\ValidateCountryRequest | Input request + +try { + $result = $apiInstance->addressGetCountryRegion($input); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling AddressApi->addressGetCountryRegion: ', $e->getMessage(), PHP_EOL; +} +?> +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **input** | [**\Swagger\Client\Model\ValidateCountryRequest**](../Model/ValidateCountryRequest.md)| Input request | + +### Return type + +[**\Swagger\Client\Model\ValidateCountryResponse**](../Model/ValidateCountryResponse.md) + +### Authorization + +[Apikey](../../README.md#Apikey) + +### HTTP request headers + + - **Content-Type**: application/json, text/json + - **Accept**: application/json, text/json, application/xml, text/xml + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + # **addressGetTimezone** > \Swagger\Client\Model\GetTimezonesResponse addressGetTimezone($input) diff --git a/docs/Model/CountryDetails.md b/docs/Model/CountryDetails.md index 39c746c..9b158fb 100644 --- a/docs/Model/CountryDetails.md +++ b/docs/Model/CountryDetails.md @@ -10,6 +10,8 @@ Name | Type | Description | Notes **iso_currency_code** | **string** | ISO 4217 currency three-letter code associated with the country | [optional] **currency_symbol** | **string** | Symbol associated with the currency | [optional] **currency_english_name** | **string** | Full name of the currency | [optional] +**region** | **string** | Region (continent) in which the country is located; possible values are None, Europe, Americas, Asia, Africa, Oceania | [optional] +**subregion** | **string** | Subregion in which the country is located; possible values are None, NorthernEurope, WesternEurope, SouthernEurope, EasternEurope, CentralAmerica, NorthernAmerica, SouthAmerica, EasternAfrica, MiddleAfrica, NorthernAfrica , SouthernAfrica , WesternAfrica , CentralAsia , EasternAsia , SouthernAsia , SouthEasternAsia , WesternAsia , Southern , Middle , AustraliaandNewZealand , Melanesia , Polynesia , Micronesia , Caribbean, | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Model/ValidateCountryResponse.md b/docs/Model/ValidateCountryResponse.md index f565782..14f128b 100644 --- a/docs/Model/ValidateCountryResponse.md +++ b/docs/Model/ValidateCountryResponse.md @@ -13,6 +13,8 @@ Name | Type | Description | Notes **iso_currency_code** | **string** | ISO 4217 currency three-letter code associated with the country | [optional] **currency_symbol** | **string** | Symbol associated with the currency | [optional] **currency_english_name** | **string** | Full name of the currency | [optional] +**region** | **string** | Region (continent) in which the country is located; possible values are None, Europe, Americas, Asia, Africa, Oceania | [optional] +**subregion** | **string** | Subregion in which the country is located; possible values are None, NorthernEurope, WesternEurope, SouthernEurope, EasternEurope, CentralAmerica, NorthernAmerica, SouthAmerica, EasternAfrica, MiddleAfrica, NorthernAfrica , SouthernAfrica , WesternAfrica , CentralAsia , EasternAsia , SouthernAsia , SouthEasternAsia , WesternAsia , Southern , Middle , AustraliaandNewZealand , Melanesia , Polynesia , Micronesia , Caribbean, | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/lib/Api/AddressApi.php b/lib/Api/AddressApi.php index 0dab039..841b1f3 100644 --- a/lib/Api/AddressApi.php +++ b/lib/Api/AddressApi.php @@ -1044,6 +1044,268 @@ protected function addressGetCountryCurrencyRequest($input) + // body params + $_tempBody = null; + if (isset($input)) { + $_tempBody = $input; + } + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json', 'text/json', 'application/xml', 'text/xml'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json', 'text/json', 'application/xml', 'text/xml'], + ['application/json', 'text/json'] + ); + } + + // for model (json/xml) + if (isset($_tempBody)) { + // $_tempBody is the method argument, if present + $httpBody = $_tempBody; + // \stdClass has no __toString(), so we should encode it manually + if ($httpBody instanceof \stdClass && $headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($httpBody); + } + } elseif (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValue + ]; + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + } + } + + // this endpoint requires API key authentication + $apiKey = $this->config->getApiKeyWithPrefix('Apikey'); + if ($apiKey !== null) { + $headers['Apikey'] = $apiKey; + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\build_query($queryParams); + return new Request( + 'POST', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation addressGetCountryRegion + * + * Get the region, subregion and continent of the country + * + * @param \Swagger\Client\Model\ValidateCountryRequest $input Input request (required) + * + * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \Swagger\Client\Model\ValidateCountryResponse + */ + public function addressGetCountryRegion($input) + { + list($response) = $this->addressGetCountryRegionWithHttpInfo($input); + return $response; + } + + /** + * Operation addressGetCountryRegionWithHttpInfo + * + * Get the region, subregion and continent of the country + * + * @param \Swagger\Client\Model\ValidateCountryRequest $input Input request (required) + * + * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \Swagger\Client\Model\ValidateCountryResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function addressGetCountryRegionWithHttpInfo($input) + { + $returnType = '\Swagger\Client\Model\ValidateCountryResponse'; + $request = $this->addressGetCountryRegionRequest($input); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? $e->getResponse()->getBody()->getContents() : null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $request->getUri() + ), + $statusCode, + $response->getHeaders(), + $response->getBody() + ); + } + + $responseBody = $response->getBody(); + if ($returnType === '\SplFileObject') { + $content = $responseBody; //stream goes to serializer + } else { + $content = $responseBody->getContents(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\Swagger\Client\Model\ValidateCountryResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation addressGetCountryRegionAsync + * + * Get the region, subregion and continent of the country + * + * @param \Swagger\Client\Model\ValidateCountryRequest $input Input request (required) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function addressGetCountryRegionAsync($input) + { + return $this->addressGetCountryRegionAsyncWithHttpInfo($input) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation addressGetCountryRegionAsyncWithHttpInfo + * + * Get the region, subregion and continent of the country + * + * @param \Swagger\Client\Model\ValidateCountryRequest $input Input request (required) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function addressGetCountryRegionAsyncWithHttpInfo($input) + { + $returnType = '\Swagger\Client\Model\ValidateCountryResponse'; + $request = $this->addressGetCountryRegionRequest($input); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + $responseBody = $response->getBody(); + if ($returnType === '\SplFileObject') { + $content = $responseBody; //stream goes to serializer + } else { + $content = $responseBody->getContents(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'addressGetCountryRegion' + * + * @param \Swagger\Client\Model\ValidateCountryRequest $input Input request (required) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + protected function addressGetCountryRegionRequest($input) + { + // verify the required parameter 'input' is set + if ($input === null) { + throw new \InvalidArgumentException( + 'Missing the required parameter $input when calling addressGetCountryRegion' + ); + } + + $resourcePath = '/validate/address/country/get-region'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + + // body params $_tempBody = null; if (isset($input)) { diff --git a/lib/Configuration.php b/lib/Configuration.php index 87f83e2..c444c11 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -88,7 +88,7 @@ class Configuration * * @var string */ - protected $userAgent = 'Swagger-Codegen/1.6.2/php'; + protected $userAgent = 'Swagger-Codegen/1.6.3/php'; /** * Debug switch (default set to false) @@ -397,7 +397,7 @@ public static function toDebugReport() $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' OpenAPI Spec Version: v1' . PHP_EOL; - $report .= ' SDK Package Version: 1.6.2' . PHP_EOL; + $report .= ' SDK Package Version: 1.6.3' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/Model/CountryDetails.php b/lib/Model/CountryDetails.php index c62cb40..9fcf905 100644 --- a/lib/Model/CountryDetails.php +++ b/lib/Model/CountryDetails.php @@ -64,7 +64,9 @@ class CountryDetails implements ModelInterface, ArrayAccess 'is_european_union_member' => 'bool', 'iso_currency_code' => 'string', 'currency_symbol' => 'string', - 'currency_english_name' => 'string' + 'currency_english_name' => 'string', + 'region' => 'string', + 'subregion' => 'string' ]; /** @@ -79,7 +81,9 @@ class CountryDetails implements ModelInterface, ArrayAccess 'is_european_union_member' => null, 'iso_currency_code' => null, 'currency_symbol' => null, - 'currency_english_name' => null + 'currency_english_name' => null, + 'region' => null, + 'subregion' => null ]; /** @@ -115,7 +119,9 @@ public static function swaggerFormats() 'is_european_union_member' => 'IsEuropeanUnionMember', 'iso_currency_code' => 'ISOCurrencyCode', 'currency_symbol' => 'CurrencySymbol', - 'currency_english_name' => 'CurrencyEnglishName' + 'currency_english_name' => 'CurrencyEnglishName', + 'region' => 'Region', + 'subregion' => 'Subregion' ]; /** @@ -130,7 +136,9 @@ public static function swaggerFormats() 'is_european_union_member' => 'setIsEuropeanUnionMember', 'iso_currency_code' => 'setIsoCurrencyCode', 'currency_symbol' => 'setCurrencySymbol', - 'currency_english_name' => 'setCurrencyEnglishName' + 'currency_english_name' => 'setCurrencyEnglishName', + 'region' => 'setRegion', + 'subregion' => 'setSubregion' ]; /** @@ -145,7 +153,9 @@ public static function swaggerFormats() 'is_european_union_member' => 'getIsEuropeanUnionMember', 'iso_currency_code' => 'getIsoCurrencyCode', 'currency_symbol' => 'getCurrencySymbol', - 'currency_english_name' => 'getCurrencyEnglishName' + 'currency_english_name' => 'getCurrencyEnglishName', + 'region' => 'getRegion', + 'subregion' => 'getSubregion' ]; /** @@ -215,6 +225,8 @@ public function __construct(array $data = null) $this->container['iso_currency_code'] = isset($data['iso_currency_code']) ? $data['iso_currency_code'] : null; $this->container['currency_symbol'] = isset($data['currency_symbol']) ? $data['currency_symbol'] : null; $this->container['currency_english_name'] = isset($data['currency_english_name']) ? $data['currency_english_name'] : null; + $this->container['region'] = isset($data['region']) ? $data['region'] : null; + $this->container['subregion'] = isset($data['subregion']) ? $data['subregion'] : null; } /** @@ -409,6 +421,54 @@ public function setCurrencyEnglishName($currency_english_name) return $this; } + + /** + * Gets region + * + * @return string + */ + public function getRegion() + { + return $this->container['region']; + } + + /** + * Sets region + * + * @param string $region Region (continent) in which the country is located; possible values are None, Europe, Americas, Asia, Africa, Oceania + * + * @return $this + */ + public function setRegion($region) + { + $this->container['region'] = $region; + + return $this; + } + + /** + * Gets subregion + * + * @return string + */ + public function getSubregion() + { + return $this->container['subregion']; + } + + /** + * Sets subregion + * + * @param string $subregion Subregion in which the country is located; possible values are None, NorthernEurope, WesternEurope, SouthernEurope, EasternEurope, CentralAmerica, NorthernAmerica, SouthAmerica, EasternAfrica, MiddleAfrica, NorthernAfrica , SouthernAfrica , WesternAfrica , CentralAsia , EasternAsia , SouthernAsia , SouthEasternAsia , WesternAsia , Southern , Middle , AustraliaandNewZealand , Melanesia , Polynesia , Micronesia , Caribbean, + * + * @return $this + */ + public function setSubregion($subregion) + { + $this->container['subregion'] = $subregion; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/lib/Model/ValidateCountryResponse.php b/lib/Model/ValidateCountryResponse.php index dbe98dd..5bdfbcf 100644 --- a/lib/Model/ValidateCountryResponse.php +++ b/lib/Model/ValidateCountryResponse.php @@ -67,7 +67,9 @@ class ValidateCountryResponse implements ModelInterface, ArrayAccess 'timezones' => '\Swagger\Client\Model\Timezone[]', 'iso_currency_code' => 'string', 'currency_symbol' => 'string', - 'currency_english_name' => 'string' + 'currency_english_name' => 'string', + 'region' => 'string', + 'subregion' => 'string' ]; /** @@ -85,7 +87,9 @@ class ValidateCountryResponse implements ModelInterface, ArrayAccess 'timezones' => null, 'iso_currency_code' => null, 'currency_symbol' => null, - 'currency_english_name' => null + 'currency_english_name' => null, + 'region' => null, + 'subregion' => null ]; /** @@ -124,7 +128,9 @@ public static function swaggerFormats() 'timezones' => 'Timezones', 'iso_currency_code' => 'ISOCurrencyCode', 'currency_symbol' => 'CurrencySymbol', - 'currency_english_name' => 'CurrencyEnglishName' + 'currency_english_name' => 'CurrencyEnglishName', + 'region' => 'Region', + 'subregion' => 'Subregion' ]; /** @@ -142,7 +148,9 @@ public static function swaggerFormats() 'timezones' => 'setTimezones', 'iso_currency_code' => 'setIsoCurrencyCode', 'currency_symbol' => 'setCurrencySymbol', - 'currency_english_name' => 'setCurrencyEnglishName' + 'currency_english_name' => 'setCurrencyEnglishName', + 'region' => 'setRegion', + 'subregion' => 'setSubregion' ]; /** @@ -160,7 +168,9 @@ public static function swaggerFormats() 'timezones' => 'getTimezones', 'iso_currency_code' => 'getIsoCurrencyCode', 'currency_symbol' => 'getCurrencySymbol', - 'currency_english_name' => 'getCurrencyEnglishName' + 'currency_english_name' => 'getCurrencyEnglishName', + 'region' => 'getRegion', + 'subregion' => 'getSubregion' ]; /** @@ -233,6 +243,8 @@ public function __construct(array $data = null) $this->container['iso_currency_code'] = isset($data['iso_currency_code']) ? $data['iso_currency_code'] : null; $this->container['currency_symbol'] = isset($data['currency_symbol']) ? $data['currency_symbol'] : null; $this->container['currency_english_name'] = isset($data['currency_english_name']) ? $data['currency_english_name'] : null; + $this->container['region'] = isset($data['region']) ? $data['region'] : null; + $this->container['subregion'] = isset($data['subregion']) ? $data['subregion'] : null; } /** @@ -499,6 +511,54 @@ public function setCurrencyEnglishName($currency_english_name) return $this; } + + /** + * Gets region + * + * @return string + */ + public function getRegion() + { + return $this->container['region']; + } + + /** + * Sets region + * + * @param string $region Region (continent) in which the country is located; possible values are None, Europe, Americas, Asia, Africa, Oceania + * + * @return $this + */ + public function setRegion($region) + { + $this->container['region'] = $region; + + return $this; + } + + /** + * Gets subregion + * + * @return string + */ + public function getSubregion() + { + return $this->container['subregion']; + } + + /** + * Sets subregion + * + * @param string $subregion Subregion in which the country is located; possible values are None, NorthernEurope, WesternEurope, SouthernEurope, EasternEurope, CentralAmerica, NorthernAmerica, SouthAmerica, EasternAfrica, MiddleAfrica, NorthernAfrica , SouthernAfrica , WesternAfrica , CentralAsia , EasternAsia , SouthernAsia , SouthEasternAsia , WesternAsia , Southern , Middle , AustraliaandNewZealand , Melanesia , Polynesia , Micronesia , Caribbean, + * + * @return $this + */ + public function setSubregion($subregion) + { + $this->container['subregion'] = $subregion; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/packageconfig.json b/packageconfig.json index 4124b6a..c05ffee 100644 --- a/packageconfig.json +++ b/packageconfig.json @@ -1,5 +1,5 @@ { - "artifactVersion": "1.6.2", + "artifactVersion": "1.6.3", "gitUserId": "Cloudmersive", "gitRepoId": "Cloudmersive.APIClient.PHP.Validate", "composerVendorName": "cloudmersive", diff --git a/test/Api/AddressApiTest.php b/test/Api/AddressApiTest.php index 048e259..fae3851 100644 --- a/test/Api/AddressApiTest.php +++ b/test/Api/AddressApiTest.php @@ -111,6 +111,16 @@ public function testAddressGetCountryCurrency() { } + /** + * Test case for addressGetCountryRegion + * + * Get the region, subregion and continent of the country. + * + */ + public function testAddressGetCountryRegion() + { + } + /** * Test case for addressGetTimezone * diff --git a/test/Model/CountryDetailsTest.php b/test/Model/CountryDetailsTest.php index b536453..6f0d7ab 100644 --- a/test/Model/CountryDetailsTest.php +++ b/test/Model/CountryDetailsTest.php @@ -125,4 +125,18 @@ public function testPropertyCurrencySymbol() public function testPropertyCurrencyEnglishName() { } + + /** + * Test attribute "region" + */ + public function testPropertyRegion() + { + } + + /** + * Test attribute "subregion" + */ + public function testPropertySubregion() + { + } } diff --git a/test/Model/ValidateCountryResponseTest.php b/test/Model/ValidateCountryResponseTest.php index ac5f385..d5be061 100644 --- a/test/Model/ValidateCountryResponseTest.php +++ b/test/Model/ValidateCountryResponseTest.php @@ -146,4 +146,18 @@ public function testPropertyCurrencySymbol() public function testPropertyCurrencyEnglishName() { } + + /** + * Test attribute "region" + */ + public function testPropertyRegion() + { + } + + /** + * Test attribute "subregion" + */ + public function testPropertySubregion() + { + } }