diff --git a/README.md b/README.md index da47465..e8c6448 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ This is Splitit Web API SDK source code for PHP 5.5+ applications. For other languages, please visit [Splitit.SDKs](https://github.com/Splitit/Splitit.SDKs). - API version: 1.0.0 -- Package version: 1.6.10 +- Package version: 1.6.11 ## Requirements @@ -17,7 +17,7 @@ To install the bindings via [Composer](http://getcomposer.org/), add the followi ``` { "require": { - "splitit/sdk": "^1.6.10" + "splitit/sdk": "^1.6.11" } } ``` @@ -199,8 +199,8 @@ All URIs are relative to *https://webapi.production.splitit.com* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *InfoApi* | [**infoGetLearnMoreDetails**](docs/Api/InfoApi.md#infogetlearnmoredetails) | **POST** /api/Merchant/GetLearnMoreDetails | -*InfrastructureApi* | [**infrastructureGetResources**](docs/Api/InfrastructureApi.md#infrastructuregetresources) | **POST** /api/Infrastructure/GetResources | -*InfrastructureApi* | [**infrastructureGetResources2**](docs/Api/InfrastructureApi.md#infrastructuregetresources2) | **GET** /api/Infrastructure/GetResources | +*InfrastructureApi* | [**infrastructureGetResourcesGET**](docs/Api/InfrastructureApi.md#infrastructuregetresourcesget) | **GET** /api/Infrastructure/GetResources | +*InfrastructureApi* | [**infrastructureGetResourcesPOST**](docs/Api/InfrastructureApi.md#infrastructuregetresourcespost) | **POST** /api/Infrastructure/GetResources | *InstallmentPlanApi* | [**installmentPlanApprove**](docs/Api/InstallmentPlanApi.md#installmentplanapprove) | **POST** /api/InstallmentPlan/Approve | *InstallmentPlanApi* | [**installmentPlanCancel**](docs/Api/InstallmentPlanApi.md#installmentplancancel) | **POST** /api/InstallmentPlan/Cancel | *InstallmentPlanApi* | [**installmentPlanChargeBack**](docs/Api/InstallmentPlanApi.md#installmentplanchargeback) | **POST** /api/InstallmentPlan/ChargeBack | diff --git a/Splitit/Api/InfrastructureApi.php b/Splitit/Api/InfrastructureApi.php index f4a041e..1b4e35e 100644 --- a/Splitit/Api/InfrastructureApi.php +++ b/Splitit/Api/InfrastructureApi.php @@ -127,33 +127,43 @@ protected function injectSessionRequestHeaders($request) } /** - * Operation infrastructureGetResources + * Operation infrastructureGetResourcesGET * - * @param \SplititSdkClient\Model\GetResourcesRequest $request request (required) + * @param string $api_key api_key (optional) + * @param string $session_id session_id (optional) + * @param string $merchant_code merchant_code (optional) + * @param string $culture_name culture_name (optional) + * @param string $touch_point_code touch_point_code (optional) + * @param \SplititSdkClient\Model\SystemTextCategory[] $system_text_categories system_text_categories (optional) * * @throws \SplititSdkClient\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \SplititSdkClient\Model\GetResourcesResponse */ - public function infrastructureGetResources($request) + public function infrastructureGetResourcesGET($api_key = null, $session_id = null, $merchant_code = null, $culture_name = null, $touch_point_code = null, $system_text_categories = null) { - list($response) = $this->infrastructureGetResourcesWithHttpInfo($request); + list($response) = $this->infrastructureGetResourcesGETWithHttpInfo($api_key, $session_id, $merchant_code, $culture_name, $touch_point_code, $system_text_categories); return $response; } /** - * Operation infrastructureGetResourcesWithHttpInfo + * Operation infrastructureGetResourcesGETWithHttpInfo * - * @param \SplititSdkClient\Model\GetResourcesRequest $request (required) + * @param string $api_key (optional) + * @param string $session_id (optional) + * @param string $merchant_code (optional) + * @param string $culture_name (optional) + * @param string $touch_point_code (optional) + * @param \SplititSdkClient\Model\SystemTextCategory[] $system_text_categories (optional) * * @throws \SplititSdkClient\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \SplititSdkClient\Model\GetResourcesResponse, HTTP status code, HTTP response headers (array of strings) */ - public function infrastructureGetResourcesWithHttpInfo($request) + public function infrastructureGetResourcesGETWithHttpInfo($api_key = null, $session_id = null, $merchant_code = null, $culture_name = null, $touch_point_code = null, $system_text_categories = null) { $returnType = '\SplititSdkClient\Model\GetResourcesResponse'; - $request = $this->infrastructureGetResourcesRequest($request); + $request = $this->infrastructureGetResourcesGETRequest($api_key, $session_id, $merchant_code, $culture_name, $touch_point_code, $system_text_categories); try { $options = $this->createHttpClientOption(); @@ -222,18 +232,23 @@ public function infrastructureGetResourcesWithHttpInfo($request) } /** - * Operation infrastructureGetResourcesAsync + * Operation infrastructureGetResourcesGETAsync * * * - * @param \SplititSdkClient\Model\GetResourcesRequest $request (required) + * @param string $api_key (optional) + * @param string $session_id (optional) + * @param string $merchant_code (optional) + * @param string $culture_name (optional) + * @param string $touch_point_code (optional) + * @param \SplititSdkClient\Model\SystemTextCategory[] $system_text_categories (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function infrastructureGetResourcesAsync($request) + public function infrastructureGetResourcesGETAsync($api_key = null, $session_id = null, $merchant_code = null, $culture_name = null, $touch_point_code = null, $system_text_categories = null) { - return $this->infrastructureGetResourcesAsyncWithHttpInfo($request) + return $this->infrastructureGetResourcesGETAsyncWithHttpInfo($api_key, $session_id, $merchant_code, $culture_name, $touch_point_code, $system_text_categories) ->then( function ($response) { return $response[0]; @@ -242,19 +257,24 @@ function ($response) { } /** - * Operation infrastructureGetResourcesAsyncWithHttpInfo + * Operation infrastructureGetResourcesGETAsyncWithHttpInfo * * * - * @param \SplititSdkClient\Model\GetResourcesRequest $request (required) + * @param string $api_key (optional) + * @param string $session_id (optional) + * @param string $merchant_code (optional) + * @param string $culture_name (optional) + * @param string $touch_point_code (optional) + * @param \SplititSdkClient\Model\SystemTextCategory[] $system_text_categories (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function infrastructureGetResourcesAsyncWithHttpInfo($request) + public function infrastructureGetResourcesGETAsyncWithHttpInfo($api_key = null, $session_id = null, $merchant_code = null, $culture_name = null, $touch_point_code = null, $system_text_categories = null) { $returnType = '\SplititSdkClient\Model\GetResourcesResponse'; - $request = $this->infrastructureGetResourcesRequest($request); + $request = $this->infrastructureGetResourcesGETRequest($api_key, $session_id, $merchant_code, $culture_name, $touch_point_code, $system_text_categories); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -301,21 +321,20 @@ function ($exception) { } /** - * Create request for operation 'infrastructureGetResources' + * Create request for operation 'infrastructureGetResourcesGET' * - * @param \SplititSdkClient\Model\GetResourcesRequest $request (required) + * @param string $api_key (optional) + * @param string $session_id (optional) + * @param string $merchant_code (optional) + * @param string $culture_name (optional) + * @param string $touch_point_code (optional) + * @param \SplititSdkClient\Model\SystemTextCategory[] $system_text_categories (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function infrastructureGetResourcesRequest($request) + protected function infrastructureGetResourcesGETRequest($api_key = null, $session_id = null, $merchant_code = null, $culture_name = null, $touch_point_code = null, $system_text_categories = null) { - // verify the required parameter 'request' is set - if ($request === null || (is_array($request) && count($request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $request when calling infrastructureGetResources' - ); - } $resourcePath = '/api/Infrastructure/GetResources'; $formParams = []; @@ -324,14 +343,37 @@ protected function infrastructureGetResourcesRequest($request) $httpBody = ''; $multipart = false; + // query params + if ($api_key !== null) { + $queryParams['apiKey'] = ObjectSerializer::toQueryValue($api_key); + } + // query params + if ($session_id !== null) { + $queryParams['sessionId'] = ObjectSerializer::toQueryValue($session_id); + } + // query params + if ($merchant_code !== null) { + $queryParams['merchantCode'] = ObjectSerializer::toQueryValue($merchant_code); + } + // query params + if ($culture_name !== null) { + $queryParams['cultureName'] = ObjectSerializer::toQueryValue($culture_name); + } + // query params + if ($touch_point_code !== null) { + $queryParams['touchPointCode'] = ObjectSerializer::toQueryValue($touch_point_code); + } + // query params + if (is_array($system_text_categories)) { + $queryParams['systemTextCategories'] = $system_text_categories; + } else + if ($system_text_categories !== null) { + $queryParams['systemTextCategories'] = ObjectSerializer::toQueryValue($system_text_categories); + } // body params $_tempBody = null; - if (isset($request)) { - $this->injectSessionRequestHeaders($request); - $_tempBody = $request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -340,7 +382,7 @@ protected function infrastructureGetResourcesRequest($request) } else { $headers = $this->headerSelector->selectHeaders( ['text/plain', 'application/json', 'text/json'], - ['application/json-patch+json', 'application/json', 'text/json', 'application/_*+json'] + [] ); } @@ -394,7 +436,7 @@ protected function infrastructureGetResourcesRequest($request) $query = \GuzzleHttp\Psr7\build_query($queryParams); return new Request( - 'POST', + 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), $headers, $httpBody @@ -402,43 +444,33 @@ protected function infrastructureGetResourcesRequest($request) } /** - * Operation infrastructureGetResources2 + * Operation infrastructureGetResourcesPOST * - * @param string $api_key api_key (optional) - * @param string $session_id session_id (optional) - * @param string $merchant_code merchant_code (optional) - * @param string $culture_name culture_name (optional) - * @param string $touch_point_code touch_point_code (optional) - * @param \SplititSdkClient\Model\SystemTextCategory[] $system_text_categories system_text_categories (optional) + * @param \SplititSdkClient\Model\GetResourcesRequest $request request (required) * * @throws \SplititSdkClient\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \SplititSdkClient\Model\GetResourcesResponse */ - public function infrastructureGetResources2($api_key = null, $session_id = null, $merchant_code = null, $culture_name = null, $touch_point_code = null, $system_text_categories = null) + public function infrastructureGetResourcesPOST($request) { - list($response) = $this->infrastructureGetResources2WithHttpInfo($api_key, $session_id, $merchant_code, $culture_name, $touch_point_code, $system_text_categories); + list($response) = $this->infrastructureGetResourcesPOSTWithHttpInfo($request); return $response; } /** - * Operation infrastructureGetResources2WithHttpInfo + * Operation infrastructureGetResourcesPOSTWithHttpInfo * - * @param string $api_key (optional) - * @param string $session_id (optional) - * @param string $merchant_code (optional) - * @param string $culture_name (optional) - * @param string $touch_point_code (optional) - * @param \SplititSdkClient\Model\SystemTextCategory[] $system_text_categories (optional) + * @param \SplititSdkClient\Model\GetResourcesRequest $request (required) * * @throws \SplititSdkClient\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \SplititSdkClient\Model\GetResourcesResponse, HTTP status code, HTTP response headers (array of strings) */ - public function infrastructureGetResources2WithHttpInfo($api_key = null, $session_id = null, $merchant_code = null, $culture_name = null, $touch_point_code = null, $system_text_categories = null) + public function infrastructureGetResourcesPOSTWithHttpInfo($request) { $returnType = '\SplititSdkClient\Model\GetResourcesResponse'; - $request = $this->infrastructureGetResources2Request($api_key, $session_id, $merchant_code, $culture_name, $touch_point_code, $system_text_categories); + $request = $this->infrastructureGetResourcesPOSTRequest($request); try { $options = $this->createHttpClientOption(); @@ -507,23 +539,18 @@ public function infrastructureGetResources2WithHttpInfo($api_key = null, $sessio } /** - * Operation infrastructureGetResources2Async + * Operation infrastructureGetResourcesPOSTAsync * * * - * @param string $api_key (optional) - * @param string $session_id (optional) - * @param string $merchant_code (optional) - * @param string $culture_name (optional) - * @param string $touch_point_code (optional) - * @param \SplititSdkClient\Model\SystemTextCategory[] $system_text_categories (optional) + * @param \SplititSdkClient\Model\GetResourcesRequest $request (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function infrastructureGetResources2Async($api_key = null, $session_id = null, $merchant_code = null, $culture_name = null, $touch_point_code = null, $system_text_categories = null) + public function infrastructureGetResourcesPOSTAsync($request) { - return $this->infrastructureGetResources2AsyncWithHttpInfo($api_key, $session_id, $merchant_code, $culture_name, $touch_point_code, $system_text_categories) + return $this->infrastructureGetResourcesPOSTAsyncWithHttpInfo($request) ->then( function ($response) { return $response[0]; @@ -532,24 +559,19 @@ function ($response) { } /** - * Operation infrastructureGetResources2AsyncWithHttpInfo + * Operation infrastructureGetResourcesPOSTAsyncWithHttpInfo * * * - * @param string $api_key (optional) - * @param string $session_id (optional) - * @param string $merchant_code (optional) - * @param string $culture_name (optional) - * @param string $touch_point_code (optional) - * @param \SplititSdkClient\Model\SystemTextCategory[] $system_text_categories (optional) + * @param \SplititSdkClient\Model\GetResourcesRequest $request (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function infrastructureGetResources2AsyncWithHttpInfo($api_key = null, $session_id = null, $merchant_code = null, $culture_name = null, $touch_point_code = null, $system_text_categories = null) + public function infrastructureGetResourcesPOSTAsyncWithHttpInfo($request) { $returnType = '\SplititSdkClient\Model\GetResourcesResponse'; - $request = $this->infrastructureGetResources2Request($api_key, $session_id, $merchant_code, $culture_name, $touch_point_code, $system_text_categories); + $request = $this->infrastructureGetResourcesPOSTRequest($request); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -596,20 +618,21 @@ function ($exception) { } /** - * Create request for operation 'infrastructureGetResources2' + * Create request for operation 'infrastructureGetResourcesPOST' * - * @param string $api_key (optional) - * @param string $session_id (optional) - * @param string $merchant_code (optional) - * @param string $culture_name (optional) - * @param string $touch_point_code (optional) - * @param \SplititSdkClient\Model\SystemTextCategory[] $system_text_categories (optional) + * @param \SplititSdkClient\Model\GetResourcesRequest $request (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function infrastructureGetResources2Request($api_key = null, $session_id = null, $merchant_code = null, $culture_name = null, $touch_point_code = null, $system_text_categories = null) + protected function infrastructureGetResourcesPOSTRequest($request) { + // verify the required parameter 'request' is set + if ($request === null || (is_array($request) && count($request) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $request when calling infrastructureGetResourcesPOST' + ); + } $resourcePath = '/api/Infrastructure/GetResources'; $formParams = []; @@ -618,37 +641,14 @@ protected function infrastructureGetResources2Request($api_key = null, $session_ $httpBody = ''; $multipart = false; - // query params - if ($api_key !== null) { - $queryParams['apiKey'] = ObjectSerializer::toQueryValue($api_key); - } - // query params - if ($session_id !== null) { - $queryParams['sessionId'] = ObjectSerializer::toQueryValue($session_id); - } - // query params - if ($merchant_code !== null) { - $queryParams['merchantCode'] = ObjectSerializer::toQueryValue($merchant_code); - } - // query params - if ($culture_name !== null) { - $queryParams['cultureName'] = ObjectSerializer::toQueryValue($culture_name); - } - // query params - if ($touch_point_code !== null) { - $queryParams['touchPointCode'] = ObjectSerializer::toQueryValue($touch_point_code); - } - // query params - if (is_array($system_text_categories)) { - $queryParams['systemTextCategories'] = $system_text_categories; - } else - if ($system_text_categories !== null) { - $queryParams['systemTextCategories'] = ObjectSerializer::toQueryValue($system_text_categories); - } // body params $_tempBody = null; + if (isset($request)) { + $this->injectSessionRequestHeaders($request); + $_tempBody = $request; + } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -657,7 +657,7 @@ protected function infrastructureGetResources2Request($api_key = null, $session_ } else { $headers = $this->headerSelector->selectHeaders( ['text/plain', 'application/json', 'text/json'], - [] + ['application/json-patch+json', 'application/json', 'text/json', 'application/_*+json'] ); } @@ -711,7 +711,7 @@ protected function infrastructureGetResources2Request($api_key = null, $session_ $query = \GuzzleHttp\Psr7\build_query($queryParams); return new Request( - 'GET', + 'POST', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), $headers, $httpBody diff --git a/Splitit/Configuration.php b/Splitit/Configuration.php index 7edc87b..65b2af9 100644 --- a/Splitit/Configuration.php +++ b/Splitit/Configuration.php @@ -63,7 +63,7 @@ class Configuration * * @var string */ - protected $userAgent = 'Swagger-Codegen/1.6.10/php'; + protected $userAgent = 'Swagger-Codegen/1.6.11/php'; /** * Debug switch (default set to false) @@ -291,7 +291,7 @@ public static function toDebugReport() $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' OpenAPI Spec Version: 1.0.0' . PHP_EOL; - $report .= ' SDK Package Version: 1.6.10' . PHP_EOL; + $report .= ' SDK Package Version: 1.6.11' . PHP_EOL; $report .= ' Sandbox Temp Folder Path: ' . self::sandbox()->getTempFolderPath() . PHP_EOL; $report .= ' Production Temp Folder Path: ' . self::production()->getTempFolderPath() . PHP_EOL; diff --git a/Splitit/HeaderSelector.php b/Splitit/HeaderSelector.php index a3ef3c1..b5b20ef 100644 --- a/Splitit/HeaderSelector.php +++ b/Splitit/HeaderSelector.php @@ -56,7 +56,7 @@ public function selectHeaders($accept, $contentTypes) } $headers['Content-Type'] = $this->selectContentTypeHeader($contentTypes); - $headers['Splitit-SDK'] = "PHP-1.6.10"; + $headers['Splitit-SDK'] = "PHP-1.6.11"; return $headers; } diff --git a/Splitit/Model/InstallmentPlan.php b/Splitit/Model/InstallmentPlan.php index dadd574..e4de07f 100644 --- a/Splitit/Model/InstallmentPlan.php +++ b/Splitit/Model/InstallmentPlan.php @@ -88,7 +88,9 @@ class InstallmentPlan implements ModelInterface, ArrayAccess 'logo_url' => 'string', 'is_in_auto_retry' => 'bool', 'payment_method' => 'string', - 'allow_card_update_on_splitit_portals' => 'bool' + 'allow_card_update_on_splitit_portals' => 'bool', + 'on_hold_last_open_date' => '\DateTime', + 'on_hold_last_open_user_id' => 'string' ]; /** @@ -128,7 +130,9 @@ class InstallmentPlan implements ModelInterface, ArrayAccess 'logo_url' => null, 'is_in_auto_retry' => null, 'payment_method' => null, - 'allow_card_update_on_splitit_portals' => null + 'allow_card_update_on_splitit_portals' => null, + 'on_hold_last_open_date' => 'date-time', + 'on_hold_last_open_user_id' => null ]; /** @@ -189,7 +193,9 @@ public static function swaggerFormats() 'logo_url' => 'LogoUrl', 'is_in_auto_retry' => 'IsInAutoRetry', 'payment_method' => 'PaymentMethod', - 'allow_card_update_on_splitit_portals' => 'AllowCardUpdateOnSplititPortals' + 'allow_card_update_on_splitit_portals' => 'AllowCardUpdateOnSplititPortals', + 'on_hold_last_open_date' => 'OnHoldLastOpenDate', + 'on_hold_last_open_user_id' => 'OnHoldLastOpenUserId' ]; /** @@ -229,7 +235,9 @@ public static function swaggerFormats() 'logo_url' => 'setLogoUrl', 'is_in_auto_retry' => 'setIsInAutoRetry', 'payment_method' => 'setPaymentMethod', - 'allow_card_update_on_splitit_portals' => 'setAllowCardUpdateOnSplititPortals' + 'allow_card_update_on_splitit_portals' => 'setAllowCardUpdateOnSplititPortals', + 'on_hold_last_open_date' => 'setOnHoldLastOpenDate', + 'on_hold_last_open_user_id' => 'setOnHoldLastOpenUserId' ]; /** @@ -269,7 +277,9 @@ public static function swaggerFormats() 'logo_url' => 'getLogoUrl', 'is_in_auto_retry' => 'getIsInAutoRetry', 'payment_method' => 'getPaymentMethod', - 'allow_card_update_on_splitit_portals' => 'getAllowCardUpdateOnSplititPortals' + 'allow_card_update_on_splitit_portals' => 'getAllowCardUpdateOnSplititPortals', + 'on_hold_last_open_date' => 'getOnHoldLastOpenDate', + 'on_hold_last_open_user_id' => 'getOnHoldLastOpenUserId' ]; /** @@ -364,6 +374,8 @@ public function __construct(array $data = null) $this->container['is_in_auto_retry'] = isset($data['is_in_auto_retry']) ? $data['is_in_auto_retry'] : null; $this->container['payment_method'] = isset($data['payment_method']) ? $data['payment_method'] : null; $this->container['allow_card_update_on_splitit_portals'] = isset($data['allow_card_update_on_splitit_portals']) ? $data['allow_card_update_on_splitit_portals'] : null; + $this->container['on_hold_last_open_date'] = isset($data['on_hold_last_open_date']) ? $data['on_hold_last_open_date'] : null; + $this->container['on_hold_last_open_user_id'] = isset($data['on_hold_last_open_user_id']) ? $data['on_hold_last_open_user_id'] : null; } /** @@ -1193,6 +1205,54 @@ public function setAllowCardUpdateOnSplititPortals($allow_card_update_on_splitit return $this; } + + /** + * Gets on_hold_last_open_date + * + * @return \DateTime + */ + public function getOnHoldLastOpenDate() + { + return $this->container['on_hold_last_open_date']; + } + + /** + * Sets on_hold_last_open_date + * + * @param \DateTime $on_hold_last_open_date on_hold_last_open_date + * + * @return $this + */ + public function setOnHoldLastOpenDate($on_hold_last_open_date) + { + $this->container['on_hold_last_open_date'] = $on_hold_last_open_date; + + return $this; + } + + /** + * Gets on_hold_last_open_user_id + * + * @return string + */ + public function getOnHoldLastOpenUserId() + { + return $this->container['on_hold_last_open_user_id']; + } + + /** + * Sets on_hold_last_open_user_id + * + * @param string $on_hold_last_open_user_id on_hold_last_open_user_id + * + * @return $this + */ + public function setOnHoldLastOpenUserId($on_hold_last_open_user_id) + { + $this->container['on_hold_last_open_user_id'] = $on_hold_last_open_user_id; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/Splitit/Model/InstallmentPlanQueryCriteria.php b/Splitit/Model/InstallmentPlanQueryCriteria.php index e1ee166..2269815 100644 --- a/Splitit/Model/InstallmentPlanQueryCriteria.php +++ b/Splitit/Model/InstallmentPlanQueryCriteria.php @@ -59,6 +59,7 @@ class InstallmentPlanQueryCriteria implements ModelInterface, ArrayAccess protected static $swaggerTypes = [ 'merchant_id' => 'int', 'currency_id' => 'int', + 'business_unit_ids' => 'int[]', 'installment_plan_id' => 'int', 'installment_plan_number' => 'string', 'ref_order_number' => 'string', @@ -70,9 +71,10 @@ class InstallmentPlanQueryCriteria implements ModelInterface, ArrayAccess 'pis_member_id' => 'int', 'any_filter' => 'string', 'eula' => 'bool', + 'are_payments_on_hold' => 'bool', 'show_chargeback_plans' => 'bool', 'is_in_auto_retry' => 'bool', - 'strategy' => '\SplititSdkClient\Model\PlanStrategy', + 'strategies' => '\SplititSdkClient\Model\PlanStrategy[]', 'initiated_statuses' => '\SplititSdkClient\Model\InstallmentPlanInitiatedStatuses', 'fraud_check_result' => '\SplititSdkClient\Model\FraudCheckResult', 'installments_plan_statuses' => '\SplititSdkClient\Model\InstallmentPlanStatus[]', @@ -90,6 +92,7 @@ class InstallmentPlanQueryCriteria implements ModelInterface, ArrayAccess protected static $swaggerFormats = [ 'merchant_id' => 'int64', 'currency_id' => 'int64', + 'business_unit_ids' => 'int64', 'installment_plan_id' => 'int64', 'installment_plan_number' => null, 'ref_order_number' => null, @@ -101,9 +104,10 @@ class InstallmentPlanQueryCriteria implements ModelInterface, ArrayAccess 'pis_member_id' => 'int64', 'any_filter' => null, 'eula' => null, + 'are_payments_on_hold' => null, 'show_chargeback_plans' => null, 'is_in_auto_retry' => null, - 'strategy' => null, + 'strategies' => null, 'initiated_statuses' => null, 'fraud_check_result' => null, 'installments_plan_statuses' => null, @@ -142,6 +146,7 @@ public static function swaggerFormats() protected static $attributeMap = [ 'merchant_id' => 'MerchantId', 'currency_id' => 'CurrencyId', + 'business_unit_ids' => 'BusinessUnitIds', 'installment_plan_id' => 'InstallmentPlanId', 'installment_plan_number' => 'InstallmentPlanNumber', 'ref_order_number' => 'RefOrderNumber', @@ -153,9 +158,10 @@ public static function swaggerFormats() 'pis_member_id' => 'PisMemberId', 'any_filter' => 'AnyFilter', 'eula' => 'Eula', + 'are_payments_on_hold' => 'ArePaymentsOnHold', 'show_chargeback_plans' => 'ShowChargebackPlans', 'is_in_auto_retry' => 'IsInAutoRetry', - 'strategy' => 'Strategy', + 'strategies' => 'Strategies', 'initiated_statuses' => 'InitiatedStatuses', 'fraud_check_result' => 'FraudCheckResult', 'installments_plan_statuses' => 'InstallmentsPlanStatuses', @@ -173,6 +179,7 @@ public static function swaggerFormats() protected static $setters = [ 'merchant_id' => 'setMerchantId', 'currency_id' => 'setCurrencyId', + 'business_unit_ids' => 'setBusinessUnitIds', 'installment_plan_id' => 'setInstallmentPlanId', 'installment_plan_number' => 'setInstallmentPlanNumber', 'ref_order_number' => 'setRefOrderNumber', @@ -184,9 +191,10 @@ public static function swaggerFormats() 'pis_member_id' => 'setPisMemberId', 'any_filter' => 'setAnyFilter', 'eula' => 'setEula', + 'are_payments_on_hold' => 'setArePaymentsOnHold', 'show_chargeback_plans' => 'setShowChargebackPlans', 'is_in_auto_retry' => 'setIsInAutoRetry', - 'strategy' => 'setStrategy', + 'strategies' => 'setStrategies', 'initiated_statuses' => 'setInitiatedStatuses', 'fraud_check_result' => 'setFraudCheckResult', 'installments_plan_statuses' => 'setInstallmentsPlanStatuses', @@ -204,6 +212,7 @@ public static function swaggerFormats() protected static $getters = [ 'merchant_id' => 'getMerchantId', 'currency_id' => 'getCurrencyId', + 'business_unit_ids' => 'getBusinessUnitIds', 'installment_plan_id' => 'getInstallmentPlanId', 'installment_plan_number' => 'getInstallmentPlanNumber', 'ref_order_number' => 'getRefOrderNumber', @@ -215,9 +224,10 @@ public static function swaggerFormats() 'pis_member_id' => 'getPisMemberId', 'any_filter' => 'getAnyFilter', 'eula' => 'getEula', + 'are_payments_on_hold' => 'getArePaymentsOnHold', 'show_chargeback_plans' => 'getShowChargebackPlans', 'is_in_auto_retry' => 'getIsInAutoRetry', - 'strategy' => 'getStrategy', + 'strategies' => 'getStrategies', 'initiated_statuses' => 'getInitiatedStatuses', 'fraud_check_result' => 'getFraudCheckResult', 'installments_plan_statuses' => 'getInstallmentsPlanStatuses', @@ -289,6 +299,7 @@ public function __construct(array $data = null) { $this->container['merchant_id'] = isset($data['merchant_id']) ? $data['merchant_id'] : null; $this->container['currency_id'] = isset($data['currency_id']) ? $data['currency_id'] : null; + $this->container['business_unit_ids'] = isset($data['business_unit_ids']) ? $data['business_unit_ids'] : null; $this->container['installment_plan_id'] = isset($data['installment_plan_id']) ? $data['installment_plan_id'] : null; $this->container['installment_plan_number'] = isset($data['installment_plan_number']) ? $data['installment_plan_number'] : null; $this->container['ref_order_number'] = isset($data['ref_order_number']) ? $data['ref_order_number'] : null; @@ -300,9 +311,10 @@ public function __construct(array $data = null) $this->container['pis_member_id'] = isset($data['pis_member_id']) ? $data['pis_member_id'] : null; $this->container['any_filter'] = isset($data['any_filter']) ? $data['any_filter'] : null; $this->container['eula'] = isset($data['eula']) ? $data['eula'] : null; + $this->container['are_payments_on_hold'] = isset($data['are_payments_on_hold']) ? $data['are_payments_on_hold'] : null; $this->container['show_chargeback_plans'] = isset($data['show_chargeback_plans']) ? $data['show_chargeback_plans'] : null; $this->container['is_in_auto_retry'] = isset($data['is_in_auto_retry']) ? $data['is_in_auto_retry'] : null; - $this->container['strategy'] = isset($data['strategy']) ? $data['strategy'] : null; + $this->container['strategies'] = isset($data['strategies']) ? $data['strategies'] : null; $this->container['initiated_statuses'] = isset($data['initiated_statuses']) ? $data['initiated_statuses'] : null; $this->container['fraud_check_result'] = isset($data['fraud_check_result']) ? $data['fraud_check_result'] : null; $this->container['installments_plan_statuses'] = isset($data['installments_plan_statuses']) ? $data['installments_plan_statuses'] : null; @@ -405,6 +417,30 @@ public function setCurrencyId($currency_id) return $this; } + /** + * Gets business_unit_ids + * + * @return int[] + */ + public function getBusinessUnitIds() + { + return $this->container['business_unit_ids']; + } + + /** + * Sets business_unit_ids + * + * @param int[] $business_unit_ids business_unit_ids + * + * @return $this + */ + public function setBusinessUnitIds($business_unit_ids) + { + $this->container['business_unit_ids'] = $business_unit_ids; + + return $this; + } + /** * Gets installment_plan_id * @@ -669,6 +705,30 @@ public function setEula($eula) return $this; } + /** + * Gets are_payments_on_hold + * + * @return bool + */ + public function getArePaymentsOnHold() + { + return $this->container['are_payments_on_hold']; + } + + /** + * Sets are_payments_on_hold + * + * @param bool $are_payments_on_hold are_payments_on_hold + * + * @return $this + */ + public function setArePaymentsOnHold($are_payments_on_hold) + { + $this->container['are_payments_on_hold'] = $are_payments_on_hold; + + return $this; + } + /** * Gets show_chargeback_plans * @@ -718,25 +778,25 @@ public function setIsInAutoRetry($is_in_auto_retry) } /** - * Gets strategy + * Gets strategies * - * @return \SplititSdkClient\Model\PlanStrategy + * @return \SplititSdkClient\Model\PlanStrategy[] */ - public function getStrategy() + public function getStrategies() { - return $this->container['strategy']; + return $this->container['strategies']; } /** - * Sets strategy + * Sets strategies * - * @param \SplititSdkClient\Model\PlanStrategy $strategy strategy + * @param \SplititSdkClient\Model\PlanStrategy[] $strategies strategies * * @return $this */ - public function setStrategy($strategy) + public function setStrategies($strategies) { - $this->container['strategy'] = $strategy; + $this->container['strategies'] = $strategies; return $this; } diff --git a/Splitit/Model/LearnMoreDetailsRequest.php b/Splitit/Model/LearnMoreDetailsRequest.php index ed7df5c..2aba12d 100644 --- a/Splitit/Model/LearnMoreDetailsRequest.php +++ b/Splitit/Model/LearnMoreDetailsRequest.php @@ -58,7 +58,8 @@ class LearnMoreDetailsRequest implements ModelInterface, ArrayAccess */ protected static $swaggerTypes = [ 'amount' => '\SplititSdkClient\Model\MoneyWithCurrencyCode', - 'number_of_installments' => 'int' + 'number_of_installments' => 'int', + 'installment_plan_number' => 'string' ]; /** @@ -68,7 +69,8 @@ class LearnMoreDetailsRequest implements ModelInterface, ArrayAccess */ protected static $swaggerFormats = [ 'amount' => null, - 'number_of_installments' => 'int32' + 'number_of_installments' => 'int32', + 'installment_plan_number' => null ]; /** @@ -99,7 +101,8 @@ public static function swaggerFormats() */ protected static $attributeMap = [ 'amount' => 'Amount', - 'number_of_installments' => 'NumberOfInstallments' + 'number_of_installments' => 'NumberOfInstallments', + 'installment_plan_number' => 'InstallmentPlanNumber' ]; /** @@ -109,7 +112,8 @@ public static function swaggerFormats() */ protected static $setters = [ 'amount' => 'setAmount', - 'number_of_installments' => 'setNumberOfInstallments' + 'number_of_installments' => 'setNumberOfInstallments', + 'installment_plan_number' => 'setInstallmentPlanNumber' ]; /** @@ -119,7 +123,8 @@ public static function swaggerFormats() */ protected static $getters = [ 'amount' => 'getAmount', - 'number_of_installments' => 'getNumberOfInstallments' + 'number_of_installments' => 'getNumberOfInstallments', + 'installment_plan_number' => 'getInstallmentPlanNumber' ]; /** @@ -184,6 +189,7 @@ public function __construct(array $data = null) { $this->container['amount'] = isset($data['amount']) ? $data['amount'] : null; $this->container['number_of_installments'] = isset($data['number_of_installments']) ? $data['number_of_installments'] : null; + $this->container['installment_plan_number'] = isset($data['installment_plan_number']) ? $data['installment_plan_number'] : null; } /** @@ -257,6 +263,30 @@ public function setNumberOfInstallments($number_of_installments) return $this; } + + /** + * Gets installment_plan_number + * + * @return string + */ + public function getInstallmentPlanNumber() + { + return $this->container['installment_plan_number']; + } + + /** + * Sets installment_plan_number + * + * @param string $installment_plan_number installment_plan_number + * + * @return $this + */ + public function setInstallmentPlanNumber($installment_plan_number) + { + $this->container['installment_plan_number'] = $installment_plan_number; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/Splitit/Model/PlanStrategy.php b/Splitit/Model/PlanStrategy.php index 9e0c75a..9317824 100644 --- a/Splitit/Model/PlanStrategy.php +++ b/Splitit/Model/PlanStrategy.php @@ -53,6 +53,7 @@ class PlanStrategy const SECURED_PLAN3_A = 'SecuredPlan3A'; const SECURED_PLAN3_B = 'SecuredPlan3B'; const SECURED_PLAN2_A = 'SecuredPlan2A'; + const SECURED_PLAN2 = 'SecuredPlan2'; /** * Gets allowable values of the enum @@ -70,6 +71,7 @@ public static function getAllowableEnumValues() self::SECURED_PLAN3_A, self::SECURED_PLAN3_B, self::SECURED_PLAN2_A, + self::SECURED_PLAN2, ]; } } diff --git a/Splitit/Model/RelationsLoad.php b/Splitit/Model/RelationsLoad.php index 49e62d1..8c9b359 100644 --- a/Splitit/Model/RelationsLoad.php +++ b/Splitit/Model/RelationsLoad.php @@ -58,7 +58,8 @@ class RelationsLoad implements ModelInterface, ArrayAccess */ protected static $swaggerTypes = [ 'installments' => '\SplititSdkClient\Model\InstallmentPlanActivityStatus', - 'secure_authorizations' => '\SplititSdkClient\Model\InstallmentPlanActivityStatus' + 'secure_authorizations' => '\SplititSdkClient\Model\InstallmentPlanActivityStatus', + 'disputes' => 'bool' ]; /** @@ -68,7 +69,8 @@ class RelationsLoad implements ModelInterface, ArrayAccess */ protected static $swaggerFormats = [ 'installments' => null, - 'secure_authorizations' => null + 'secure_authorizations' => null, + 'disputes' => null ]; /** @@ -99,7 +101,8 @@ public static function swaggerFormats() */ protected static $attributeMap = [ 'installments' => 'Installments', - 'secure_authorizations' => 'SecureAuthorizations' + 'secure_authorizations' => 'SecureAuthorizations', + 'disputes' => 'Disputes' ]; /** @@ -109,7 +112,8 @@ public static function swaggerFormats() */ protected static $setters = [ 'installments' => 'setInstallments', - 'secure_authorizations' => 'setSecureAuthorizations' + 'secure_authorizations' => 'setSecureAuthorizations', + 'disputes' => 'setDisputes' ]; /** @@ -119,7 +123,8 @@ public static function swaggerFormats() */ protected static $getters = [ 'installments' => 'getInstallments', - 'secure_authorizations' => 'getSecureAuthorizations' + 'secure_authorizations' => 'getSecureAuthorizations', + 'disputes' => 'getDisputes' ]; /** @@ -184,6 +189,7 @@ public function __construct(array $data = null) { $this->container['installments'] = isset($data['installments']) ? $data['installments'] : null; $this->container['secure_authorizations'] = isset($data['secure_authorizations']) ? $data['secure_authorizations'] : null; + $this->container['disputes'] = isset($data['disputes']) ? $data['disputes'] : null; } /** @@ -201,6 +207,9 @@ public function listInvalidProperties() if ($this->container['secure_authorizations'] === null) { $invalidProperties[] = "'secure_authorizations' can't be null"; } + if ($this->container['disputes'] === null) { + $invalidProperties[] = "'disputes' can't be null"; + } return $invalidProperties; } @@ -263,6 +272,30 @@ public function setSecureAuthorizations($secure_authorizations) return $this; } + + /** + * Gets disputes + * + * @return bool + */ + public function getDisputes() + { + return $this->container['disputes']; + } + + /** + * Sets disputes + * + * @param bool $disputes disputes + * + * @return $this + */ + public function setDisputes($disputes) + { + $this->container['disputes'] = $disputes; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/composer.json b/composer.json index fd005d8..177845f 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "splitit/sdk", - "version": "1.6.10", + "version": "1.6.11", "description": "Splitit Web API SDK for PHP", "keywords": [ "splitit", @@ -20,7 +20,7 @@ "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", - "guzzlehttp/guzzle": "^6.2" + "guzzlehttp/guzzle": "^6.2|^7.4" }, "require-dev": { "phpunit/phpunit": "^4.8", diff --git a/docs/Api/InfrastructureApi.md b/docs/Api/InfrastructureApi.md index c372aee..7680764 100644 --- a/docs/Api/InfrastructureApi.md +++ b/docs/Api/InfrastructureApi.md @@ -4,12 +4,12 @@ All URIs are relative to *https://webapi.production.splitit.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**infrastructureGetResources**](InfrastructureApi.md#infrastructureGetResources) | **POST** /api/Infrastructure/GetResources | -[**infrastructureGetResources2**](InfrastructureApi.md#infrastructureGetResources2) | **GET** /api/Infrastructure/GetResources | +[**infrastructureGetResourcesGET**](InfrastructureApi.md#infrastructureGetResourcesGET) | **GET** /api/Infrastructure/GetResources | +[**infrastructureGetResourcesPOST**](InfrastructureApi.md#infrastructureGetResourcesPOST) | **POST** /api/Infrastructure/GetResources | -# **infrastructureGetResources** -> \SplititSdkClient\Model\GetResourcesResponse infrastructureGetResources($request) +# **infrastructureGetResourcesGET** +> \SplititSdkClient\Model\GetResourcesResponse infrastructureGetResourcesGET($api_key, $session_id, $merchant_code, $culture_name, $touch_point_code, $system_text_categories) @@ -24,13 +24,18 @@ $apiInstance = new SplititSdkClient\Api\InfrastructureApi( $session_id ); -$request = new \SplititSdkClient\Model\GetResourcesRequest(); // \SplititSdkClient\Model\GetResourcesRequest | +$api_key = "api_key_example"; // string | +$session_id = "session_id_example"; // string | +$merchant_code = "merchant_code_example"; // string | +$culture_name = "culture_name_example"; // string | +$touch_point_code = "touch_point_code_example"; // string | +$system_text_categories = array(new \SplititSdkClient\Model\\SplititSdkClient\Model\SystemTextCategory()); // \SplititSdkClient\Model\SystemTextCategory[] | try { - $result = $apiInstance->infrastructureGetResources($request); + $result = $apiInstance->infrastructureGetResourcesGET($api_key, $session_id, $merchant_code, $culture_name, $touch_point_code, $system_text_categories); print_r($result); } catch (Exception $e) { - echo 'Exception when calling InfrastructureApi->infrastructureGetResources: ', $e->getMessage(), PHP_EOL; + echo 'Exception when calling InfrastructureApi->infrastructureGetResourcesGET: ', $e->getMessage(), PHP_EOL; } ?> ``` @@ -39,7 +44,12 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **request** | [**\SplititSdkClient\Model\GetResourcesRequest**](../Model/GetResourcesRequest.md)| | + **api_key** | **string**| | [optional] + **session_id** | **string**| | [optional] + **merchant_code** | **string**| | [optional] + **culture_name** | **string**| | [optional] + **touch_point_code** | **string**| | [optional] + **system_text_categories** | [**\SplititSdkClient\Model\SystemTextCategory[]**](../Model/\SplititSdkClient\Model\SystemTextCategory.md)| | [optional] ### Return type @@ -51,13 +61,13 @@ Use session_id received from LoginApi and pass it to InfrastructureApi construct ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/json, text/json, application/_*+json + - **Content-Type**: Not defined - **Accept**: text/plain, application/json, text/json [[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) -# **infrastructureGetResources2** -> \SplititSdkClient\Model\GetResourcesResponse infrastructureGetResources2($api_key, $session_id, $merchant_code, $culture_name, $touch_point_code, $system_text_categories) +# **infrastructureGetResourcesPOST** +> \SplititSdkClient\Model\GetResourcesResponse infrastructureGetResourcesPOST($request) @@ -72,18 +82,13 @@ $apiInstance = new SplititSdkClient\Api\InfrastructureApi( $session_id ); -$api_key = "api_key_example"; // string | -$session_id = "session_id_example"; // string | -$merchant_code = "merchant_code_example"; // string | -$culture_name = "culture_name_example"; // string | -$touch_point_code = "touch_point_code_example"; // string | -$system_text_categories = array(new \SplititSdkClient\Model\\SplititSdkClient\Model\SystemTextCategory()); // \SplititSdkClient\Model\SystemTextCategory[] | +$request = new \SplititSdkClient\Model\GetResourcesRequest(); // \SplititSdkClient\Model\GetResourcesRequest | try { - $result = $apiInstance->infrastructureGetResources2($api_key, $session_id, $merchant_code, $culture_name, $touch_point_code, $system_text_categories); + $result = $apiInstance->infrastructureGetResourcesPOST($request); print_r($result); } catch (Exception $e) { - echo 'Exception when calling InfrastructureApi->infrastructureGetResources2: ', $e->getMessage(), PHP_EOL; + echo 'Exception when calling InfrastructureApi->infrastructureGetResourcesPOST: ', $e->getMessage(), PHP_EOL; } ?> ``` @@ -92,12 +97,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **api_key** | **string**| | [optional] - **session_id** | **string**| | [optional] - **merchant_code** | **string**| | [optional] - **culture_name** | **string**| | [optional] - **touch_point_code** | **string**| | [optional] - **system_text_categories** | [**\SplititSdkClient\Model\SystemTextCategory[]**](../Model/\SplititSdkClient\Model\SystemTextCategory.md)| | [optional] + **request** | [**\SplititSdkClient\Model\GetResourcesRequest**](../Model/GetResourcesRequest.md)| | ### Return type @@ -109,7 +109,7 @@ Use session_id received from LoginApi and pass it to InfrastructureApi construct ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json-patch+json, application/json, text/json, application/_*+json - **Accept**: text/plain, application/json, text/json [[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) diff --git a/docs/Model/InstallmentPlan.md b/docs/Model/InstallmentPlan.md index ff7379c..5ee6ec0 100644 --- a/docs/Model/InstallmentPlan.md +++ b/docs/Model/InstallmentPlan.md @@ -35,6 +35,8 @@ Name | Type | Description | Notes **is_in_auto_retry** | **bool** | | **payment_method** | **string** | | [optional] **allow_card_update_on_splitit_portals** | **bool** | | +**on_hold_last_open_date** | [**\DateTime**](\DateTime.md) | | [optional] +**on_hold_last_open_user_id** | **string** | | [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/InstallmentPlanQueryCriteria.md b/docs/Model/InstallmentPlanQueryCriteria.md index bd79754..d84d78a 100644 --- a/docs/Model/InstallmentPlanQueryCriteria.md +++ b/docs/Model/InstallmentPlanQueryCriteria.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **merchant_id** | **int** | | **currency_id** | **int** | | +**business_unit_ids** | **int[]** | | [optional] **installment_plan_id** | **int** | | **installment_plan_number** | **string** | | [optional] **ref_order_number** | **string** | | [optional] @@ -16,9 +17,10 @@ Name | Type | Description | Notes **pis_member_id** | **int** | | **any_filter** | **string** | | [optional] **eula** | **bool** | | +**are_payments_on_hold** | **bool** | | [optional] **show_chargeback_plans** | **bool** | | **is_in_auto_retry** | **bool** | | [optional] -**strategy** | [**\SplititSdkClient\Model\PlanStrategy**](PlanStrategy.md) | | [optional] +**strategies** | [**\SplititSdkClient\Model\PlanStrategy[]**](PlanStrategy.md) | | [optional] **initiated_statuses** | [**\SplititSdkClient\Model\InstallmentPlanInitiatedStatuses**](InstallmentPlanInitiatedStatuses.md) | | [optional] **fraud_check_result** | [**\SplititSdkClient\Model\FraudCheckResult**](FraudCheckResult.md) | | [optional] **installments_plan_statuses** | [**\SplititSdkClient\Model\InstallmentPlanStatus[]**](InstallmentPlanStatus.md) | | [optional] diff --git a/docs/Model/LearnMoreDetailsRequest.md b/docs/Model/LearnMoreDetailsRequest.md index bc540d6..551a49e 100644 --- a/docs/Model/LearnMoreDetailsRequest.md +++ b/docs/Model/LearnMoreDetailsRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **amount** | [**\SplititSdkClient\Model\MoneyWithCurrencyCode**](MoneyWithCurrencyCode.md) | | [optional] **number_of_installments** | **int** | | [optional] +**installment_plan_number** | **string** | | [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/RelationsLoad.md b/docs/Model/RelationsLoad.md index b9f9e9a..942be1c 100644 --- a/docs/Model/RelationsLoad.md +++ b/docs/Model/RelationsLoad.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **installments** | [**\SplititSdkClient\Model\InstallmentPlanActivityStatus**](InstallmentPlanActivityStatus.md) | | **secure_authorizations** | [**\SplititSdkClient\Model\InstallmentPlanActivityStatus**](InstallmentPlanActivityStatus.md) | | +**disputes** | **bool** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)