Skip to content

Commit 15e2182

Browse files
committed
+ Fixing issue with PaymentType.Method
1 parent 6c23302 commit 15e2182

22 files changed

+14
-1559
lines changed

docs/SearchTransactionsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ No authorization required
5656

5757
<a name="getSearch"></a>
5858
# **getSearch**
59-
> TssV2TransactionsPost201Response1 getSearch(searchId)
59+
> TssV2TransactionsPost201Response getSearch(searchId)
6060
6161
Get Search results
6262

@@ -89,7 +89,7 @@ Name | Type | Description | Notes
8989

9090
### Return type
9191

92-
[**TssV2TransactionsPost201Response1**](TssV2TransactionsPost201Response1.md)
92+
[**TssV2TransactionsPost201Response**](TssV2TransactionsPost201Response.md)
9393

9494
### Authorization
9595

docs/TssV2TransactionsPost201Response1.md

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

docs/TssV2TransactionsPost201Response1Embedded.md

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

docs/TssV2TransactionsPost201Response1EmbeddedPaymentInformation.md

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

docs/TssV2TransactionsPost201Response1EmbeddedPaymentInformationPaymentType.md

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

docs/TssV2TransactionsPost201Response1EmbeddedPaymentInformationPaymentTypeMethod.md

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

docs/TssV2TransactionsPost201Response1EmbeddedTransactionSummaries.md

Lines changed: 0 additions & 25 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
},

src/api/SearchTransactionsApi.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
(function(root, factory) {
1717
if (typeof define === 'function' && define.amd) {
1818
// AMD. Register as an anonymous module.
19-
define(['ApiClient', 'model/CreateSearchRequest', 'model/PtsV2PaymentsPost502Response', 'model/TssV2TransactionsPost201Response', 'model/TssV2TransactionsPost201Response1', 'model/TssV2TransactionsPost400Response'], factory);
19+
define(['ApiClient', 'model/CreateSearchRequest', 'model/PtsV2PaymentsPost502Response', 'model/TssV2TransactionsPost201Response', 'model/TssV2TransactionsPost400Response'], factory);
2020
} else if (typeof module === 'object' && module.exports) {
2121
// CommonJS-like environments that support module.exports, like Node.
22-
module.exports = factory(require('../ApiClient'), require('../model/CreateSearchRequest'), require('../model/PtsV2PaymentsPost502Response'), require('../model/TssV2TransactionsPost201Response'), require('../model/TssV2TransactionsPost201Response1'), require('../model/TssV2TransactionsPost400Response'));
22+
module.exports = factory(require('../ApiClient'), require('../model/CreateSearchRequest'), require('../model/PtsV2PaymentsPost502Response'), require('../model/TssV2TransactionsPost201Response'), require('../model/TssV2TransactionsPost400Response'));
2323
} else {
2424
// Browser globals (root is window)
2525
if (!root.CyberSource) {
2626
root.CyberSource = {};
2727
}
28-
root.CyberSource.SearchTransactionsApi = factory(root.CyberSource.ApiClient, root.CyberSource.CreateSearchRequest, root.CyberSource.PtsV2PaymentsPost502Response, root.CyberSource.TssV2TransactionsPost201Response, root.CyberSource.TssV2TransactionsPost201Response1, root.CyberSource.TssV2TransactionsPost400Response);
28+
root.CyberSource.SearchTransactionsApi = factory(root.CyberSource.ApiClient, root.CyberSource.CreateSearchRequest, root.CyberSource.PtsV2PaymentsPost502Response, root.CyberSource.TssV2TransactionsPost201Response, root.CyberSource.TssV2TransactionsPost400Response);
2929
}
30-
}(this, function(ApiClient, CreateSearchRequest, PtsV2PaymentsPost502Response, TssV2TransactionsPost201Response, TssV2TransactionsPost201Response1, TssV2TransactionsPost400Response) {
30+
}(this, function(ApiClient, CreateSearchRequest, PtsV2PaymentsPost502Response, TssV2TransactionsPost201Response, TssV2TransactionsPost400Response) {
3131
'use strict';
3232

3333
/**
@@ -98,7 +98,7 @@
9898
* Callback function to receive the result of the getSearch operation.
9999
* @callback module:api/SearchTransactionsApi~getSearchCallback
100100
* @param {String} error Error message, if any.
101-
* @param {module:model/TssV2TransactionsPost201Response1} data The data returned by the service call.
101+
* @param {module:model/TssV2TransactionsPost201Response} data The data returned by the service call.
102102
* @param {String} response The complete HTTP response.
103103
*/
104104

@@ -107,7 +107,7 @@
107107
* Include the Search ID in the GET request to retrieve the search results.
108108
* @param {String} searchId Search ID.
109109
* @param {module:api/SearchTransactionsApi~getSearchCallback} callback The callback function, accepting three arguments: error, data, response
110-
* data is of type: {@link module:model/TssV2TransactionsPost201Response1}
110+
* data is of type: {@link module:model/TssV2TransactionsPost201Response}
111111
*/
112112
this.getSearch = function(searchId, callback) {
113113
var postBody = null;
@@ -131,7 +131,7 @@
131131
var authNames = [];
132132
var contentTypes = ['application/json;charset=utf-8'];
133133
var accepts = ['*/*'];
134-
var returnType = TssV2TransactionsPost201Response1;
134+
var returnType = TssV2TransactionsPost201Response;
135135

136136
return this.apiClient.callApi(
137137
'/tss/v2/searches/{searchId}', 'GET',

src/index.js

Lines changed: 3 additions & 33 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)