Skip to content

Commit 28a8d0b

Browse files
committed
+ Fixing issue with PaymentType.Method
1 parent e0db314 commit 28a8d0b

File tree

446 files changed

+456
-475
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

446 files changed

+456
-475
lines changed

docs/SearchTransactionsApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ No authorization required
5555

5656
<a name="getSearch"></a>
5757
# **getSearch**
58-
> TssV2TransactionsPost201Response1 getSearch(searchId)
58+
> TssV2TransactionsPost201Response getSearch(searchId)
5959
6060
Get Search results
6161

@@ -71,7 +71,7 @@ Include the Search ID in the GET request to retrieve the search results.
7171
SearchTransactionsApi apiInstance = new SearchTransactionsApi();
7272
String searchId = "searchId_example"; // String | Search ID.
7373
try {
74-
TssV2TransactionsPost201Response1 result = apiInstance.getSearch(searchId);
74+
TssV2TransactionsPost201Response result = apiInstance.getSearch(searchId);
7575
System.out.println(result);
7676
} catch (ApiException e) {
7777
System.err.println("Exception when calling SearchTransactionsApi#getSearch");
@@ -87,7 +87,7 @@ Name | Type | Description | Notes
8787

8888
### Return type
8989

90-
[**TssV2TransactionsPost201Response1**](TssV2TransactionsPost201Response1.md)
90+
[**TssV2TransactionsPost201Response**](TssV2TransactionsPost201Response.md)
9191

9292
### Authorization
9393

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/main/java/Api/SearchTransactionsApi.java

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import Model.CreateSearchRequest;
3131
import Model.PtsV2PaymentsPost502Response;
3232
import Model.TssV2TransactionsPost201Response;
33-
import Model.TssV2TransactionsPost201Response1;
3433
import Model.TssV2TransactionsPost400Response;
3534

3635
import java.lang.reflect.Type;
@@ -250,24 +249,24 @@ private com.squareup.okhttp.Call getSearchValidateBeforeCall(String searchId, fi
250249
* Get Search results
251250
* Include the Search ID in the GET request to retrieve the search results.
252251
* @param searchId Search ID. (required)
253-
* @return TssV2TransactionsPost201Response1
252+
* @return TssV2TransactionsPost201Response
254253
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
255254
*/
256-
public TssV2TransactionsPost201Response1 getSearch(String searchId) throws ApiException {
257-
ApiResponse<TssV2TransactionsPost201Response1> resp = getSearchWithHttpInfo(searchId);
255+
public TssV2TransactionsPost201Response getSearch(String searchId) throws ApiException {
256+
ApiResponse<TssV2TransactionsPost201Response> resp = getSearchWithHttpInfo(searchId);
258257
return resp.getData();
259258
}
260259

261260
/**
262261
* Get Search results
263262
* Include the Search ID in the GET request to retrieve the search results.
264263
* @param searchId Search ID. (required)
265-
* @return ApiResponse&lt;TssV2TransactionsPost201Response1&gt;
264+
* @return ApiResponse&lt;TssV2TransactionsPost201Response&gt;
266265
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
267266
*/
268-
public ApiResponse<TssV2TransactionsPost201Response1> getSearchWithHttpInfo(String searchId) throws ApiException {
267+
public ApiResponse<TssV2TransactionsPost201Response> getSearchWithHttpInfo(String searchId) throws ApiException {
269268
com.squareup.okhttp.Call call = getSearchValidateBeforeCall(searchId, null, null);
270-
Type localVarReturnType = new TypeToken<TssV2TransactionsPost201Response1>(){}.getType();
269+
Type localVarReturnType = new TypeToken<TssV2TransactionsPost201Response>(){}.getType();
271270
return apiClient.execute(call, localVarReturnType);
272271
}
273272

@@ -279,7 +278,7 @@ public ApiResponse<TssV2TransactionsPost201Response1> getSearchWithHttpInfo(Stri
279278
* @return The request call
280279
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
281280
*/
282-
public com.squareup.okhttp.Call getSearchAsync(String searchId, final ApiCallback<TssV2TransactionsPost201Response1> callback) throws ApiException {
281+
public com.squareup.okhttp.Call getSearchAsync(String searchId, final ApiCallback<TssV2TransactionsPost201Response> callback) throws ApiException {
283282

284283
ProgressResponseBody.ProgressListener progressListener = null;
285284
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -301,7 +300,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
301300
}
302301

303302
com.squareup.okhttp.Call call = getSearchValidateBeforeCall(searchId, progressListener, progressRequestListener);
304-
Type localVarReturnType = new TypeToken<TssV2TransactionsPost201Response1>(){}.getType();
303+
Type localVarReturnType = new TypeToken<TssV2TransactionsPost201Response>(){}.getType();
305304
apiClient.executeAsync(call, localVarReturnType, callback);
306305
return call;
307306
}

src/main/java/Invokers/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import java.util.Map;
1717
import java.util.List;
1818

19-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-30T13:25:59.510+05:30")
19+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-08-01T12:55:52.826+05:30")
2020
public class ApiException extends Exception {
2121
private int code = 0;
2222
private Map<String, List<String>> responseHeaders = null;

src/main/java/Invokers/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package Invokers;
1515

16-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-30T13:25:59.510+05:30")
16+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-08-01T12:55:52.826+05:30")
1717
public class Configuration {
1818
private static ApiClient defaultApiClient = new ApiClient();
1919

src/main/java/Invokers/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package Invokers;
1515

16-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-30T13:25:59.510+05:30")
16+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-08-01T12:55:52.826+05:30")
1717
public class Pair {
1818
private String name = "";
1919
private String value = "";

src/main/java/Invokers/StringUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package Invokers;
1515

16-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-30T13:25:59.510+05:30")
16+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-08-01T12:55:52.826+05:30")
1717
public class StringUtil {
1818
/**
1919
* Check if the given array contains the given value (with case-insensitive comparison).

src/main/java/Invokers/auth/ApiKeyAuth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import java.util.Map;
1919
import java.util.List;
2020

21-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-30T13:25:59.510+05:30")
21+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-08-01T12:55:52.826+05:30")
2222
public class ApiKeyAuth implements Authentication {
2323
private final String location;
2424
private final String paramName;

src/main/java/Invokers/auth/OAuth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import java.util.Map;
1919
import java.util.List;
2020

21-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-30T13:25:59.510+05:30")
21+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-08-01T12:55:52.826+05:30")
2222
public class OAuth implements Authentication {
2323
private String accessToken;
2424

src/main/java/Model/AuthReversalRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/**
3232
* AuthReversalRequest
3333
*/
34-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-30T13:25:59.510+05:30")
34+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-08-01T12:55:52.826+05:30")
3535
public class AuthReversalRequest {
3636
@SerializedName("clientReferenceInformation")
3737
private Ptsv2paymentsidreversalsClientReferenceInformation clientReferenceInformation = null;

0 commit comments

Comments
 (0)