Skip to content

Commit 81513cb

Browse files
authored
Merge pull request #217 from CyberSource/master
sync future from master
2 parents bfe3c19 + 206437b commit 81513cb

File tree

466 files changed

+38106
-4580
lines changed

Some content is hidden

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

466 files changed

+38106
-4580
lines changed

Api/BankAccountValidationApi.cs

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

Api/BatchesApi.cs

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

Api/CreateNewWebhooksApi.cs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public interface ICreateNewWebhooksApi : IApiAccessor
3737
/// </remarks>
3838
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
3939
/// <param name="organizationId">The Organization Identifier.</param>
40-
/// <returns>List&lt;InlineResponse2003&gt;</returns>
41-
List<InlineResponse2003> FindProductsToSubscribe (string organizationId);
40+
/// <returns>List&lt;InlineResponse2004&gt;</returns>
41+
List<InlineResponse2004> FindProductsToSubscribe (string organizationId);
4242

4343
/// <summary>
4444
/// Find Products You Can Subscribe To
@@ -48,8 +48,8 @@ public interface ICreateNewWebhooksApi : IApiAccessor
4848
/// </remarks>
4949
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
5050
/// <param name="organizationId">The Organization Identifier.</param>
51-
/// <returns>ApiResponse of List&lt;InlineResponse2003&gt;</returns>
52-
ApiResponse<List<InlineResponse2003>> FindProductsToSubscribeWithHttpInfo (string organizationId);
51+
/// <returns>ApiResponse of List&lt;InlineResponse2004&gt;</returns>
52+
ApiResponse<List<InlineResponse2004>> FindProductsToSubscribeWithHttpInfo (string organizationId);
5353
/// <summary>
5454
/// Create a New Webhook Subscription
5555
/// </summary>
@@ -108,8 +108,8 @@ public interface ICreateNewWebhooksApi : IApiAccessor
108108
/// </remarks>
109109
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
110110
/// <param name="organizationId">The Organization Identifier.</param>
111-
/// <returns>Task of List&lt;InlineResponse2003&gt;</returns>
112-
System.Threading.Tasks.Task<List<InlineResponse2003>> FindProductsToSubscribeAsync (string organizationId);
111+
/// <returns>Task of List&lt;InlineResponse2004&gt;</returns>
112+
System.Threading.Tasks.Task<List<InlineResponse2004>> FindProductsToSubscribeAsync (string organizationId);
113113

114114
/// <summary>
115115
/// Find Products You Can Subscribe To
@@ -119,8 +119,8 @@ public interface ICreateNewWebhooksApi : IApiAccessor
119119
/// </remarks>
120120
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
121121
/// <param name="organizationId">The Organization Identifier.</param>
122-
/// <returns>Task of ApiResponse (List&lt;InlineResponse2003&gt;)</returns>
123-
System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2003>>> FindProductsToSubscribeAsyncWithHttpInfo (string organizationId);
122+
/// <returns>Task of ApiResponse (List&lt;InlineResponse2004&gt;)</returns>
123+
System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2004>>> FindProductsToSubscribeAsyncWithHttpInfo (string organizationId);
124124
/// <summary>
125125
/// Create a New Webhook Subscription
126126
/// </summary>
@@ -314,12 +314,12 @@ public void SetStatusCode(int? statusCode)
314314
/// </summary>
315315
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
316316
/// <param name="organizationId">The Organization Identifier.</param>
317-
/// <returns>List&lt;InlineResponse2003&gt;</returns>
318-
public List<InlineResponse2003> FindProductsToSubscribe (string organizationId)
317+
/// <returns>List&lt;InlineResponse2004&gt;</returns>
318+
public List<InlineResponse2004> FindProductsToSubscribe (string organizationId)
319319
{
320320
logger.Debug("CALLING API \"FindProductsToSubscribe\" STARTED");
321321
this.SetStatusCode(null);
322-
ApiResponse<List<InlineResponse2003>> localVarResponse = FindProductsToSubscribeWithHttpInfo(organizationId);
322+
ApiResponse<List<InlineResponse2004>> localVarResponse = FindProductsToSubscribeWithHttpInfo(organizationId);
323323
logger.Debug("CALLING API \"FindProductsToSubscribe\" ENDED");
324324
this.SetStatusCode(localVarResponse.StatusCode);
325325
return localVarResponse.Data;
@@ -330,8 +330,8 @@ public List<InlineResponse2003> FindProductsToSubscribe (string organizationId)
330330
/// </summary>
331331
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
332332
/// <param name="organizationId">The Organization Identifier.</param>
333-
/// <returns>ApiResponse of List&lt;InlineResponse2003&gt;</returns>
334-
public ApiResponse< List<InlineResponse2003> > FindProductsToSubscribeWithHttpInfo (string organizationId)
333+
/// <returns>ApiResponse of List&lt;InlineResponse2004&gt;</returns>
334+
public ApiResponse< List<InlineResponse2004> > FindProductsToSubscribeWithHttpInfo (string organizationId)
335335
{
336336
LogUtility logUtility = new LogUtility();
337337

@@ -420,22 +420,22 @@ public ApiResponse< List<InlineResponse2003> > FindProductsToSubscribeWithHttpIn
420420
}
421421
}
422422

423-
return new ApiResponse<List<InlineResponse2003>>(localVarStatusCode,
423+
return new ApiResponse<List<InlineResponse2004>>(localVarStatusCode,
424424
localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))),
425-
(List<InlineResponse2003>) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List<InlineResponse2003>))); // Return statement
425+
(List<InlineResponse2004>) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List<InlineResponse2004>))); // Return statement
426426
}
427427

428428
/// <summary>
429429
/// Find Products You Can Subscribe To Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks.
430430
/// </summary>
431431
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
432432
/// <param name="organizationId">The Organization Identifier.</param>
433-
/// <returns>Task of List&lt;InlineResponse2003&gt;</returns>
434-
public async System.Threading.Tasks.Task<List<InlineResponse2003>> FindProductsToSubscribeAsync (string organizationId)
433+
/// <returns>Task of List&lt;InlineResponse2004&gt;</returns>
434+
public async System.Threading.Tasks.Task<List<InlineResponse2004>> FindProductsToSubscribeAsync (string organizationId)
435435
{
436436
logger.Debug("CALLING API \"FindProductsToSubscribeAsync\" STARTED");
437437
this.SetStatusCode(null);
438-
ApiResponse<List<InlineResponse2003>> localVarResponse = await FindProductsToSubscribeAsyncWithHttpInfo(organizationId);
438+
ApiResponse<List<InlineResponse2004>> localVarResponse = await FindProductsToSubscribeAsyncWithHttpInfo(organizationId);
439439
logger.Debug("CALLING API \"FindProductsToSubscribeAsync\" ENDED");
440440
this.SetStatusCode(localVarResponse.StatusCode);
441441
return localVarResponse.Data;
@@ -447,8 +447,8 @@ public async System.Threading.Tasks.Task<List<InlineResponse2003>> FindProductsT
447447
/// </summary>
448448
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
449449
/// <param name="organizationId">The Organization Identifier.</param>
450-
/// <returns>Task of ApiResponse (List&lt;InlineResponse2003&gt;)</returns>
451-
public async System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2003>>> FindProductsToSubscribeAsyncWithHttpInfo (string organizationId)
450+
/// <returns>Task of ApiResponse (List&lt;InlineResponse2004&gt;)</returns>
451+
public async System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2004>>> FindProductsToSubscribeAsyncWithHttpInfo (string organizationId)
452452
{
453453
LogUtility logUtility = new LogUtility();
454454

@@ -537,9 +537,9 @@ public async System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2003>>>
537537
}
538538
}
539539

540-
return new ApiResponse<List<InlineResponse2003>>(localVarStatusCode,
540+
return new ApiResponse<List<InlineResponse2004>>(localVarStatusCode,
541541
localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))),
542-
(List<InlineResponse2003>) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List<InlineResponse2003>))); // Return statement
542+
(List<InlineResponse2004>) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List<InlineResponse2004>))); // Return statement
543543
}
544544
/// <summary>
545545
/// Create a New Webhook Subscription Create a new webhook subscription. Before creating a webhook, ensure that a signature key has been created. For the example \&quot;Create Webhook using oAuth with Client Credentials\&quot; - for clients who have more than one oAuth Provider and have different client secrets that they would like to config for a given webhook, they may do so by overriding the keyId inside security config of webhook subscription. See the Developer Center examples section titled \&quot;Webhook Security - Create or Store Egress Symmetric Key - Store oAuth Credentials For Symmetric Key\&quot; to store these oAuth credentials that CYBS will need for oAuth. For JWT authentication, attach your oAuth details to the webhook subscription. See the example \&quot;Create Webhook using oAuth with JWT\&quot;

Api/DeviceDeAssociationApi.cs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ public interface IDeviceDeAssociationApi : IApiAccessor
5858
/// </remarks>
5959
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
6060
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
61-
/// <returns>List&lt;InlineResponse2007&gt;</returns>
62-
List<InlineResponse2007> PostDeAssociateV3Terminal (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
61+
/// <returns>List&lt;InlineResponse2008&gt;</returns>
62+
List<InlineResponse2008> PostDeAssociateV3Terminal (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
6363

6464
/// <summary>
6565
/// De-associate a device from merchant to account or reseller and from account to reseller
@@ -69,8 +69,8 @@ public interface IDeviceDeAssociationApi : IApiAccessor
6969
/// </remarks>
7070
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
7171
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
72-
/// <returns>ApiResponse of List&lt;InlineResponse2007&gt;</returns>
73-
ApiResponse<List<InlineResponse2007>> PostDeAssociateV3TerminalWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
72+
/// <returns>ApiResponse of List&lt;InlineResponse2008&gt;</returns>
73+
ApiResponse<List<InlineResponse2008>> PostDeAssociateV3TerminalWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
7474
#endregion Synchronous Operations
7575
#region Asynchronous Operations
7676
/// <summary>
@@ -102,8 +102,8 @@ public interface IDeviceDeAssociationApi : IApiAccessor
102102
/// </remarks>
103103
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
104104
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
105-
/// <returns>Task of List&lt;InlineResponse2007&gt;</returns>
106-
System.Threading.Tasks.Task<List<InlineResponse2007>> PostDeAssociateV3TerminalAsync (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
105+
/// <returns>Task of List&lt;InlineResponse2008&gt;</returns>
106+
System.Threading.Tasks.Task<List<InlineResponse2008>> PostDeAssociateV3TerminalAsync (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
107107

108108
/// <summary>
109109
/// De-associate a device from merchant to account or reseller and from account to reseller
@@ -113,8 +113,8 @@ public interface IDeviceDeAssociationApi : IApiAccessor
113113
/// </remarks>
114114
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
115115
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
116-
/// <returns>Task of ApiResponse (List&lt;InlineResponse2007&gt;)</returns>
117-
System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2007>>> PostDeAssociateV3TerminalAsyncWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
116+
/// <returns>Task of ApiResponse (List&lt;InlineResponse2008&gt;)</returns>
117+
System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2008>>> PostDeAssociateV3TerminalAsyncWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
118118
#endregion Asynchronous Operations
119119
}
120120

@@ -472,12 +472,12 @@ public async System.Threading.Tasks.Task<ApiResponse<Object>> DeleteTerminalAsso
472472
/// </summary>
473473
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
474474
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
475-
/// <returns>List&lt;InlineResponse2007&gt;</returns>
476-
public List<InlineResponse2007> PostDeAssociateV3Terminal (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
475+
/// <returns>List&lt;InlineResponse2008&gt;</returns>
476+
public List<InlineResponse2008> PostDeAssociateV3Terminal (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
477477
{
478478
logger.Debug("CALLING API \"PostDeAssociateV3Terminal\" STARTED");
479479
this.SetStatusCode(null);
480-
ApiResponse<List<InlineResponse2007>> localVarResponse = PostDeAssociateV3TerminalWithHttpInfo(deviceDeAssociateV3Request);
480+
ApiResponse<List<InlineResponse2008>> localVarResponse = PostDeAssociateV3TerminalWithHttpInfo(deviceDeAssociateV3Request);
481481
logger.Debug("CALLING API \"PostDeAssociateV3Terminal\" ENDED");
482482
this.SetStatusCode(localVarResponse.StatusCode);
483483
return localVarResponse.Data;
@@ -488,8 +488,8 @@ public List<InlineResponse2007> PostDeAssociateV3Terminal (List<DeviceDeAssociat
488488
/// </summary>
489489
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
490490
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
491-
/// <returns>ApiResponse of List&lt;InlineResponse2007&gt;</returns>
492-
public ApiResponse< List<InlineResponse2007> > PostDeAssociateV3TerminalWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
491+
/// <returns>ApiResponse of List&lt;InlineResponse2008&gt;</returns>
492+
public ApiResponse< List<InlineResponse2008> > PostDeAssociateV3TerminalWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
493493
{
494494
LogUtility logUtility = new LogUtility();
495495

@@ -570,22 +570,22 @@ public ApiResponse< List<InlineResponse2007> > PostDeAssociateV3TerminalWithHttp
570570
}
571571
}
572572

573-
return new ApiResponse<List<InlineResponse2007>>(localVarStatusCode,
573+
return new ApiResponse<List<InlineResponse2008>>(localVarStatusCode,
574574
localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))),
575-
(List<InlineResponse2007>) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List<InlineResponse2007>))); // Return statement
575+
(List<InlineResponse2008>) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List<InlineResponse2008>))); // Return statement
576576
}
577577

578578
/// <summary>
579579
/// De-associate a device from merchant to account or reseller and from account to reseller A device will be de-associated from its current organization and moved up in the hierarchy. The device&#39;s new position will be determined by a specified destination, either an account or a portfolio. If no destination is provided, the device will default to the currently logged-in user.
580580
/// </summary>
581581
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
582582
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
583-
/// <returns>Task of List&lt;InlineResponse2007&gt;</returns>
584-
public async System.Threading.Tasks.Task<List<InlineResponse2007>> PostDeAssociateV3TerminalAsync (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
583+
/// <returns>Task of List&lt;InlineResponse2008&gt;</returns>
584+
public async System.Threading.Tasks.Task<List<InlineResponse2008>> PostDeAssociateV3TerminalAsync (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
585585
{
586586
logger.Debug("CALLING API \"PostDeAssociateV3TerminalAsync\" STARTED");
587587
this.SetStatusCode(null);
588-
ApiResponse<List<InlineResponse2007>> localVarResponse = await PostDeAssociateV3TerminalAsyncWithHttpInfo(deviceDeAssociateV3Request);
588+
ApiResponse<List<InlineResponse2008>> localVarResponse = await PostDeAssociateV3TerminalAsyncWithHttpInfo(deviceDeAssociateV3Request);
589589
logger.Debug("CALLING API \"PostDeAssociateV3TerminalAsync\" ENDED");
590590
this.SetStatusCode(localVarResponse.StatusCode);
591591
return localVarResponse.Data;
@@ -597,8 +597,8 @@ public async System.Threading.Tasks.Task<List<InlineResponse2007>> PostDeAssocia
597597
/// </summary>
598598
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
599599
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
600-
/// <returns>Task of ApiResponse (List&lt;InlineResponse2007&gt;)</returns>
601-
public async System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2007>>> PostDeAssociateV3TerminalAsyncWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
600+
/// <returns>Task of ApiResponse (List&lt;InlineResponse2008&gt;)</returns>
601+
public async System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2008>>> PostDeAssociateV3TerminalAsyncWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
602602
{
603603
LogUtility logUtility = new LogUtility();
604604

@@ -679,9 +679,9 @@ public async System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2007>>>
679679
}
680680
}
681681

682-
return new ApiResponse<List<InlineResponse2007>>(localVarStatusCode,
682+
return new ApiResponse<List<InlineResponse2008>>(localVarStatusCode,
683683
localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))),
684-
(List<InlineResponse2007>) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List<InlineResponse2007>))); // Return statement
684+
(List<InlineResponse2008>) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List<InlineResponse2008>))); // Return statement
685685
}
686686
}
687687
}

0 commit comments

Comments
 (0)