Skip to content

Commit 0c00c9a

Browse files
authored
Merge pull request #92 from CyberSource/july24-release
July24 release
2 parents db26ecb + 8b8a91d commit 0c00c9a

File tree

333 files changed

+9496
-2679
lines changed

Some content is hidden

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

333 files changed

+9496
-2679
lines changed
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 BinLookupApi
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 BinLookupApiTests
35+
{
36+
private BinLookupApi instance;
37+
38+
/// <summary>
39+
/// Setup before each unit test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
instance = new BinLookupApi();
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 BinLookupApi
58+
/// </summary>
59+
[Test]
60+
public void InstanceTest()
61+
{
62+
// TODO uncomment below to test 'IsInstanceOfType' BinLookupApi
63+
//Assert.IsInstanceOfType(typeof(BinLookupApi), instance, "instance is a BinLookupApi");
64+
}
65+
66+
67+
/// <summary>
68+
/// Test GetAccountInfo
69+
/// </summary>
70+
[Test]
71+
public void GetAccountInfoTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//CreateBinLookupRequest createBinLookupRequest = null;
75+
//var response = instance.GetAccountInfo(createBinLookupRequest);
76+
//Assert.IsInstanceOf<InlineResponse2011> (response, "response is InlineResponse2011");
77+
}
78+
79+
}
80+
81+
}

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void CreateWebhookSubscriptionTest()
7373
// TODO uncomment below to test the method and replace null with proper value
7474
//CreateWebhookRequest createWebhookRequest = null;
7575
//var response = instance.CreateWebhookSubscription(createWebhookRequest);
76-
//Assert.IsInstanceOf<InlineResponse2013> (response, "response is InlineResponse2013");
76+
//Assert.IsInstanceOf<InlineResponse2014> (response, "response is InlineResponse2014");
7777
}
7878

7979
/// <summary>
@@ -100,7 +100,7 @@ public void SaveSymEgressKeyTest()
100100
//string vCCorrelationId = null;
101101
//SaveSymEgressKey saveSymEgressKey = null;
102102
//var response = instance.SaveSymEgressKey(vCSenderOrganizationId, vCPermissions, vCCorrelationId, saveSymEgressKey);
103-
//Assert.IsInstanceOf<InlineResponse2012> (response, "response is InlineResponse2012");
103+
//Assert.IsInstanceOf<InlineResponse2013> (response, "response is InlineResponse2013");
104104
}
105105

106106
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public void SaveAsymEgressKeyTest()
114114
//SaveAsymEgressKey saveAsymEgressKey = null;
115115
//string vCCorrelationId = null;
116116
//var response = instance.SaveAsymEgressKey(vCSenderOrganizationId, vCPermissions, saveAsymEgressKey, vCCorrelationId);
117-
//Assert.IsInstanceOf<InlineResponse2014> (response, "response is InlineResponse2014");
117+
//Assert.IsInstanceOf<InlineResponse2015> (response, "response is InlineResponse2015");
118118
}
119119

120120
/// <summary>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void PostRegistrationTest()
8686
//PostRegistrationBody postRegistrationBody = null;
8787
//string vCIdempotencyId = null;
8888
//var response = instance.PostRegistration(postRegistrationBody, vCIdempotencyId);
89-
//Assert.IsInstanceOf<InlineResponse2011> (response, "response is InlineResponse2011");
89+
//Assert.IsInstanceOf<InlineResponse2012> (response, "response is InlineResponse2012");
9090
}
9191

9292
}

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

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
using NUnit.Framework;
1919

2020
using CyberSource.Client;
21-
using CyberSource.Model;
2221
using CyberSource.Api;
2322

2423
namespace CyberSource.Test
+10-10
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,26 @@
2323
namespace CyberSource.Test
2424
{
2525
/// <summary>
26-
/// Class for testing TssV2TransactionsPost400Response
26+
/// Class for testing BinLookupv400Response
2727
/// </summary>
2828
/// <remarks>
2929
/// This file is automatically generated by Swagger Codegen.
3030
/// Please update the test case below to test the model.
3131
/// </remarks>
3232
[TestFixture]
33-
public class TssV2TransactionsPost400ResponseTests
33+
public class BinLookupv400ResponseTests
3434
{
35-
// TODO uncomment below to declare an instance variable for TssV2TransactionsPost400Response
36-
//private TssV2TransactionsPost400Response instance;
35+
// TODO uncomment below to declare an instance variable for BinLookupv400Response
36+
//private BinLookupv400Response instance;
3737

3838
/// <summary>
3939
/// Setup before each test
4040
/// </summary>
4141
[SetUp]
4242
public void Init()
4343
{
44-
// TODO uncomment below to create an instance of TssV2TransactionsPost400Response
45-
//instance = new TssV2TransactionsPost400Response();
44+
// TODO uncomment below to create an instance of BinLookupv400Response
45+
//instance = new BinLookupv400Response();
4646
}
4747

4848
/// <summary>
@@ -55,13 +55,13 @@ public void Cleanup()
5555
}
5656

5757
/// <summary>
58-
/// Test an instance of TssV2TransactionsPost400Response
58+
/// Test an instance of BinLookupv400Response
5959
/// </summary>
6060
[Test]
61-
public void TssV2TransactionsPost400ResponseInstanceTest()
61+
public void BinLookupv400ResponseInstanceTest()
6262
{
63-
// TODO uncomment below to test "IsInstanceOfType" TssV2TransactionsPost400Response
64-
//Assert.IsInstanceOfType<TssV2TransactionsPost400Response> (instance, "variable 'instance' is a TssV2TransactionsPost400Response");
63+
// TODO uncomment below to test "IsInstanceOfType" BinLookupv400Response
64+
//Assert.IsInstanceOfType<BinLookupv400Response> (instance, "variable 'instance' is a BinLookupv400Response");
6565
}
6666

6767
/// <summary>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
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 Binv1binlookupClientReferenceInformation
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 Binv1binlookupClientReferenceInformationTests
34+
{
35+
// TODO uncomment below to declare an instance variable for Binv1binlookupClientReferenceInformation
36+
//private Binv1binlookupClientReferenceInformation 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 Binv1binlookupClientReferenceInformation
45+
//instance = new Binv1binlookupClientReferenceInformation();
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 Binv1binlookupClientReferenceInformation
59+
/// </summary>
60+
[Test]
61+
public void Binv1binlookupClientReferenceInformationInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" Binv1binlookupClientReferenceInformation
64+
//Assert.IsInstanceOfType<Binv1binlookupClientReferenceInformation> (instance, "variable 'instance' is a Binv1binlookupClientReferenceInformation");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'Partner'
69+
/// </summary>
70+
[Test]
71+
public void PartnerTest()
72+
{
73+
// TODO unit test for the property 'Partner'
74+
}
75+
/// <summary>
76+
/// Test the property 'ApplicationName'
77+
/// </summary>
78+
[Test]
79+
public void ApplicationNameTest()
80+
{
81+
// TODO unit test for the property 'ApplicationName'
82+
}
83+
/// <summary>
84+
/// Test the property 'ApplicationVersion'
85+
/// </summary>
86+
[Test]
87+
public void ApplicationVersionTest()
88+
{
89+
// TODO unit test for the property 'ApplicationVersion'
90+
}
91+
/// <summary>
92+
/// Test the property 'ApplicationUser'
93+
/// </summary>
94+
[Test]
95+
public void ApplicationUserTest()
96+
{
97+
// TODO unit test for the property 'ApplicationUser'
98+
}
99+
100+
}
101+
102+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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 Binv1binlookupPaymentInformationCard
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 Binv1binlookupPaymentInformationCardTests
34+
{
35+
// TODO uncomment below to declare an instance variable for Binv1binlookupPaymentInformationCard
36+
//private Binv1binlookupPaymentInformationCard 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 Binv1binlookupPaymentInformationCard
45+
//instance = new Binv1binlookupPaymentInformationCard();
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 Binv1binlookupPaymentInformationCard
59+
/// </summary>
60+
[Test]
61+
public void Binv1binlookupPaymentInformationCardInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" Binv1binlookupPaymentInformationCard
64+
//Assert.IsInstanceOfType<Binv1binlookupPaymentInformationCard> (instance, "variable 'instance' is a Binv1binlookupPaymentInformationCard");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'Number'
69+
/// </summary>
70+
[Test]
71+
public void NumberTest()
72+
{
73+
// TODO unit test for the property 'Number'
74+
}
75+
76+
}
77+
78+
}

0 commit comments

Comments
 (0)