Skip to content

Commit 283154b

Browse files
authored
Merge pull request #26 from CyberSource/future
+ Adding dependencies to .nuspec file
2 parents e09077d + c4349fa commit 283154b

File tree

1,094 files changed

+50229
-38803
lines changed

Some content is hidden

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

1,094 files changed

+50229
-38803
lines changed

Api/CaptureApi.cs

Lines changed: 2 additions & 2 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
*

Api/ConversionDetailsApi.cs

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

Api/CreditApi.cs

Lines changed: 2 additions & 2 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
*

Api/InstrumentIdentifiersApi.cs renamed to Api/DecisionManagerApi.cs

Lines changed: 72 additions & 87 deletions
Large diffs are not rendered by default.

Api/InstrumentIdentifierApi.cs

Lines changed: 526 additions & 101 deletions
Large diffs are not rendered by default.

Api/KeyGenerationApi.cs

Lines changed: 26 additions & 20 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
*
@@ -31,9 +31,9 @@ public interface IKeyGenerationApi : IApiAccessor
3131
/// Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request. The key used to encrypt the card number on the cardholder’s device or browser is valid for 15 minutes and must be used to verify the signature in the response message. CyberSource recommends creating a new key for each order. Generating a key is an authenticated request initiated from your servers, prior to requesting to tokenize the card data from your customer’s device or browser.
3232
/// </remarks>
3333
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
34-
/// <param name="generatePublicKeyRequest"> (optional)</param>
34+
/// <param name="generatePublicKeyRequest"></param>
3535
/// <returns>FlexV1KeysPost200Response</returns>
36-
FlexV1KeysPost200Response GeneratePublicKey (GeneratePublicKeyRequest generatePublicKeyRequest = null);
36+
FlexV1KeysPost200Response GeneratePublicKey (GeneratePublicKeyRequest generatePublicKeyRequest);
3737

3838
/// <summary>
3939
/// Generate Key
@@ -42,9 +42,9 @@ public interface IKeyGenerationApi : IApiAccessor
4242
/// Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request. The key used to encrypt the card number on the cardholder’s device or browser is valid for 15 minutes and must be used to verify the signature in the response message. CyberSource recommends creating a new key for each order. Generating a key is an authenticated request initiated from your servers, prior to requesting to tokenize the card data from your customer’s device or browser.
4343
/// </remarks>
4444
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
45-
/// <param name="generatePublicKeyRequest"> (optional)</param>
45+
/// <param name="generatePublicKeyRequest"></param>
4646
/// <returns>ApiResponse of FlexV1KeysPost200Response</returns>
47-
ApiResponse<FlexV1KeysPost200Response> GeneratePublicKeyWithHttpInfo (GeneratePublicKeyRequest generatePublicKeyRequest = null);
47+
ApiResponse<FlexV1KeysPost200Response> GeneratePublicKeyWithHttpInfo (GeneratePublicKeyRequest generatePublicKeyRequest);
4848
#endregion Synchronous Operations
4949
#region Asynchronous Operations
5050
/// <summary>
@@ -54,9 +54,9 @@ public interface IKeyGenerationApi : IApiAccessor
5454
/// Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request. The key used to encrypt the card number on the cardholder’s device or browser is valid for 15 minutes and must be used to verify the signature in the response message. CyberSource recommends creating a new key for each order. Generating a key is an authenticated request initiated from your servers, prior to requesting to tokenize the card data from your customer’s device or browser.
5555
/// </remarks>
5656
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
57-
/// <param name="generatePublicKeyRequest"> (optional)</param>
57+
/// <param name="generatePublicKeyRequest"></param>
5858
/// <returns>Task of FlexV1KeysPost200Response</returns>
59-
System.Threading.Tasks.Task<FlexV1KeysPost200Response> GeneratePublicKeyAsync (GeneratePublicKeyRequest generatePublicKeyRequest = null);
59+
System.Threading.Tasks.Task<FlexV1KeysPost200Response> GeneratePublicKeyAsync (GeneratePublicKeyRequest generatePublicKeyRequest);
6060

6161
/// <summary>
6262
/// Generate Key
@@ -65,9 +65,9 @@ public interface IKeyGenerationApi : IApiAccessor
6565
/// Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request. The key used to encrypt the card number on the cardholder’s device or browser is valid for 15 minutes and must be used to verify the signature in the response message. CyberSource recommends creating a new key for each order. Generating a key is an authenticated request initiated from your servers, prior to requesting to tokenize the card data from your customer’s device or browser.
6666
/// </remarks>
6767
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
68-
/// <param name="generatePublicKeyRequest"> (optional)</param>
68+
/// <param name="generatePublicKeyRequest"></param>
6969
/// <returns>Task of ApiResponse (FlexV1KeysPost200Response)</returns>
70-
System.Threading.Tasks.Task<ApiResponse<FlexV1KeysPost200Response>> GeneratePublicKeyAsyncWithHttpInfo (GeneratePublicKeyRequest generatePublicKeyRequest = null);
70+
System.Threading.Tasks.Task<ApiResponse<FlexV1KeysPost200Response>> GeneratePublicKeyAsyncWithHttpInfo (GeneratePublicKeyRequest generatePublicKeyRequest);
7171
#endregion Asynchronous Operations
7272
}
7373

@@ -184,9 +184,9 @@ public void AddDefaultHeader(string key, string value)
184184
/// Generate Key Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request. The key used to encrypt the card number on the cardholder’s device or browser is valid for 15 minutes and must be used to verify the signature in the response message. CyberSource recommends creating a new key for each order. Generating a key is an authenticated request initiated from your servers, prior to requesting to tokenize the card data from your customer’s device or browser.
185185
/// </summary>
186186
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
187-
/// <param name="generatePublicKeyRequest"> (optional)</param>
187+
/// <param name="generatePublicKeyRequest"></param>
188188
/// <returns>FlexV1KeysPost200Response</returns>
189-
public FlexV1KeysPost200Response GeneratePublicKey (GeneratePublicKeyRequest generatePublicKeyRequest = null)
189+
public FlexV1KeysPost200Response GeneratePublicKey (GeneratePublicKeyRequest generatePublicKeyRequest)
190190
{
191191
ApiResponse<FlexV1KeysPost200Response> localVarResponse = GeneratePublicKeyWithHttpInfo(generatePublicKeyRequest);
192192
return localVarResponse.Data;
@@ -196,12 +196,15 @@ public FlexV1KeysPost200Response GeneratePublicKey (GeneratePublicKeyRequest gen
196196
/// Generate Key Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request. The key used to encrypt the card number on the cardholder’s device or browser is valid for 15 minutes and must be used to verify the signature in the response message. CyberSource recommends creating a new key for each order. Generating a key is an authenticated request initiated from your servers, prior to requesting to tokenize the card data from your customer’s device or browser.
197197
/// </summary>
198198
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
199-
/// <param name="generatePublicKeyRequest"> (optional)</param>
199+
/// <param name="generatePublicKeyRequest"></param>
200200
/// <returns>ApiResponse of FlexV1KeysPost200Response</returns>
201-
public ApiResponse< FlexV1KeysPost200Response > GeneratePublicKeyWithHttpInfo (GeneratePublicKeyRequest generatePublicKeyRequest = null)
201+
public ApiResponse< FlexV1KeysPost200Response > GeneratePublicKeyWithHttpInfo (GeneratePublicKeyRequest generatePublicKeyRequest)
202202
{
203+
// verify the required parameter 'generatePublicKeyRequest' is set
204+
if (generatePublicKeyRequest == null)
205+
throw new ApiException(400, "Missing required parameter 'generatePublicKeyRequest' when calling KeyGenerationApi->GeneratePublicKey");
203206

204-
var localVarPath = $"/flex/v1/keys/";
207+
var localVarPath = $"/flex/v1/keys";
205208
var localVarPathParams = new Dictionary<String, String>();
206209
var localVarQueryParams = new Dictionary<String, String>();
207210
var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);
@@ -255,9 +258,9 @@ public ApiResponse< FlexV1KeysPost200Response > GeneratePublicKeyWithHttpInfo (G
255258
/// Generate Key Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request. The key used to encrypt the card number on the cardholder’s device or browser is valid for 15 minutes and must be used to verify the signature in the response message. CyberSource recommends creating a new key for each order. Generating a key is an authenticated request initiated from your servers, prior to requesting to tokenize the card data from your customer’s device or browser.
256259
/// </summary>
257260
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
258-
/// <param name="generatePublicKeyRequest"> (optional)</param>
261+
/// <param name="generatePublicKeyRequest"></param>
259262
/// <returns>Task of FlexV1KeysPost200Response</returns>
260-
public async System.Threading.Tasks.Task<FlexV1KeysPost200Response> GeneratePublicKeyAsync (GeneratePublicKeyRequest generatePublicKeyRequest = null)
263+
public async System.Threading.Tasks.Task<FlexV1KeysPost200Response> GeneratePublicKeyAsync (GeneratePublicKeyRequest generatePublicKeyRequest)
261264
{
262265
ApiResponse<FlexV1KeysPost200Response> localVarResponse = await GeneratePublicKeyAsyncWithHttpInfo(generatePublicKeyRequest);
263266
return localVarResponse.Data;
@@ -268,12 +271,15 @@ public async System.Threading.Tasks.Task<FlexV1KeysPost200Response> GeneratePubl
268271
/// Generate Key Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request. The key used to encrypt the card number on the cardholder’s device or browser is valid for 15 minutes and must be used to verify the signature in the response message. CyberSource recommends creating a new key for each order. Generating a key is an authenticated request initiated from your servers, prior to requesting to tokenize the card data from your customer’s device or browser.
269272
/// </summary>
270273
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
271-
/// <param name="generatePublicKeyRequest"> (optional)</param>
274+
/// <param name="generatePublicKeyRequest"></param>
272275
/// <returns>Task of ApiResponse (FlexV1KeysPost200Response)</returns>
273-
public async System.Threading.Tasks.Task<ApiResponse<FlexV1KeysPost200Response>> GeneratePublicKeyAsyncWithHttpInfo (GeneratePublicKeyRequest generatePublicKeyRequest = null)
276+
public async System.Threading.Tasks.Task<ApiResponse<FlexV1KeysPost200Response>> GeneratePublicKeyAsyncWithHttpInfo (GeneratePublicKeyRequest generatePublicKeyRequest)
274277
{
278+
// verify the required parameter 'generatePublicKeyRequest' is set
279+
if (generatePublicKeyRequest == null)
280+
throw new ApiException(400, "Missing required parameter 'generatePublicKeyRequest' when calling KeyGenerationApi->GeneratePublicKey");
275281

276-
var localVarPath = $"/flex/v1/keys/";
282+
var localVarPath = $"/flex/v1/keys";
277283
var localVarPathParams = new Dictionary<String, String>();
278284
var localVarQueryParams = new Dictionary<String, String>();
279285
var localVarHeaderParams = new Dictionary<String, String>(Configuration.DefaultHeader);

0 commit comments

Comments
 (0)