Skip to content

Commit cc98832

Browse files
authored
Merge pull request #134 from CyberSource/master
sync future from master
2 parents f46e920 + ce09d7e commit cc98832

File tree

461 files changed

+38091
-4565
lines changed

Some content is hidden

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

461 files changed

+38091
-4565
lines changed

cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/AuthenticationSdk.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
55
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
6-
<Version>0.0.1.18</Version>
6+
<Version>0.0.1.19</Version>
77
<Authors>CyberSource</Authors>
88
<Product>Authentication_SDK</Product>
99
<Description />
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
/*
2+
* CyberSource Merged Spec
3+
*
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5+
*
6+
* OpenAPI spec version: 0.0.1
7+
*
8+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9+
*/
10+
11+
using System;
12+
using System.IO;
13+
using System.Collections.Generic;
14+
using System.Collections.ObjectModel;
15+
using System.Linq;
16+
using System.Reflection;
17+
using RestSharp;
18+
using NUnit.Framework;
19+
20+
using CyberSource.Client;
21+
using CyberSource.Api;
22+
using CyberSource.Model;
23+
24+
namespace CyberSource.Test
25+
{
26+
/// <summary>
27+
/// Class for testing BankAccountValidationApi
28+
/// </summary>
29+
/// <remarks>
30+
/// This file is automatically generated by Swagger Codegen.
31+
/// Please update the test case below to test the API endpoint.
32+
/// </remarks>
33+
[TestFixture]
34+
public class BankAccountValidationApiTests
35+
{
36+
private BankAccountValidationApi instance;
37+
38+
/// <summary>
39+
/// Setup before each unit test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
instance = new BankAccountValidationApi();
45+
}
46+
47+
/// <summary>
48+
/// Clean up after each unit test
49+
/// </summary>
50+
[TearDown]
51+
public void Cleanup()
52+
{
53+
54+
}
55+
56+
/// <summary>
57+
/// Test an instance of BankAccountValidationApi
58+
/// </summary>
59+
[Test]
60+
public void InstanceTest()
61+
{
62+
// TODO uncomment below to test 'IsInstanceOfType' BankAccountValidationApi
63+
//Assert.IsInstanceOfType(typeof(BankAccountValidationApi), instance, "instance is a BankAccountValidationApi");
64+
}
65+
66+
67+
/// <summary>
68+
/// Test BankAccountValidationRequest
69+
/// </summary>
70+
[Test]
71+
public void BankAccountValidationRequestTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//AccountValidationsRequest accountValidationsRequest = null;
75+
//var response = instance.BankAccountValidationRequest(accountValidationsRequest);
76+
//Assert.IsInstanceOf<InlineResponse20013> (response, "response is InlineResponse20013");
77+
}
78+
79+
}
80+
81+
}

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/BatchesApiTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void GetBatchReportTest()
7373
// TODO uncomment below to test the method and replace null with proper value
7474
//string batchId = null;
7575
//var response = instance.GetBatchReport(batchId);
76-
//Assert.IsInstanceOf<InlineResponse20011> (response, "response is InlineResponse20011");
76+
//Assert.IsInstanceOf<InlineResponse20012> (response, "response is InlineResponse20012");
7777
}
7878

7979
/// <summary>
@@ -85,7 +85,7 @@ public void GetBatchStatusTest()
8585
// TODO uncomment below to test the method and replace null with proper value
8686
//string batchId = null;
8787
//var response = instance.GetBatchStatus(batchId);
88-
//Assert.IsInstanceOf<InlineResponse20010> (response, "response is InlineResponse20010");
88+
//Assert.IsInstanceOf<InlineResponse20011> (response, "response is InlineResponse20011");
8989
}
9090

9191
/// <summary>
@@ -100,7 +100,7 @@ public void GetBatchesListTest()
100100
//string fromDate = null;
101101
//string toDate = null;
102102
//var response = instance.GetBatchesList(offset, limit, fromDate, toDate);
103-
//Assert.IsInstanceOf<InlineResponse2009> (response, "response is InlineResponse2009");
103+
//Assert.IsInstanceOf<InlineResponse20010> (response, "response is InlineResponse20010");
104104
}
105105

106106
/// <summary>

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/CreateNewWebhooksApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void FindProductsToSubscribeTest()
7373
// TODO uncomment below to test the method and replace null with proper value
7474
//string organizationId = null;
7575
//var response = instance.FindProductsToSubscribe(organizationId);
76-
//Assert.IsInstanceOf<List<InlineResponse2003>> (response, "response is List<InlineResponse2003>");
76+
//Assert.IsInstanceOf<List<InlineResponse2004>> (response, "response is List<InlineResponse2004>");
7777
}
7878

7979
/// <summary>

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/DeviceDeAssociationApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public void PostDeAssociateV3TerminalTest()
8585
// TODO uncomment below to test the method and replace null with proper value
8686
//List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request = null;
8787
//var response = instance.PostDeAssociateV3Terminal(deviceDeAssociateV3Request);
88-
//Assert.IsInstanceOf<List<InlineResponse2007>> (response, "response is List<InlineResponse2007>");
88+
//Assert.IsInstanceOf<List<InlineResponse2008>> (response, "response is List<InlineResponse2008>");
8989
}
9090

9191
}

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/DeviceSearchApiTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void PostSearchQueryTest()
7373
// TODO uncomment below to test the method and replace null with proper value
7474
//PostDeviceSearchRequest postDeviceSearchRequest = null;
7575
//var response = instance.PostSearchQuery(postDeviceSearchRequest);
76-
//Assert.IsInstanceOf<InlineResponse2006> (response, "response is InlineResponse2006");
76+
//Assert.IsInstanceOf<InlineResponse2007> (response, "response is InlineResponse2007");
7777
}
7878

7979
/// <summary>
@@ -85,7 +85,7 @@ public void PostSearchQueryV3Test()
8585
// TODO uncomment below to test the method and replace null with proper value
8686
//PostDeviceSearchRequestV3 postDeviceSearchRequestV3 = null;
8787
//var response = instance.PostSearchQueryV3(postDeviceSearchRequestV3);
88-
//Assert.IsInstanceOf<InlineResponse2008> (response, "response is InlineResponse2008");
88+
//Assert.IsInstanceOf<InlineResponse2009> (response, "response is InlineResponse2009");
8989
}
9090

9191
}

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/ManageWebhooksApiTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void GetWebhookSubscriptionsByOrgTest()
9999
//string productId = null;
100100
//string eventType = null;
101101
//var response = instance.GetWebhookSubscriptionsByOrg(organizationId, productId, eventType);
102-
//Assert.IsInstanceOf<List<InlineResponse2004>> (response, "response is List<InlineResponse2004>");
102+
//Assert.IsInstanceOf<List<InlineResponse2005>> (response, "response is List<InlineResponse2005>");
103103
}
104104

105105
/// <summary>
@@ -124,7 +124,7 @@ public void NotificationSubscriptionsV2WebhooksWebhookIdPatchTest()
124124
//string webhookId = null;
125125
//UpdateWebhook updateWebhook = null;
126126
//var response = instance.NotificationSubscriptionsV2WebhooksWebhookIdPatch(webhookId, updateWebhook);
127-
//Assert.IsInstanceOf<InlineResponse2005> (response, "response is InlineResponse2005");
127+
//Assert.IsInstanceOf<InlineResponse2006> (response, "response is InlineResponse2006");
128128
}
129129

130130
/// <summary>

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/MerchantBoardingApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void GetRegistrationTest()
7373
// TODO uncomment below to test the method and replace null with proper value
7474
//string registrationId = null;
7575
//var response = instance.GetRegistration(registrationId);
76-
//Assert.IsInstanceOf<InlineResponse2002> (response, "response is InlineResponse2002");
76+
//Assert.IsInstanceOf<InlineResponse2003> (response, "response is InlineResponse2003");
7777
}
7878

7979
/// <summary>
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
/*
2+
* CyberSource Merged Spec
3+
*
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5+
*
6+
* OpenAPI spec version: 0.0.1
7+
*
8+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9+
*/
10+
11+
using System;
12+
using System.IO;
13+
using System.Collections.Generic;
14+
using System.Collections.ObjectModel;
15+
using System.Linq;
16+
using System.Reflection;
17+
using RestSharp;
18+
using NUnit.Framework;
19+
20+
using CyberSource.Client;
21+
using CyberSource.Api;
22+
using CyberSource.Model;
23+
24+
namespace CyberSource.Test
25+
{
26+
/// <summary>
27+
/// Class for testing MerchantDefinedFieldsApi
28+
/// </summary>
29+
/// <remarks>
30+
/// This file is automatically generated by Swagger Codegen.
31+
/// Please update the test case below to test the API endpoint.
32+
/// </remarks>
33+
[TestFixture]
34+
public class MerchantDefinedFieldsApiTests
35+
{
36+
private MerchantDefinedFieldsApi instance;
37+
38+
/// <summary>
39+
/// Setup before each unit test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
instance = new MerchantDefinedFieldsApi();
45+
}
46+
47+
/// <summary>
48+
/// Clean up after each unit test
49+
/// </summary>
50+
[TearDown]
51+
public void Cleanup()
52+
{
53+
54+
}
55+
56+
/// <summary>
57+
/// Test an instance of MerchantDefinedFieldsApi
58+
/// </summary>
59+
[Test]
60+
public void InstanceTest()
61+
{
62+
// TODO uncomment below to test 'IsInstanceOfType' MerchantDefinedFieldsApi
63+
//Assert.IsInstanceOfType(typeof(MerchantDefinedFieldsApi), instance, "instance is a MerchantDefinedFieldsApi");
64+
}
65+
66+
67+
/// <summary>
68+
/// Test CreateMerchantDefinedFieldDefinition
69+
/// </summary>
70+
[Test]
71+
public void CreateMerchantDefinedFieldDefinitionTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//string referenceType = null;
75+
//MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest = null;
76+
//var response = instance.CreateMerchantDefinedFieldDefinition(referenceType, merchantDefinedFieldDefinitionRequest);
77+
//Assert.IsInstanceOf<List<InlineResponse2002>> (response, "response is List<InlineResponse2002>");
78+
}
79+
80+
/// <summary>
81+
/// Test GetMerchantDefinedFieldsDefinitions
82+
/// </summary>
83+
[Test]
84+
public void GetMerchantDefinedFieldsDefinitionsTest()
85+
{
86+
// TODO uncomment below to test the method and replace null with proper value
87+
//string referenceType = null;
88+
//var response = instance.GetMerchantDefinedFieldsDefinitions(referenceType);
89+
//Assert.IsInstanceOf<List<InlineResponse2002>> (response, "response is List<InlineResponse2002>");
90+
}
91+
92+
/// <summary>
93+
/// Test InvoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete
94+
/// </summary>
95+
[Test]
96+
public void InvoicingV2ReferenceTypeMerchantDefinedFieldsIdDeleteTest()
97+
{
98+
// TODO uncomment below to test the method and replace null with proper value
99+
//string referenceType = null;
100+
//long? id = null;
101+
//instance.InvoicingV2ReferenceTypeMerchantDefinedFieldsIdDelete(referenceType, id);
102+
103+
}
104+
105+
/// <summary>
106+
/// Test InvoicingV2ReferenceTypeMerchantDefinedFieldsIdPut
107+
/// </summary>
108+
[Test]
109+
public void InvoicingV2ReferenceTypeMerchantDefinedFieldsIdPutTest()
110+
{
111+
// TODO uncomment below to test the method and replace null with proper value
112+
//string referenceType = null;
113+
//long? id = null;
114+
//MerchantDefinedFieldCore merchantDefinedFieldCore = null;
115+
//var response = instance.InvoicingV2ReferenceTypeMerchantDefinedFieldsIdPut(referenceType, id, merchantDefinedFieldCore);
116+
//Assert.IsInstanceOf<List<InlineResponse2002>> (response, "response is List<InlineResponse2002>");
117+
}
118+
119+
}
120+
121+
}

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/TokenizedCardApiTests.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,20 @@ public void GetTokenizedCardTest()
9090
//Assert.IsInstanceOf<TokenizedcardRequest> (response, "response is TokenizedcardRequest");
9191
}
9292

93+
/// <summary>
94+
/// Test PostIssuerLifeCycleSimulation
95+
/// </summary>
96+
[Test]
97+
public void PostIssuerLifeCycleSimulationTest()
98+
{
99+
// TODO uncomment below to test the method and replace null with proper value
100+
//string profileId = null;
101+
//string tokenizedCardId = null;
102+
//PostIssuerLifeCycleSimulationRequest postIssuerLifeCycleSimulationRequest = null;
103+
//instance.PostIssuerLifeCycleSimulation(profileId, tokenizedCardId, postIssuerLifeCycleSimulationRequest);
104+
105+
}
106+
93107
/// <summary>
94108
/// Test PostTokenizedCard
95109
/// </summary>

0 commit comments

Comments
 (0)