Skip to content

Commit 16e54eb

Browse files
committed
+ Fixing issue with PaymentType.Method
1 parent 02ff727 commit 16e54eb

21 files changed

+9
-3336
lines changed

docs/Api/SearchTransactionsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ No authorization required
5454
[[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)
5555

5656
# **getSearch**
57-
> \CyberSource\Model\TssV2TransactionsPost201Response1 getSearch($searchId)
57+
> \CyberSource\Model\TssV2TransactionsPost201Response getSearch($searchId)
5858
5959
Get Search results
6060

@@ -85,7 +85,7 @@ Name | Type | Description | Notes
8585

8686
### Return type
8787

88-
[**\CyberSource\Model\TssV2TransactionsPost201Response1**](../Model/TssV2TransactionsPost201Response1.md)
88+
[**\CyberSource\Model\TssV2TransactionsPost201Response**](../Model/TssV2TransactionsPost201Response.md)
8989

9090
### Authorization
9191

docs/Model/TssV2TransactionsPost201Response1.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/Model/TssV2TransactionsPost201Response1Embedded.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

docs/Model/TssV2TransactionsPost201Response1EmbeddedPaymentInformation.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/Model/TssV2TransactionsPost201Response1EmbeddedPaymentInformationPaymentType.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/Model/TssV2TransactionsPost201Response1EmbeddedPaymentInformationPaymentTypeMethod.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/Model/TssV2TransactionsPost201Response1EmbeddedTransactionSummaries.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

generator/cybersource-rest-spec.json

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27571,25 +27571,8 @@
2757127571
"description": "A Payment Type is an agreed means for a payee to receive legal tender from a payer. The way one pays for a commercial financial transaction. Examples: Card, Bank Transfer, Digital, Direct Debit.\n"
2757227572
},
2757327573
"method": {
27574-
"type": "object",
27575-
"properties": {
27576-
"name": {
27577-
"type": "string",
27578-
"description": "A Payment Type is enabled through a Method. Examples: Visa, Master Card, ApplePay, iDeal\n"
27579-
},
27580-
"operator": {
27581-
"type": "string",
27582-
"description": "An operator of the Payment Type Method. Examples: Visa, PayPal, Google, Apple\n"
27583-
},
27584-
"schemeName": {
27585-
"type": "string",
27586-
"description": "A Payment Scheme is a formal, commercial relationship amongst payment ecosystem players (banks and merchants, typically, extended to include merchants payment service providers, banks processors, etc.), whereby the participants agree to an organizational, legal, and operational framework necessary for the functioning of the services these entities provide. Examples: Visa, Master Card, ApplePay, iDeal\n"
27587-
},
27588-
"schemeOperator": {
27589-
"type": "string",
27590-
"description": "Operator of the Scheme. Examples European Payment Council, Visa, Currence Ideal B.V\n"
27591-
}
27592-
}
27574+
"type": "string",
27575+
"description": "A Payment Type is enabled through a Method. Examples: Visa, Master Card, ApplePay, iDeal"
2759327576
}
2759427577
}
2759527578
},

lib/Api/SearchTransactionsApi.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function createSearchWithHttpInfo($createSearchRequest)
181181
*
182182
* @param string $searchId Search ID. (required)
183183
* @throws \CyberSource\ApiException on non-2xx response
184-
* @return array of \CyberSource\Model\TssV2TransactionsPost201Response1, HTTP status code, HTTP response headers (array of strings)
184+
* @return array of \CyberSource\Model\TssV2TransactionsPost201Response, HTTP status code, HTTP response headers (array of strings)
185185
*/
186186
public function getSearch($searchId)
187187
{
@@ -196,7 +196,7 @@ public function getSearch($searchId)
196196
*
197197
* @param string $searchId Search ID. (required)
198198
* @throws \CyberSource\ApiException on non-2xx response
199-
* @return array of \CyberSource\Model\TssV2TransactionsPost201Response1, HTTP status code, HTTP response headers (array of strings)
199+
* @return array of \CyberSource\Model\TssV2TransactionsPost201Response, HTTP status code, HTTP response headers (array of strings)
200200
*/
201201
public function getSearchWithHttpInfo($searchId)
202202
{
@@ -239,15 +239,15 @@ public function getSearchWithHttpInfo($searchId)
239239
$queryParams,
240240
$httpBody,
241241
$headerParams,
242-
'\CyberSource\Model\TssV2TransactionsPost201Response1',
242+
'\CyberSource\Model\TssV2TransactionsPost201Response',
243243
'/tss/v2/searches/{searchId}'
244244
);
245245

246-
return [$this->apiClient->getSerializer()->deserialize($response, '\CyberSource\Model\TssV2TransactionsPost201Response1', $httpHeader), $statusCode, $httpHeader];
246+
return [$this->apiClient->getSerializer()->deserialize($response, '\CyberSource\Model\TssV2TransactionsPost201Response', $httpHeader), $statusCode, $httpHeader];
247247
} catch (ApiException $e) {
248248
switch ($e->getCode()) {
249249
case 200:
250-
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\CyberSource\Model\TssV2TransactionsPost201Response1', $e->getResponseHeaders());
250+
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\CyberSource\Model\TssV2TransactionsPost201Response', $e->getResponseHeaders());
251251
$e->setResponseObject($data);
252252
break;
253253
}

0 commit comments

Comments
 (0)