Skip to content

Commit 50b8fb8

Browse files
authored
Merge pull request #119 from CyberSource/release/may25
Release/may25
2 parents 614cdd8 + 2e08060 commit 50b8fb8

File tree

326 files changed

+13891
-2268
lines changed

Some content is hidden

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

326 files changed

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

106106
/// <summary>
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 DeviceDeAssociationV3Api
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 DeviceDeAssociationV3ApiTests
35+
{
36+
private DeviceDeAssociationV3Api instance;
37+
38+
/// <summary>
39+
/// Setup before each unit test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
instance = new DeviceDeAssociationV3Api();
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 DeviceDeAssociationV3Api
58+
/// </summary>
59+
[Test]
60+
public void InstanceTest()
61+
{
62+
// TODO uncomment below to test 'IsInstanceOfType' DeviceDeAssociationV3Api
63+
//Assert.IsInstanceOfType(typeof(DeviceDeAssociationV3Api), instance, "instance is a DeviceDeAssociationV3Api");
64+
}
65+
66+
67+
/// <summary>
68+
/// Test PostDeAssociateV3Terminal
69+
/// </summary>
70+
[Test]
71+
public void PostDeAssociateV3TerminalTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request = null;
75+
//var response = instance.PostDeAssociateV3Terminal(deviceDeAssociateV3Request);
76+
//Assert.IsInstanceOf<List<InlineResponse2005>> (response, "response is List<InlineResponse2005>");
77+
}
78+
79+
}
80+
81+
}
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 DeviceSearchApi
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 DeviceSearchApiTests
35+
{
36+
private DeviceSearchApi instance;
37+
38+
/// <summary>
39+
/// Setup before each unit test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
instance = new DeviceSearchApi();
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 DeviceSearchApi
58+
/// </summary>
59+
[Test]
60+
public void InstanceTest()
61+
{
62+
// TODO uncomment below to test 'IsInstanceOfType' DeviceSearchApi
63+
//Assert.IsInstanceOfType(typeof(DeviceSearchApi), instance, "instance is a DeviceSearchApi");
64+
}
65+
66+
67+
/// <summary>
68+
/// Test PostSearchQueryV3
69+
/// </summary>
70+
[Test]
71+
public void PostSearchQueryV3Test()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//PostDeviceSearchRequestV3 postDeviceSearchRequestV3 = null;
75+
//var response = instance.PostSearchQueryV3(postDeviceSearchRequestV3);
76+
//Assert.IsInstanceOf<InlineResponse2006> (response, "response is InlineResponse2006");
77+
}
78+
79+
}
80+
81+
}
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 DeviceDeAssociateV3Request
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 DeviceDeAssociateV3RequestTests
34+
{
35+
// TODO uncomment below to declare an instance variable for DeviceDeAssociateV3Request
36+
//private DeviceDeAssociateV3Request 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 DeviceDeAssociateV3Request
45+
//instance = new DeviceDeAssociateV3Request();
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 DeviceDeAssociateV3Request
59+
/// </summary>
60+
[Test]
61+
public void DeviceDeAssociateV3RequestInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" DeviceDeAssociateV3Request
64+
//Assert.IsInstanceOfType<DeviceDeAssociateV3Request> (instance, "variable 'instance' is a DeviceDeAssociateV3Request");
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+
/// <summary>
76+
/// Test the property 'OrganizationId'
77+
/// </summary>
78+
[Test]
79+
public void OrganizationIdTest()
80+
{
81+
// TODO unit test for the property 'OrganizationId'
82+
}
83+
84+
}
85+
86+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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 Dmsv3devicesdeassociateDevices
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 Dmsv3devicesdeassociateDevicesTests
34+
{
35+
// TODO uncomment below to declare an instance variable for Dmsv3devicesdeassociateDevices
36+
//private Dmsv3devicesdeassociateDevices 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 Dmsv3devicesdeassociateDevices
45+
//instance = new Dmsv3devicesdeassociateDevices();
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 Dmsv3devicesdeassociateDevices
59+
/// </summary>
60+
[Test]
61+
public void Dmsv3devicesdeassociateDevicesInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" Dmsv3devicesdeassociateDevices
64+
//Assert.IsInstanceOfType<Dmsv3devicesdeassociateDevices> (instance, "variable 'instance' is a Dmsv3devicesdeassociateDevices");
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+
/// <summary>
76+
/// Test the property 'Reason'
77+
/// </summary>
78+
[Test]
79+
public void ReasonTest()
80+
{
81+
// TODO unit test for the property 'Reason'
82+
}
83+
/// <summary>
84+
/// Test the property 'Code'
85+
/// </summary>
86+
[Test]
87+
public void CodeTest()
88+
{
89+
// TODO unit test for the property 'Code'
90+
}
91+
92+
}
93+
94+
}

0 commit comments

Comments
 (0)