Skip to content

Commit 61e9cb0

Browse files
committed
spec changes
1 parent e049379 commit 61e9cb0

File tree

172 files changed

+10124
-4296
lines changed

Some content is hidden

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

172 files changed

+10124
-4296
lines changed

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<InlineResponse2008> (response, "response is InlineResponse2008");
76+
//Assert.IsInstanceOf<InlineResponse2007> (response, "response is InlineResponse2007");
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<InlineResponse2007> (response, "response is InlineResponse2007");
88+
//Assert.IsInstanceOf<InlineResponse2006> (response, "response is InlineResponse2006");
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<InlineResponse2006> (response, "response is InlineResponse2006");
103+
//Assert.IsInstanceOf<InlineResponse2005> (response, "response is InlineResponse2005");
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
@@ -85,7 +85,7 @@ public void FindProductsToSubscribeTest()
8585
// TODO uncomment below to test the method and replace null with proper value
8686
//string organizationId = null;
8787
//var response = instance.FindProductsToSubscribe(organizationId);
88-
//Assert.IsInstanceOf<List<InlineResponse2003>> (response, "response is List<InlineResponse2003>");
88+
//Assert.IsInstanceOf<List<InlineResponse2002>> (response, "response is List<InlineResponse2002>");
8989
}
9090

9191
/// <summary>

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
@@ -85,7 +85,7 @@ public void GetWebhookSubscriptionByIdTest()
8585
// TODO uncomment below to test the method and replace null with proper value
8686
//string webhookId = null;
8787
//var response = instance.GetWebhookSubscriptionById(webhookId);
88-
//Assert.IsInstanceOf<InlineResponse2005> (response, "response is InlineResponse2005");
88+
//Assert.IsInstanceOf<InlineResponse2004> (response, "response is InlineResponse2004");
8989
}
9090

9191
/// <summary>
@@ -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<InlineResponse2003>> (response, "response is List<InlineResponse2003>");
103103
}
104104

105105
/// <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<InlineResponse2001> (response, "response is InlineResponse2001");
7777
}
7878

7979
/// <summary>

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/CreatePaymentRequestTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,14 @@ public void BuyerInformationTest()
113113
// TODO unit test for the property 'BuyerInformation'
114114
}
115115
/// <summary>
116+
/// Test the property 'SenderInformation'
117+
/// </summary>
118+
[Test]
119+
public void SenderInformationTest()
120+
{
121+
// TODO unit test for the property 'SenderInformation'
122+
}
123+
/// <summary>
116124
/// Test the property 'RecipientInformation'
117125
/// </summary>
118126
[Test]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
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+
12+
using NUnit.Framework;
13+
14+
using System;
15+
using System.Linq;
16+
using System.IO;
17+
using System.Collections.Generic;
18+
using CyberSource.Api;
19+
using CyberSource.Model;
20+
using CyberSource.Client;
21+
using System.Reflection;
22+
23+
namespace CyberSource.Test
24+
{
25+
/// <summary>
26+
/// Class for testing InlineResponse2001IntegrationInformationTenantConfigurations
27+
/// </summary>
28+
/// <remarks>
29+
/// This file is automatically generated by Swagger Codegen.
30+
/// Please update the test case below to test the model.
31+
/// </remarks>
32+
[TestFixture]
33+
public class InlineResponse2001IntegrationInformationTenantConfigurationsTests
34+
{
35+
// TODO uncomment below to declare an instance variable for InlineResponse2001IntegrationInformationTenantConfigurations
36+
//private InlineResponse2001IntegrationInformationTenantConfigurations instance;
37+
38+
/// <summary>
39+
/// Setup before each test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
// TODO uncomment below to create an instance of InlineResponse2001IntegrationInformationTenantConfigurations
45+
//instance = new InlineResponse2001IntegrationInformationTenantConfigurations();
46+
}
47+
48+
/// <summary>
49+
/// Clean up after each test
50+
/// </summary>
51+
[TearDown]
52+
public void Cleanup()
53+
{
54+
55+
}
56+
57+
/// <summary>
58+
/// Test an instance of InlineResponse2001IntegrationInformationTenantConfigurations
59+
/// </summary>
60+
[Test]
61+
public void InlineResponse2001IntegrationInformationTenantConfigurationsInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" InlineResponse2001IntegrationInformationTenantConfigurations
64+
//Assert.IsInstanceOfType<InlineResponse2001IntegrationInformationTenantConfigurations> (instance, "variable 'instance' is a InlineResponse2001IntegrationInformationTenantConfigurations");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'SolutionId'
69+
/// </summary>
70+
[Test]
71+
public void SolutionIdTest()
72+
{
73+
// TODO unit test for the property 'SolutionId'
74+
}
75+
/// <summary>
76+
/// Test the property 'TenantConfigurationId'
77+
/// </summary>
78+
[Test]
79+
public void TenantConfigurationIdTest()
80+
{
81+
// TODO unit test for the property 'TenantConfigurationId'
82+
}
83+
/// <summary>
84+
/// Test the property 'Status'
85+
/// </summary>
86+
[Test]
87+
public void StatusTest()
88+
{
89+
// TODO unit test for the property 'Status'
90+
}
91+
/// <summary>
92+
/// Test the property 'SubmitTimeUtc'
93+
/// </summary>
94+
[Test]
95+
public void SubmitTimeUtcTest()
96+
{
97+
// TODO unit test for the property 'SubmitTimeUtc'
98+
}
99+
/// <summary>
100+
/// Test the property 'TenantInformation'
101+
/// </summary>
102+
[Test]
103+
public void TenantInformationTest()
104+
{
105+
// TODO unit test for the property 'TenantInformation'
106+
}
107+
108+
}
109+
110+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
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+
12+
using NUnit.Framework;
13+
14+
using System;
15+
using System.Linq;
16+
using System.IO;
17+
using System.Collections.Generic;
18+
using CyberSource.Api;
19+
using CyberSource.Model;
20+
using CyberSource.Client;
21+
using System.Reflection;
22+
23+
namespace CyberSource.Test
24+
{
25+
/// <summary>
26+
/// Class for testing InlineResponse2001IntegrationInformation
27+
/// </summary>
28+
/// <remarks>
29+
/// This file is automatically generated by Swagger Codegen.
30+
/// Please update the test case below to test the model.
31+
/// </remarks>
32+
[TestFixture]
33+
public class InlineResponse2001IntegrationInformationTests
34+
{
35+
// TODO uncomment below to declare an instance variable for InlineResponse2001IntegrationInformation
36+
//private InlineResponse2001IntegrationInformation instance;
37+
38+
/// <summary>
39+
/// Setup before each test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
// TODO uncomment below to create an instance of InlineResponse2001IntegrationInformation
45+
//instance = new InlineResponse2001IntegrationInformation();
46+
}
47+
48+
/// <summary>
49+
/// Clean up after each test
50+
/// </summary>
51+
[TearDown]
52+
public void Cleanup()
53+
{
54+
55+
}
56+
57+
/// <summary>
58+
/// Test an instance of InlineResponse2001IntegrationInformation
59+
/// </summary>
60+
[Test]
61+
public void InlineResponse2001IntegrationInformationInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" InlineResponse2001IntegrationInformation
64+
//Assert.IsInstanceOfType<InlineResponse2001IntegrationInformation> (instance, "variable 'instance' is a InlineResponse2001IntegrationInformation");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'Oauth2'
69+
/// </summary>
70+
[Test]
71+
public void Oauth2Test()
72+
{
73+
// TODO unit test for the property 'Oauth2'
74+
}
75+
/// <summary>
76+
/// Test the property 'TenantConfigurations'
77+
/// </summary>
78+
[Test]
79+
public void TenantConfigurationsTest()
80+
{
81+
// TODO unit test for the property 'TenantConfigurations'
82+
}
83+
84+
}
85+
86+
}

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InlineResponse2001Tests.cs

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -65,52 +65,60 @@ public void InlineResponse2001InstanceTest()
6565
}
6666

6767
/// <summary>
68-
/// Test the property 'SubmitTimeUtc'
68+
/// Test the property 'RegistrationInformation'
6969
/// </summary>
7070
[Test]
71-
public void SubmitTimeUtcTest()
71+
public void RegistrationInformationTest()
7272
{
73-
// TODO unit test for the property 'SubmitTimeUtc'
73+
// TODO unit test for the property 'RegistrationInformation'
7474
}
7575
/// <summary>
76-
/// Test the property 'TotalCount'
76+
/// Test the property 'IntegrationInformation'
7777
/// </summary>
7878
[Test]
79-
public void TotalCountTest()
79+
public void IntegrationInformationTest()
8080
{
81-
// TODO unit test for the property 'TotalCount'
81+
// TODO unit test for the property 'IntegrationInformation'
8282
}
8383
/// <summary>
84-
/// Test the property 'Offset'
84+
/// Test the property 'OrganizationInformation'
8585
/// </summary>
8686
[Test]
87-
public void OffsetTest()
87+
public void OrganizationInformationTest()
8888
{
89-
// TODO unit test for the property 'Offset'
89+
// TODO unit test for the property 'OrganizationInformation'
9090
}
9191
/// <summary>
92-
/// Test the property 'Limit'
92+
/// Test the property 'ProductInformation'
9393
/// </summary>
9494
[Test]
95-
public void LimitTest()
95+
public void ProductInformationTest()
9696
{
97-
// TODO unit test for the property 'Limit'
97+
// TODO unit test for the property 'ProductInformation'
9898
}
9999
/// <summary>
100-
/// Test the property 'Sort'
100+
/// Test the property 'ProductInformationSetups'
101101
/// </summary>
102102
[Test]
103-
public void SortTest()
103+
public void ProductInformationSetupsTest()
104104
{
105-
// TODO unit test for the property 'Sort'
105+
// TODO unit test for the property 'ProductInformationSetups'
106106
}
107107
/// <summary>
108-
/// Test the property 'Keys'
108+
/// Test the property 'DocumentInformation'
109109
/// </summary>
110110
[Test]
111-
public void KeysTest()
111+
public void DocumentInformationTest()
112112
{
113-
// TODO unit test for the property 'Keys'
113+
// TODO unit test for the property 'DocumentInformation'
114+
}
115+
/// <summary>
116+
/// Test the property 'Details'
117+
/// </summary>
118+
[Test]
119+
public void DetailsTest()
120+
{
121+
// TODO unit test for the property 'Details'
114122
}
115123

116124
}

0 commit comments

Comments
 (0)