Skip to content

Commit

Permalink
New Commit from Jenkins Build #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins committed Apr 3, 2022
1 parent 2462bbd commit f93ded7
Show file tree
Hide file tree
Showing 15 changed files with 360 additions and 169 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"
}
}
```
Expand Down Expand Up @@ -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 |
Expand Down
208 changes: 104 additions & 104 deletions Splitit/Api/InfrastructureApi.php

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Splitit/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion Splitit/HeaderSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
70 changes: 65 additions & 5 deletions Splitit/Model/InstallmentPlan.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'
];

/**
Expand Down Expand Up @@ -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
];

/**
Expand Down Expand Up @@ -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'
];

/**
Expand Down Expand Up @@ -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'
];

/**
Expand Down Expand Up @@ -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'
];

/**
Expand Down Expand Up @@ -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;
}

/**
Expand Down Expand Up @@ -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.
*
Expand Down
88 changes: 74 additions & 14 deletions Splitit/Model/InstallmentPlanQueryCriteria.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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[]',
Expand All @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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',
Expand All @@ -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',
Expand All @@ -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',
Expand All @@ -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',
Expand All @@ -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',
Expand All @@ -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',
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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
*
Expand Down Expand Up @@ -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
*
Expand Down Expand Up @@ -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;
}
Expand Down
Loading

0 comments on commit f93ded7

Please sign in to comment.