Skip to content

Commit 35e3197

Browse files
authored
Merge pull request #120 from CyberSource/june-2025-release
June 2025 release
2 parents 50b8fb8 + 0e954c4 commit 35e3197

File tree

137 files changed

+7064
-1560
lines changed

Some content is hidden

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

137 files changed

+7064
-1560
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<InlineResponse2009> (response, "response is InlineResponse2009");
76+
//Assert.IsInstanceOf<InlineResponse20010> (response, "response is InlineResponse20010");
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<InlineResponse2008> (response, "response is InlineResponse2008");
88+
//Assert.IsInstanceOf<InlineResponse2009> (response, "response is InlineResponse2009");
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<InlineResponse2007> (response, "response is InlineResponse2007");
103+
//Assert.IsInstanceOf<InlineResponse2008> (response, "response is InlineResponse2008");
104104
}
105105

106106
/// <summary>
Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,24 @@
2424
namespace CyberSource.Test
2525
{
2626
/// <summary>
27-
/// Class for testing DeviceDeAssociationV3Api
27+
/// Class for testing DeviceDeAssociationApi
2828
/// </summary>
2929
/// <remarks>
3030
/// This file is automatically generated by Swagger Codegen.
3131
/// Please update the test case below to test the API endpoint.
3232
/// </remarks>
3333
[TestFixture]
34-
public class DeviceDeAssociationV3ApiTests
34+
public class DeviceDeAssociationApiTests
3535
{
36-
private DeviceDeAssociationV3Api instance;
36+
private DeviceDeAssociationApi instance;
3737

3838
/// <summary>
3939
/// Setup before each unit test
4040
/// </summary>
4141
[SetUp]
4242
public void Init()
4343
{
44-
instance = new DeviceDeAssociationV3Api();
44+
instance = new DeviceDeAssociationApi();
4545
}
4646

4747
/// <summary>
@@ -54,16 +54,28 @@ public void Cleanup()
5454
}
5555

5656
/// <summary>
57-
/// Test an instance of DeviceDeAssociationV3Api
57+
/// Test an instance of DeviceDeAssociationApi
5858
/// </summary>
5959
[Test]
6060
public void InstanceTest()
6161
{
62-
// TODO uncomment below to test 'IsInstanceOfType' DeviceDeAssociationV3Api
63-
//Assert.IsInstanceOfType(typeof(DeviceDeAssociationV3Api), instance, "instance is a DeviceDeAssociationV3Api");
62+
// TODO uncomment below to test 'IsInstanceOfType' DeviceDeAssociationApi
63+
//Assert.IsInstanceOfType(typeof(DeviceDeAssociationApi), instance, "instance is a DeviceDeAssociationApi");
6464
}
6565

6666

67+
/// <summary>
68+
/// Test DeleteTerminalAssociation
69+
/// </summary>
70+
[Test]
71+
public void DeleteTerminalAssociationTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//DeAssociationRequestBody deAssociationRequestBody = null;
75+
//instance.DeleteTerminalAssociation(deAssociationRequestBody);
76+
77+
}
78+
6779
/// <summary>
6880
/// Test PostDeAssociateV3Terminal
6981
/// </summary>
@@ -73,7 +85,7 @@ public void PostDeAssociateV3TerminalTest()
7385
// TODO uncomment below to test the method and replace null with proper value
7486
//List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request = null;
7587
//var response = instance.PostDeAssociateV3Terminal(deviceDeAssociateV3Request);
76-
//Assert.IsInstanceOf<List<InlineResponse2005>> (response, "response is List<InlineResponse2005>");
88+
//Assert.IsInstanceOf<List<InlineResponse2006>> (response, "response is List<InlineResponse2006>");
7789
}
7890

7991
}

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,18 @@ public void InstanceTest()
6464
}
6565

6666

67+
/// <summary>
68+
/// Test PostSearchQuery
69+
/// </summary>
70+
[Test]
71+
public void PostSearchQueryTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//PostDeviceSearchRequest postDeviceSearchRequest = null;
75+
//var response = instance.PostSearchQuery(postDeviceSearchRequest);
76+
//Assert.IsInstanceOf<InlineResponse2005> (response, "response is InlineResponse2005");
77+
}
78+
6779
/// <summary>
6880
/// Test PostSearchQueryV3
6981
/// </summary>
@@ -73,7 +85,7 @@ public void PostSearchQueryV3Test()
7385
// TODO uncomment below to test the method and replace null with proper value
7486
//PostDeviceSearchRequestV3 postDeviceSearchRequestV3 = null;
7587
//var response = instance.PostSearchQueryV3(postDeviceSearchRequestV3);
76-
//Assert.IsInstanceOf<InlineResponse2006> (response, "response is InlineResponse2006");
88+
//Assert.IsInstanceOf<InlineResponse2007> (response, "response is InlineResponse2007");
7789
}
7890

7991
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ public void ActivateSubscriptionTest()
7272
{
7373
// TODO uncomment below to test the method and replace null with proper value
7474
//string id = null;
75-
//var response = instance.ActivateSubscription(id);
75+
//bool? processSkippedPayments = null;
76+
//var response = instance.ActivateSubscription(id, processSkippedPayments);
7677
//Assert.IsInstanceOf<ActivateSubscriptionResponse> (response, "response is ActivateSubscriptionResponse");
7778
}
7879

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 DeAssociationRequestBody
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 DeAssociationRequestBodyTests
34+
{
35+
// TODO uncomment below to declare an instance variable for DeAssociationRequestBody
36+
//private DeAssociationRequestBody 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 DeAssociationRequestBody
45+
//instance = new DeAssociationRequestBody();
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 DeAssociationRequestBody
59+
/// </summary>
60+
[Test]
61+
public void DeAssociationRequestBodyInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" DeAssociationRequestBody
64+
//Assert.IsInstanceOfType<DeAssociationRequestBody> (instance, "variable 'instance' is a DeAssociationRequestBody");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'DeviceId'
69+
/// </summary>
70+
[Test]
71+
public void DeviceIdTest()
72+
{
73+
// TODO unit test for the property 'DeviceId'
74+
}
75+
76+
}
77+
78+
}
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 GetSubscriptionResponseReactivationInformation
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 GetSubscriptionResponseReactivationInformationTests
34+
{
35+
// TODO uncomment below to declare an instance variable for GetSubscriptionResponseReactivationInformation
36+
//private GetSubscriptionResponseReactivationInformation 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 GetSubscriptionResponseReactivationInformation
45+
//instance = new GetSubscriptionResponseReactivationInformation();
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 GetSubscriptionResponseReactivationInformation
59+
/// </summary>
60+
[Test]
61+
public void GetSubscriptionResponseReactivationInformationInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" GetSubscriptionResponseReactivationInformation
64+
//Assert.IsInstanceOfType<GetSubscriptionResponseReactivationInformation> (instance, "variable 'instance' is a GetSubscriptionResponseReactivationInformation");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'SkippedPaymentsCount'
69+
/// </summary>
70+
[Test]
71+
public void SkippedPaymentsCountTest()
72+
{
73+
// TODO unit test for the property 'SkippedPaymentsCount'
74+
}
75+
/// <summary>
76+
/// Test the property 'SkippedPaymentsTotalAmount'
77+
/// </summary>
78+
[Test]
79+
public void SkippedPaymentsTotalAmountTest()
80+
{
81+
// TODO unit test for the property 'SkippedPaymentsTotalAmount'
82+
}
83+
84+
}
85+
86+
}

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ public void OrderInformationTest()
120120
{
121121
// TODO unit test for the property 'OrderInformation'
122122
}
123+
/// <summary>
124+
/// Test the property 'ReactivationInformation'
125+
/// </summary>
126+
[Test]
127+
public void ReactivationInformationTest()
128+
{
129+
// TODO unit test for the property 'ReactivationInformation'
130+
}
123131

124132
}
125133

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,26 @@
2323
namespace CyberSource.Test
2424
{
2525
/// <summary>
26-
/// Class for testing InlineResponse2009Records
26+
/// Class for testing InlineResponse20010Records
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 InlineResponse2009RecordsTests
33+
public class InlineResponse20010RecordsTests
3434
{
35-
// TODO uncomment below to declare an instance variable for InlineResponse2009Records
36-
//private InlineResponse2009Records instance;
35+
// TODO uncomment below to declare an instance variable for InlineResponse20010Records
36+
//private InlineResponse20010Records 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 InlineResponse2009Records
45-
//instance = new InlineResponse2009Records();
44+
// TODO uncomment below to create an instance of InlineResponse20010Records
45+
//instance = new InlineResponse20010Records();
4646
}
4747

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

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

6767
/// <summary>

0 commit comments

Comments
 (0)