diff --git a/LICENSE b/LICENSE index bdd6141..de06a90 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2020 customweb GmbH + Copyright 2020 wallee AG Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/composer.json b/composer.json index 0ecb185..2ac51a5 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "postfinancecheckout/sdk", - "version": "2.1.3", + "version": "2.1.4", "description": "PostFinance Checkout SDK for PHP", "keywords": [ "postfinancecheckout", @@ -13,8 +13,8 @@ "license": "Apache-2.0", "authors": [ { - "name": "customweb GmbH", - "homepage": "https://customweb.com" + "name": "wallee AG", + "homepage": "https://wallee.com" } ], "require": { diff --git a/lib/ApiClient.php b/lib/ApiClient.php index 5e0e660..84ee0cc 100644 --- a/lib/ApiClient.php +++ b/lib/ApiClient.php @@ -54,7 +54,7 @@ final class ApiClient { * * @var string */ - private $userAgent = 'PHP-Client/2.1.3/php'; + private $userAgent = 'PHP-Client/2.1.4/php'; /** * The path to the certificate authority file. @@ -439,9 +439,11 @@ public function selectHeaderContentType($contentType) { * @param array $headerParams the header parameters * @param string $responseType the expected response type * @param string $endpointPath the path to the method endpoint before expanding parameters - * @throws ApiException on a non 2xx response - * @throws VersioningException on a versioning/locking problem - * @return mixed + * + * @return \PostFinanceCheckout\Sdk\ApiResponse + * @throws \PostFinanceCheckout\Sdk\ApiException + * @throws \PostFinanceCheckout\Sdk\Http\ConnectionException + * @throws \PostFinanceCheckout\Sdk\VersioningException */ public function callApi($resourcePath, $method, $queryParams, $postData, $headerParams, $responseType = null, $endpointPath = null) { $request = new HttpRequest($this->getSerializer(), $this->buildRequestUrl($resourcePath, $queryParams), $method, $this->generateUniqueToken()); diff --git a/lib/Configuration.php b/lib/Configuration.php index 8af9ae3..abc04d5 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -80,7 +80,7 @@ class Configuration * * @var string */ - protected $userAgent = 'PostFinanceCheckout\Sdk/2.1.3/php'; + protected $userAgent = 'PostFinanceCheckout\Sdk/2.1.4/php'; /** * Debug switch (default set to false) @@ -388,8 +388,8 @@ public static function toDebugReport() $report = 'PHP SDK (PostFinanceCheckout\Sdk) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; - $report .= ' OpenAPI Spec Version: 2.1.3' . PHP_EOL; - $report .= ' SDK Package Version: 2.1.3' . PHP_EOL; + $report .= ' OpenAPI Spec Version: 2.1.4' . PHP_EOL; + $report .= ' SDK Package Version: 2.1.4' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/Service/AccountService.php b/lib/Service/AccountService.php index 4605b33..f025d2f 100644 --- a/lib/Service/AccountService.php +++ b/lib/Service/AccountService.php @@ -126,7 +126,7 @@ public function countWithHttpInfo($filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -232,7 +232,7 @@ public function createWithHttpInfo($entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -338,7 +338,7 @@ public function deleteWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -442,7 +442,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -548,7 +548,7 @@ public function searchWithHttpInfo($query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -654,7 +654,7 @@ public function updateWithHttpInfo($entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/ApplicationUserService.php b/lib/Service/ApplicationUserService.php index 7ec3613..92e5b8a 100644 --- a/lib/Service/ApplicationUserService.php +++ b/lib/Service/ApplicationUserService.php @@ -126,7 +126,7 @@ public function countWithHttpInfo($filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -232,7 +232,7 @@ public function createWithHttpInfo($entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -338,7 +338,7 @@ public function deleteWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -442,7 +442,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -548,7 +548,7 @@ public function searchWithHttpInfo($query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -654,7 +654,7 @@ public function updateWithHttpInfo($entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/ChargeAttemptService.php b/lib/Service/ChargeAttemptService.php index 4abae1c..6acebd6 100644 --- a/lib/Service/ChargeAttemptService.php +++ b/lib/Service/ChargeAttemptService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -248,7 +248,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -363,7 +363,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/ChargeFlowLevelPaymentLinkService.php b/lib/Service/ChargeFlowLevelPaymentLinkService.php index ac3c7d1..cff564e 100644 --- a/lib/Service/ChargeFlowLevelPaymentLinkService.php +++ b/lib/Service/ChargeFlowLevelPaymentLinkService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -248,7 +248,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -363,7 +363,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/ChargeFlowLevelService.php b/lib/Service/ChargeFlowLevelService.php index dbe0394..2a0bb80 100644 --- a/lib/Service/ChargeFlowLevelService.php +++ b/lib/Service/ChargeFlowLevelService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -248,7 +248,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -363,7 +363,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -476,7 +476,7 @@ public function sendMessageWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/ChargeFlowService.php b/lib/Service/ChargeFlowService.php index 58f4449..576c4ec 100644 --- a/lib/Service/ChargeFlowService.php +++ b/lib/Service/ChargeFlowService.php @@ -137,7 +137,7 @@ public function applyFlowWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -248,7 +248,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -361,7 +361,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -476,7 +476,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -607,7 +607,7 @@ public function updateRecipientWithHttpInfo($space_id, $transaction_id, $type, $ } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/ConditionTypeService.php b/lib/Service/ConditionTypeService.php index 05da537..d98fe1e 100644 --- a/lib/Service/ConditionTypeService.php +++ b/lib/Service/ConditionTypeService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -223,7 +223,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/CountryService.php b/lib/Service/CountryService.php index a9acb4a..32794b4 100644 --- a/lib/Service/CountryService.php +++ b/lib/Service/CountryService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/CountryStateService.php b/lib/Service/CountryStateService.php index 6ef0e9b..b7bf7ad 100644 --- a/lib/Service/CountryStateService.php +++ b/lib/Service/CountryStateService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -223,7 +223,7 @@ public function countryWithHttpInfo($code) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/CurrencyService.php b/lib/Service/CurrencyService.php index 2539991..36fa83a 100644 --- a/lib/Service/CurrencyService.php +++ b/lib/Service/CurrencyService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/CustomerAddressService.php b/lib/Service/CustomerAddressService.php index c8c74b0..adc46ff 100644 --- a/lib/Service/CustomerAddressService.php +++ b/lib/Service/CustomerAddressService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -250,7 +250,7 @@ public function createWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -365,7 +365,7 @@ public function deleteWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -478,7 +478,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -593,7 +593,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -706,7 +706,7 @@ public function selectDefaultAddressWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -821,7 +821,7 @@ public function updateWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/CustomerCommentService.php b/lib/Service/CustomerCommentService.php index 1a51bb5..248d27c 100644 --- a/lib/Service/CustomerCommentService.php +++ b/lib/Service/CustomerCommentService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -250,7 +250,7 @@ public function createWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -365,7 +365,7 @@ public function deleteWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -478,7 +478,7 @@ public function pinCommentWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -591,7 +591,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -706,7 +706,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -819,7 +819,7 @@ public function unpinCommentWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -934,7 +934,7 @@ public function updateWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/CustomerService.php b/lib/Service/CustomerService.php index 73270fa..b84fa7f 100644 --- a/lib/Service/CustomerService.php +++ b/lib/Service/CustomerService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -250,7 +250,7 @@ public function createWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -365,7 +365,7 @@ public function deleteWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -478,7 +478,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -593,7 +593,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -708,7 +708,7 @@ public function updateWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/DeliveryIndicationService.php b/lib/Service/DeliveryIndicationService.php index 4a10eb4..896f5ce 100644 --- a/lib/Service/DeliveryIndicationService.php +++ b/lib/Service/DeliveryIndicationService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -250,7 +250,7 @@ public function markAsNotSuitableWithHttpInfo($space_id, $delivery_indication_id } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -365,7 +365,7 @@ public function markAsSuitableWithHttpInfo($space_id, $delivery_indication_id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -478,7 +478,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -593,7 +593,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/DocumentTemplateService.php b/lib/Service/DocumentTemplateService.php index eb186be..6608c4d 100644 --- a/lib/Service/DocumentTemplateService.php +++ b/lib/Service/DocumentTemplateService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -248,7 +248,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -363,7 +363,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/DocumentTemplateTypeService.php b/lib/Service/DocumentTemplateTypeService.php index b94e87d..8629ac2 100644 --- a/lib/Service/DocumentTemplateTypeService.php +++ b/lib/Service/DocumentTemplateTypeService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -223,7 +223,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/HumanUserService.php b/lib/Service/HumanUserService.php index 0cd77cb..48c114f 100644 --- a/lib/Service/HumanUserService.php +++ b/lib/Service/HumanUserService.php @@ -126,7 +126,7 @@ public function countWithHttpInfo($filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -232,7 +232,7 @@ public function createWithHttpInfo($entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -338,7 +338,7 @@ public function deleteWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -444,7 +444,7 @@ public function exportWithHttpInfo($request) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -548,7 +548,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -654,7 +654,7 @@ public function searchWithHttpInfo($query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -760,7 +760,7 @@ public function updateWithHttpInfo($entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/LabelDescriptionGroupService.php b/lib/Service/LabelDescriptionGroupService.php index 8a24dcd..0860cb8 100644 --- a/lib/Service/LabelDescriptionGroupService.php +++ b/lib/Service/LabelDescriptionGroupService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -223,7 +223,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/LabelDescriptionService.php b/lib/Service/LabelDescriptionService.php index adf85d1..39b8d74 100644 --- a/lib/Service/LabelDescriptionService.php +++ b/lib/Service/LabelDescriptionService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -223,7 +223,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/LanguageService.php b/lib/Service/LanguageService.php index ab15a27..7478ddc 100644 --- a/lib/Service/LanguageService.php +++ b/lib/Service/LanguageService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/LegalOrganizationFormService.php b/lib/Service/LegalOrganizationFormService.php index bc9c340..abc59cf 100644 --- a/lib/Service/LegalOrganizationFormService.php +++ b/lib/Service/LegalOrganizationFormService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -223,7 +223,7 @@ public function countryWithHttpInfo($code) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -327,7 +327,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/ManualTaskService.php b/lib/Service/ManualTaskService.php index e526c35..0bd1d72 100644 --- a/lib/Service/ManualTaskService.php +++ b/lib/Service/ManualTaskService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -248,7 +248,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -363,7 +363,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/PaymentConnectorConfigurationService.php b/lib/Service/PaymentConnectorConfigurationService.php index f15f6aa..d451494 100644 --- a/lib/Service/PaymentConnectorConfigurationService.php +++ b/lib/Service/PaymentConnectorConfigurationService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -248,7 +248,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -363,7 +363,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/PaymentConnectorService.php b/lib/Service/PaymentConnectorService.php index e171124..8d3049e 100644 --- a/lib/Service/PaymentConnectorService.php +++ b/lib/Service/PaymentConnectorService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -223,7 +223,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/PaymentLinkService.php b/lib/Service/PaymentLinkService.php index 3aa90cc..036da48 100644 --- a/lib/Service/PaymentLinkService.php +++ b/lib/Service/PaymentLinkService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -250,7 +250,7 @@ public function createWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -365,7 +365,7 @@ public function deleteWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -478,7 +478,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -593,7 +593,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -708,7 +708,7 @@ public function updateWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/PaymentMethodBrandService.php b/lib/Service/PaymentMethodBrandService.php index 0cead2d..aa6905a 100644 --- a/lib/Service/PaymentMethodBrandService.php +++ b/lib/Service/PaymentMethodBrandService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -223,7 +223,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/PaymentMethodConfigurationService.php b/lib/Service/PaymentMethodConfigurationService.php index 2d59177..c0985e0 100644 --- a/lib/Service/PaymentMethodConfigurationService.php +++ b/lib/Service/PaymentMethodConfigurationService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -248,7 +248,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -363,7 +363,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/PaymentMethodService.php b/lib/Service/PaymentMethodService.php index 854b96d..cd09325 100644 --- a/lib/Service/PaymentMethodService.php +++ b/lib/Service/PaymentMethodService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -223,7 +223,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/PaymentProcessorConfigurationService.php b/lib/Service/PaymentProcessorConfigurationService.php index 481932e..a4dc958 100644 --- a/lib/Service/PaymentProcessorConfigurationService.php +++ b/lib/Service/PaymentProcessorConfigurationService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -248,7 +248,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -363,7 +363,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/PaymentProcessorService.php b/lib/Service/PaymentProcessorService.php index c1bc898..8a95056 100644 --- a/lib/Service/PaymentProcessorService.php +++ b/lib/Service/PaymentProcessorService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -223,7 +223,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/PermissionService.php b/lib/Service/PermissionService.php index 166d414..026a405 100644 --- a/lib/Service/PermissionService.php +++ b/lib/Service/PermissionService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -223,7 +223,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/RefundCommentService.php b/lib/Service/RefundCommentService.php index 85f514a..21a9dc1 100644 --- a/lib/Service/RefundCommentService.php +++ b/lib/Service/RefundCommentService.php @@ -137,7 +137,7 @@ public function allWithHttpInfo($space_id, $refund_id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -252,7 +252,7 @@ public function createWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -365,7 +365,7 @@ public function deleteWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -478,7 +478,7 @@ public function pinWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -591,7 +591,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -704,7 +704,7 @@ public function unpinWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -819,7 +819,7 @@ public function updateWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/RefundService.php b/lib/Service/RefundService.php index a752f75..a356425 100644 --- a/lib/Service/RefundService.php +++ b/lib/Service/RefundService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -248,7 +248,7 @@ public function failWithHttpInfo($space_id, $refund_id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -361,7 +361,7 @@ public function getRefundDocumentWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -483,7 +483,7 @@ public function getRefundDocumentWithTargetMediaTypeWithHttpInfo($space_id, $id, } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -596,7 +596,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -711,7 +711,7 @@ public function refundWithHttpInfo($space_id, $refund) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -826,7 +826,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -939,7 +939,7 @@ public function succeedWithHttpInfo($space_id, $refund_id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/ShopifyTransactionService.php b/lib/Service/ShopifyTransactionService.php index 15b2a2e..92683ae 100644 --- a/lib/Service/ShopifyTransactionService.php +++ b/lib/Service/ShopifyTransactionService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -248,7 +248,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -363,7 +363,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/SpaceService.php b/lib/Service/SpaceService.php index 4e0194a..2481921 100644 --- a/lib/Service/SpaceService.php +++ b/lib/Service/SpaceService.php @@ -126,7 +126,7 @@ public function countWithHttpInfo($filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -232,7 +232,7 @@ public function createWithHttpInfo($entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -338,7 +338,7 @@ public function deleteWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -442,7 +442,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -548,7 +548,7 @@ public function searchWithHttpInfo($query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -654,7 +654,7 @@ public function updateWithHttpInfo($entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/StaticValueService.php b/lib/Service/StaticValueService.php index c617f7a..99d5f4d 100644 --- a/lib/Service/StaticValueService.php +++ b/lib/Service/StaticValueService.php @@ -119,7 +119,7 @@ public function allWithHttpInfo() { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -223,7 +223,7 @@ public function readWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/TokenService.php b/lib/Service/TokenService.php index d37f2ca..ad93294 100644 --- a/lib/Service/TokenService.php +++ b/lib/Service/TokenService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -250,7 +250,7 @@ public function createWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -363,7 +363,7 @@ public function createTransactionForTokenUpdateWithHttpInfo($space_id, $token_id } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -478,7 +478,7 @@ public function deleteWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -591,7 +591,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -706,7 +706,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -821,7 +821,7 @@ public function updateWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/TokenVersionService.php b/lib/Service/TokenVersionService.php index be9be9b..3541b96 100644 --- a/lib/Service/TokenVersionService.php +++ b/lib/Service/TokenVersionService.php @@ -137,7 +137,7 @@ public function activeVersionWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -248,7 +248,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -361,7 +361,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -476,7 +476,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/TransactionCommentService.php b/lib/Service/TransactionCommentService.php index 6a5244a..4f9ee70 100644 --- a/lib/Service/TransactionCommentService.php +++ b/lib/Service/TransactionCommentService.php @@ -137,7 +137,7 @@ public function allWithHttpInfo($space_id, $transaction_id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -252,7 +252,7 @@ public function createWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -365,7 +365,7 @@ public function deleteWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -478,7 +478,7 @@ public function pinWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -591,7 +591,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -704,7 +704,7 @@ public function unpinWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -819,7 +819,7 @@ public function updateWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/TransactionCompletionService.php b/lib/Service/TransactionCompletionService.php index 48b8585..3672dbc 100644 --- a/lib/Service/TransactionCompletionService.php +++ b/lib/Service/TransactionCompletionService.php @@ -137,7 +137,7 @@ public function completeOfflineWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -250,7 +250,7 @@ public function completeOnlineWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -365,7 +365,7 @@ public function completePartiallyOfflineWithHttpInfo($space_id, $completion) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -480,7 +480,7 @@ public function completePartiallyOnlineWithHttpInfo($space_id, $completion) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -591,7 +591,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -704,7 +704,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -819,7 +819,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/TransactionIframeService.php b/lib/Service/TransactionIframeService.php index 2d2ab72..0060c3c 100644 --- a/lib/Service/TransactionIframeService.php +++ b/lib/Service/TransactionIframeService.php @@ -137,7 +137,7 @@ public function javascriptUrlWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/TransactionInvoiceCommentService.php b/lib/Service/TransactionInvoiceCommentService.php index 1e30a0e..bfbd846 100644 --- a/lib/Service/TransactionInvoiceCommentService.php +++ b/lib/Service/TransactionInvoiceCommentService.php @@ -137,7 +137,7 @@ public function allWithHttpInfo($space_id, $invoice_id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -252,7 +252,7 @@ public function createWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -365,7 +365,7 @@ public function deleteWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -478,7 +478,7 @@ public function pinWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -591,7 +591,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -704,7 +704,7 @@ public function unpinWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -819,7 +819,7 @@ public function updateWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/TransactionInvoiceService.php b/lib/Service/TransactionInvoiceService.php index 006e7d3..53741d3 100644 --- a/lib/Service/TransactionInvoiceService.php +++ b/lib/Service/TransactionInvoiceService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -248,7 +248,7 @@ public function getInvoiceDocumentWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -370,7 +370,7 @@ public function getInvoiceDocumentWithTargetMediaTypeWithHttpInfo($space_id, $id } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -483,7 +483,7 @@ public function isReplacementPossibleWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -596,7 +596,7 @@ public function markAsDerecognizedWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -709,7 +709,7 @@ public function markAsPaidWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -822,7 +822,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -946,7 +946,7 @@ public function replaceWithHttpInfo($space_id, $id, $replacement) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -1061,7 +1061,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/TransactionLightboxService.php b/lib/Service/TransactionLightboxService.php index c6622a7..4abf47b 100644 --- a/lib/Service/TransactionLightboxService.php +++ b/lib/Service/TransactionLightboxService.php @@ -137,7 +137,7 @@ public function javascriptUrlWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/TransactionMobileSdkService.php b/lib/Service/TransactionMobileSdkService.php index ee7b606..ec858ed 100644 --- a/lib/Service/TransactionMobileSdkService.php +++ b/lib/Service/TransactionMobileSdkService.php @@ -128,7 +128,7 @@ public function paymentFormUrlWithHttpInfo($credentials) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/TransactionPaymentPageService.php b/lib/Service/TransactionPaymentPageService.php index a264255..5cd2b4f 100644 --- a/lib/Service/TransactionPaymentPageService.php +++ b/lib/Service/TransactionPaymentPageService.php @@ -137,7 +137,7 @@ public function paymentPageUrlWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', diff --git a/lib/Service/TransactionService.php b/lib/Service/TransactionService.php index b91d0bc..c159be1 100644 --- a/lib/Service/TransactionService.php +++ b/lib/Service/TransactionService.php @@ -139,7 +139,7 @@ public function confirmWithHttpInfo($space_id, $transaction_model) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -258,7 +258,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -373,7 +373,7 @@ public function createWithHttpInfo($space_id, $transaction) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -486,7 +486,7 @@ public function createTransactionCredentialsWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -599,7 +599,7 @@ public function deleteOneClickTokenWithCredentialsWithHttpInfo($credentials, $to } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -706,7 +706,7 @@ public function exportWithHttpInfo($space_id, $request) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -810,7 +810,7 @@ public function fetchOneClickTokensWithCredentialsWithHttpInfo($credentials) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -932,7 +932,7 @@ public function fetchPaymentMethodsWithHttpInfo($space_id, $id, $integration_mod } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -1045,7 +1045,7 @@ public function fetchPaymentMethodsWithCredentialsWithHttpInfo($credentials, $in } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -1158,7 +1158,7 @@ public function getInvoiceDocumentWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -1271,7 +1271,7 @@ public function getLatestTransactionLineItemVersionWithHttpInfo($space_id, $id) } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -1384,7 +1384,7 @@ public function getPackingSlipWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -1497,7 +1497,7 @@ public function processOneClickTokenAndRedirectWithCredentialsWithHttpInfo($cred } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -1610,7 +1610,7 @@ public function processWithoutUserInteractionWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -1723,7 +1723,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -1827,7 +1827,7 @@ public function readWithCredentialsWithHttpInfo($credentials) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -1942,7 +1942,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -2057,7 +2057,7 @@ public function updateWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -2180,7 +2180,7 @@ public function updateTransactionLineItemsWithHttpInfo($space_id, $update_reques } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/TransactionVoidService.php b/lib/Service/TransactionVoidService.php index 8c4c808..f2a98f8 100644 --- a/lib/Service/TransactionVoidService.php +++ b/lib/Service/TransactionVoidService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -248,7 +248,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -363,7 +363,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -476,7 +476,7 @@ public function voidOfflineWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -589,7 +589,7 @@ public function voidOnlineWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/UserAccountRoleService.php b/lib/Service/UserAccountRoleService.php index 8360653..28648e1 100644 --- a/lib/Service/UserAccountRoleService.php +++ b/lib/Service/UserAccountRoleService.php @@ -151,7 +151,7 @@ public function addRoleWithHttpInfo($user_id, $account_id, $role_id, $applies_on } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -264,7 +264,7 @@ public function callListWithHttpInfo($user_id, $account_id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -368,7 +368,7 @@ public function removeRoleWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/UserSpaceRoleService.php b/lib/Service/UserSpaceRoleService.php index d9090c0..a058f74 100644 --- a/lib/Service/UserSpaceRoleService.php +++ b/lib/Service/UserSpaceRoleService.php @@ -146,7 +146,7 @@ public function addRoleWithHttpInfo($user_id, $space_id, $role_id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -259,7 +259,7 @@ public function callListWithHttpInfo($user_id, $space_id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -371,7 +371,7 @@ public function removeRoleWithHttpInfo($id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/WebhookListenerService.php b/lib/Service/WebhookListenerService.php index 47471ff..3a5a2f0 100644 --- a/lib/Service/WebhookListenerService.php +++ b/lib/Service/WebhookListenerService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -250,7 +250,7 @@ public function createWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -365,7 +365,7 @@ public function deleteWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -478,7 +478,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -593,7 +593,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -708,7 +708,7 @@ public function updateWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', diff --git a/lib/Service/WebhookUrlService.php b/lib/Service/WebhookUrlService.php index 011d278..568e279 100644 --- a/lib/Service/WebhookUrlService.php +++ b/lib/Service/WebhookUrlService.php @@ -135,7 +135,7 @@ public function countWithHttpInfo($space_id, $filter = null) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -250,7 +250,7 @@ public function createWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -365,7 +365,7 @@ public function deleteWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -478,7 +478,7 @@ public function readWithHttpInfo($space_id, $id) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'GET', @@ -593,7 +593,7 @@ public function searchWithHttpInfo($space_id, $query) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST', @@ -708,7 +708,7 @@ public function updateWithHttpInfo($space_id, $entity) { } // make the API Call try { - $this->apiClient->resetConnectionTimeout(); + $this->apiClient->setConnectionTimeout(ApiClient::CONNECTION_TIMEOUT); $response = $this->apiClient->callApi( $resourcePath, 'POST',