Skip to content

Commit a4e6126

Browse files
authored
Merge pull request #17 from CyberSource/mar2019rel
+ Adding new version of the SDK
2 parents 644cb93 + da93623 commit a4e6126

File tree

798 files changed

+67113
-6112
lines changed

Some content is hidden

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

798 files changed

+67113
-6112
lines changed

Api/CaptureApi.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,7 @@ public ApiResponse< PtsV2PaymentsCapturesPost201Response > CapturePaymentWithHtt
228228
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
229229

230230
// to determine the Accept header
231-
String[] localVarHttpHeaderAccepts = new String[] {
232-
"application/hal+json;charset=utf-8"
231+
String[] localVarHttpHeaderAccepts = new String[] {"application/hal+json;charset=utf-8"
233232
};
234233
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
235234
if (localVarHttpHeaderAccept != null)
@@ -294,7 +293,7 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2PaymentsCapturesPost20
294293
if (id == null)
295294
throw new ApiException(400, "Missing required parameter 'id' when calling CaptureApi->CapturePayment");
296295

297-
var localVarPath = "/pts/v2/payments/{id}/captures";
296+
var localVarPath = $"/pts/v2/payments/{id}/captures";
298297
var localVarPathParams = new Dictionary<String, String>();
299298
var localVarQueryParams = new Dictionary<String, String>();
300299
var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);
@@ -309,8 +308,7 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2PaymentsCapturesPost20
309308
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
310309

311310
// to determine the Accept header
312-
String[] localVarHttpHeaderAccepts = new String[] {
313-
"application/json;charset=utf-8"
311+
String[] localVarHttpHeaderAccepts = new String[] {"application/hal+json;charset=utf-8"
314312
};
315313
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
316314
if (localVarHttpHeaderAccept != null)
@@ -347,3 +345,4 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2PaymentsCapturesPost20
347345

348346
}
349347
}
348+

Api/ConversionDetailsApi.cs

Lines changed: 345 additions & 0 deletions
Large diffs are not rendered by default.

Api/CreditApi.cs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public ApiResponse< PtsV2CreditsPost201Response > CreateCreditWithHttpInfo (Crea
204204
if (createCreditRequest == null)
205205
throw new ApiException(400, "Missing required parameter 'createCreditRequest' when calling CreditApi->CreateCredit");
206206

207-
var localVarPath = "/pts/v2/credits";
207+
var localVarPath = $"/pts/v2/credits";
208208
var localVarPathParams = new Dictionary<String, String>();
209209
var localVarQueryParams = new Dictionary<String, String>();
210210
var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);
@@ -219,8 +219,7 @@ public ApiResponse< PtsV2CreditsPost201Response > CreateCreditWithHttpInfo (Crea
219219
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
220220

221221
// to determine the Accept header
222-
String[] localVarHttpHeaderAccepts = new String[] {
223-
"application/hal+json;charset=utf-8"
222+
String[] localVarHttpHeaderAccepts = new String[] {"application/hal+json;charset=utf-8"
224223
};
225224
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
226225
if (localVarHttpHeaderAccept != null)
@@ -279,7 +278,7 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2CreditsPost201Response
279278
if (createCreditRequest == null)
280279
throw new ApiException(400, "Missing required parameter 'createCreditRequest' when calling CreditApi->CreateCredit");
281280

282-
var localVarPath = "/pts/v2/credits/";
281+
var localVarPath = $"/pts/v2/credits";
283282
var localVarPathParams = new Dictionary<String, String>();
284283
var localVarQueryParams = new Dictionary<String, String>();
285284
var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);
@@ -294,8 +293,7 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2CreditsPost201Response
294293
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
295294

296295
// to determine the Accept header
297-
String[] localVarHttpHeaderAccepts = new String[] {
298-
"application/json;charset=utf-8"
296+
String[] localVarHttpHeaderAccepts = new String[] {"application/hal+json;charset=utf-8"
299297
};
300298
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
301299
if (localVarHttpHeaderAccept != null)
@@ -331,3 +329,4 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2CreditsPost201Response
331329

332330
}
333331
}
332+

Api/FlexTokenApi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public FlexV1TokensPost200Response Tokenize (TokenizeRequest tokenizeRequest = n
201201
public ApiResponse< FlexV1TokensPost200Response > TokenizeWithHttpInfo (TokenizeRequest tokenizeRequest = null)
202202
{
203203

204-
var localVarPath = "/flex/v1/tokens/";
204+
var localVarPath = $"/flex/v1/tokens/";
205205
var localVarPathParams = new Dictionary<String, String>();
206206
var localVarQueryParams = new Dictionary<String, String>();
207207
var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);
@@ -273,7 +273,7 @@ public async System.Threading.Tasks.Task<FlexV1TokensPost200Response> TokenizeAs
273273
public async System.Threading.Tasks.Task<ApiResponse<FlexV1TokensPost200Response>> TokenizeAsyncWithHttpInfo (TokenizeRequest tokenizeRequest = null)
274274
{
275275

276-
var localVarPath = "/flex/v1/tokens/";
276+
var localVarPath = $"/flex/v1/tokens/";
277277
var localVarPathParams = new Dictionary<String, String>();
278278
var localVarQueryParams = new Dictionary<String, String>();
279279
var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);

Api/InstrumentIdentifierApi.cs

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,7 @@ public ApiResponse<Object> TmsV1InstrumentidentifiersTokenIdDeleteWithHttpInfo (
323323
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
324324

325325
// to determine the Accept header
326-
String[] localVarHttpHeaderAccepts = new String[] {
327-
"application/hal+json;charset=utf-8"
326+
String[] localVarHttpHeaderAccepts = new String[] {"*/*"
328327
};
329328
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
330329
if (localVarHttpHeaderAccept != null)
@@ -381,7 +380,7 @@ public async System.Threading.Tasks.Task<ApiResponse<Object>> TmsV1Instrumentide
381380
if (tokenId == null)
382381
throw new ApiException(400, "Missing required parameter 'tokenId' when calling InstrumentIdentifierApi->TmsV1InstrumentidentifiersTokenIdDelete");
383382

384-
var localVarPath = "/tms/v1/instrumentidentifiers/{tokenId}";
383+
var localVarPath = $"/tms/v1/instrumentidentifiers/{tokenId}";
385384
var localVarPathParams = new Dictionary<String, String>();
386385
var localVarQueryParams = new Dictionary<String, String>();
387386
var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);
@@ -396,8 +395,7 @@ public async System.Threading.Tasks.Task<ApiResponse<Object>> TmsV1Instrumentide
396395
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
397396

398397
// to determine the Accept header
399-
String[] localVarHttpHeaderAccepts = new String[] {
400-
"application/json;charset=utf-8"
398+
String[] localVarHttpHeaderAccepts = new String[] {"*/*"
401399
};
402400
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
403401
if (localVarHttpHeaderAccept != null)
@@ -469,8 +467,7 @@ public ApiResponse< TmsV1InstrumentidentifiersPost200Response > TmsV1Instrumenti
469467
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
470468

471469
// to determine the Accept header
472-
String[] localVarHttpHeaderAccepts = new String[] {
473-
"application/hal+json;charset=utf-8"
470+
String[] localVarHttpHeaderAccepts = new String[] {"*/*"
474471
};
475472
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
476473
if (localVarHttpHeaderAccept != null)
@@ -528,7 +525,7 @@ public async System.Threading.Tasks.Task<ApiResponse<TmsV1InstrumentidentifiersP
528525
if (tokenId == null)
529526
throw new ApiException(400, "Missing required parameter 'tokenId' when calling InstrumentIdentifierApi->TmsV1InstrumentidentifiersTokenIdGet");
530527

531-
var localVarPath = "/tms/v1/instrumentidentifiers/{tokenId}";
528+
var localVarPath = $"/tms/v1/instrumentidentifiers/{tokenId}";
532529
var localVarPathParams = new Dictionary<String, String>();
533530
var localVarQueryParams = new Dictionary<String, String>();
534531
var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);
@@ -543,8 +540,7 @@ public async System.Threading.Tasks.Task<ApiResponse<TmsV1InstrumentidentifiersP
543540
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
544541

545542
// to determine the Accept header
546-
String[] localVarHttpHeaderAccepts = new String[] {
547-
"application/json;charset=utf-8"
543+
String[] localVarHttpHeaderAccepts = new String[] {"*/*"
548544
};
549545
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
550546
if (localVarHttpHeaderAccept != null)
@@ -621,8 +617,7 @@ public ApiResponse< TmsV1InstrumentidentifiersPost200Response > TmsV1Instrumenti
621617
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
622618

623619
// to determine the Accept header
624-
String[] localVarHttpHeaderAccepts = new String[] {
625-
"application/json;charset=utf-8"
620+
String[] localVarHttpHeaderAccepts = new String[] {"*/*"
626621
};
627622
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
628623
if (localVarHttpHeaderAccept != null)
@@ -693,7 +688,7 @@ public async System.Threading.Tasks.Task<ApiResponse<TmsV1InstrumentidentifiersP
693688
if (body == null)
694689
throw new ApiException(400, "Missing required parameter 'body' when calling InstrumentIdentifierApi->TmsV1InstrumentidentifiersTokenIdPatch");
695690

696-
var localVarPath = "/tms/v1/instrumentidentifiers/{tokenId}";
691+
var localVarPath = $"/tms/v1/instrumentidentifiers/{tokenId}";
697692
var localVarPathParams = new Dictionary<String, String>();
698693
var localVarQueryParams = new Dictionary<String, String>();
699694
var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);
@@ -708,8 +703,7 @@ public async System.Threading.Tasks.Task<ApiResponse<TmsV1InstrumentidentifiersP
708703
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
709704

710705
// to determine the Accept header
711-
String[] localVarHttpHeaderAccepts = new String[] {
712-
"application/json;charset=utf-8"
706+
String[] localVarHttpHeaderAccepts = new String[] {"*/*"
713707
};
714708
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
715709
if (localVarHttpHeaderAccept != null)
@@ -747,3 +741,4 @@ public async System.Threading.Tasks.Task<ApiResponse<TmsV1InstrumentidentifiersP
747741

748742
}
749743
}
744+

Api/InstrumentIdentifiersApi.cs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public ApiResponse< TmsV1InstrumentidentifiersPost200Response > TmsV1Instrumenti
213213
if (body == null)
214214
throw new ApiException(400, "Missing required parameter 'body' when calling InstrumentIdentifiersApi->TmsV1InstrumentidentifiersPost");
215215

216-
var localVarPath = "/tms/v1/instrumentidentifiers";
216+
var localVarPath = $"/tms/v1/instrumentidentifiers";
217217
var localVarPathParams = new Dictionary<String, String>();
218218
var localVarQueryParams = new Dictionary<String, String>();
219219
var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);
@@ -228,8 +228,7 @@ public ApiResponse< TmsV1InstrumentidentifiersPost200Response > TmsV1Instrumenti
228228
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
229229

230230
// to determine the Accept header
231-
String[] localVarHttpHeaderAccepts = new String[] {
232-
//"application/hal+json;charset=utf-8"
231+
String[] localVarHttpHeaderAccepts = new String[] {//"application/hal+json;charset=utf-8"
233232
};
234233
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
235234
if (localVarHttpHeaderAccept != null)
@@ -294,7 +293,7 @@ public async System.Threading.Tasks.Task<ApiResponse<TmsV1InstrumentidentifiersP
294293
if (body == null)
295294
throw new ApiException(400, "Missing required parameter 'body' when calling InstrumentIdentifiersApi->TmsV1InstrumentidentifiersPost");
296295

297-
var localVarPath = "/tms/v1/instrumentidentifiers";
296+
var localVarPath = $"/tms/v1/instrumentidentifiers";
298297
var localVarPathParams = new Dictionary<String, String>();
299298
var localVarQueryParams = new Dictionary<String, String>();
300299
var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);
@@ -309,8 +308,7 @@ public async System.Threading.Tasks.Task<ApiResponse<TmsV1InstrumentidentifiersP
309308
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
310309

311310
// to determine the Accept header
312-
String[] localVarHttpHeaderAccepts = new String[] {
313-
"application/json;charset=utf-8"
311+
String[] localVarHttpHeaderAccepts = new String[] {//"application/hal+json;charset=utf-8"
314312
};
315313
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
316314
if (localVarHttpHeaderAccept != null)
@@ -347,3 +345,4 @@ public async System.Threading.Tasks.Task<ApiResponse<TmsV1InstrumentidentifiersP
347345

348346
}
349347
}
348+

Api/KeyGenerationApi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public FlexV1KeysPost200Response GeneratePublicKey (GeneratePublicKeyRequest gen
201201
public ApiResponse< FlexV1KeysPost200Response > GeneratePublicKeyWithHttpInfo (GeneratePublicKeyRequest generatePublicKeyRequest = null)
202202
{
203203

204-
var localVarPath = "/flex/v1/keys/";
204+
var localVarPath = $"/flex/v1/keys/";
205205
var localVarPathParams = new Dictionary<String, String>();
206206
var localVarQueryParams = new Dictionary<String, String>();
207207
var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);
@@ -273,7 +273,7 @@ public async System.Threading.Tasks.Task<FlexV1KeysPost200Response> GeneratePubl
273273
public async System.Threading.Tasks.Task<ApiResponse<FlexV1KeysPost200Response>> GeneratePublicKeyAsyncWithHttpInfo (GeneratePublicKeyRequest generatePublicKeyRequest = null)
274274
{
275275

276-
var localVarPath = "/flex/v1/keys/";
276+
var localVarPath = $"/flex/v1/keys/";
277277
var localVarPathParams = new Dictionary<String, String>();
278278
var localVarQueryParams = new Dictionary<String, String>();
279279
var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);

0 commit comments

Comments
 (0)