Skip to content

Commit c558868

Browse files
authored
Merge pull request #1 from CyberSource/master
Bringing the fork to the latest commit
2 parents 72dfdab + bda3f0b commit c558868

File tree

2,038 files changed

+160717
-56957
lines changed

Some content is hidden

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

2,038 files changed

+160717
-56957
lines changed

Api/AuthenticationExemptionsApi.cs

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

Api/CaptureApi.cs

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* CyberSource Flex API
2+
* CyberSource Merged Spec
33
*
4-
* Simple PAN tokenization service
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
55
*
66
* OpenAPI spec version: 0.0.1
77
*
@@ -114,11 +114,7 @@ public CaptureApi(Configuration configuration = null)
114114

115115
ExceptionFactory = CyberSource.Client.Configuration.DefaultExceptionFactory;
116116

117-
// ensure API client has configuration ready
118-
if (Configuration.ApiClient.Configuration == null)
119-
{
120-
this.Configuration.ApiClient.Configuration = this.Configuration;
121-
}
117+
this.Configuration.ApiClient.Configuration = this.Configuration;
122118
}
123119

124120
/// <summary>
@@ -228,7 +224,8 @@ public ApiResponse< PtsV2PaymentsCapturesPost201Response > CapturePaymentWithHtt
228224
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
229225

230226
// to determine the Accept header
231-
String[] localVarHttpHeaderAccepts = new String[] {"application/hal+json;charset=utf-8"
227+
String[] localVarHttpHeaderAccepts = new String[] {
228+
"application/hal+json;charset=utf-8"
232229
};
233230
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
234231
if (localVarHttpHeaderAccept != null)
@@ -308,7 +305,8 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2PaymentsCapturesPost20
308305
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
309306

310307
// to determine the Accept header
311-
String[] localVarHttpHeaderAccepts = new String[] {"application/hal+json;charset=utf-8"
308+
String[] localVarHttpHeaderAccepts = new String[] {
309+
"application/hal+json;charset=utf-8"
312310
};
313311
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
314312
if (localVarHttpHeaderAccept != null)
@@ -345,4 +343,3 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2PaymentsCapturesPost20
345343

346344
}
347345
}
348-

Api/ConversionDetailsApi.cs

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

Api/CreditApi.cs

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* CyberSource Flex API
2+
* CyberSource Merged Spec
33
*
4-
* Simple PAN tokenization service
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
55
*
66
* OpenAPI spec version: 0.0.1
77
*
@@ -110,11 +110,7 @@ public CreditApi(Configuration configuration = null)
110110

111111
ExceptionFactory = CyberSource.Client.Configuration.DefaultExceptionFactory;
112112

113-
// ensure API client has configuration ready
114-
if (Configuration.ApiClient.Configuration == null)
115-
{
116-
this.Configuration.ApiClient.Configuration = this.Configuration;
117-
}
113+
this.Configuration.ApiClient.Configuration = this.Configuration;
118114
}
119115

120116
/// <summary>
@@ -219,7 +215,8 @@ public ApiResponse< PtsV2CreditsPost201Response > CreateCreditWithHttpInfo (Crea
219215
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
220216

221217
// to determine the Accept header
222-
String[] localVarHttpHeaderAccepts = new String[] {"application/hal+json;charset=utf-8"
218+
String[] localVarHttpHeaderAccepts = new String[] {
219+
"application/hal+json;charset=utf-8"
223220
};
224221
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
225222
if (localVarHttpHeaderAccept != null)
@@ -293,7 +290,8 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2CreditsPost201Response
293290
String localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
294291

295292
// to determine the Accept header
296-
String[] localVarHttpHeaderAccepts = new String[] {"application/hal+json;charset=utf-8"
293+
String[] localVarHttpHeaderAccepts = new String[] {
294+
"application/hal+json;charset=utf-8"
297295
};
298296
String localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
299297
if (localVarHttpHeaderAccept != null)
@@ -329,4 +327,3 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2CreditsPost201Response
329327

330328
}
331329
}
332-

Api/DecisionManagerApi.cs

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

0 commit comments

Comments
 (0)