Skip to content

Commit 31a9e16

Browse files
authored
Merge pull request #48 from CyberSource/oct-22-release
oct release
2 parents 4ac46b3 + 36c59eb commit 31a9e16

File tree

81 files changed

+9419
-96
lines changed

Some content is hidden

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

81 files changed

+9419
-96
lines changed
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
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 EMVTagDetailsApi
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 EMVTagDetailsApiTests
35+
{
36+
private EMVTagDetailsApi instance;
37+
38+
/// <summary>
39+
/// Setup before each unit test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
instance = new EMVTagDetailsApi();
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 EMVTagDetailsApi
58+
/// </summary>
59+
[Test]
60+
public void InstanceTest()
61+
{
62+
// TODO uncomment below to test 'IsInstanceOfType' EMVTagDetailsApi
63+
//Assert.IsInstanceOfType(typeof(EMVTagDetailsApi), instance, "instance is a EMVTagDetailsApi");
64+
}
65+
66+
67+
/// <summary>
68+
/// Test GetEmvTags
69+
/// </summary>
70+
[Test]
71+
public void GetEmvTagsTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//var response = instance.GetEmvTags();
75+
//Assert.IsInstanceOf<TssV2GetEmvTags200Response> (response, "response is TssV2GetEmvTags200Response");
76+
}
77+
78+
/// <summary>
79+
/// Test ParseEmvTags
80+
/// </summary>
81+
[Test]
82+
public void ParseEmvTagsTest()
83+
{
84+
// TODO uncomment below to test the method and replace null with proper value
85+
//Body body = null;
86+
//var response = instance.ParseEmvTags(body);
87+
//Assert.IsInstanceOf<TssV2PostEmvTags200Response> (response, "response is TssV2PostEmvTags200Response");
88+
}
89+
90+
}
91+
92+
}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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+
23+
namespace CyberSource.Test
24+
{
25+
/// <summary>
26+
/// Class for testing TransientTokenDataApi
27+
/// </summary>
28+
/// <remarks>
29+
/// This file is automatically generated by Swagger Codegen.
30+
/// Please update the test case below to test the API endpoint.
31+
/// </remarks>
32+
[TestFixture]
33+
public class TransientTokenDataApiTests
34+
{
35+
private TransientTokenDataApi instance;
36+
37+
/// <summary>
38+
/// Setup before each unit test
39+
/// </summary>
40+
[SetUp]
41+
public void Init()
42+
{
43+
instance = new TransientTokenDataApi();
44+
}
45+
46+
/// <summary>
47+
/// Clean up after each unit test
48+
/// </summary>
49+
[TearDown]
50+
public void Cleanup()
51+
{
52+
53+
}
54+
55+
/// <summary>
56+
/// Test an instance of TransientTokenDataApi
57+
/// </summary>
58+
[Test]
59+
public void InstanceTest()
60+
{
61+
// TODO uncomment below to test 'IsInstanceOfType' TransientTokenDataApi
62+
//Assert.IsInstanceOfType(typeof(TransientTokenDataApi), instance, "instance is a TransientTokenDataApi");
63+
}
64+
65+
66+
/// <summary>
67+
/// Test GetTransactionForTransientToken
68+
/// </summary>
69+
[Test]
70+
public void GetTransactionForTransientTokenTest()
71+
{
72+
// TODO uncomment below to test the method and replace null with proper value
73+
//string transientToken = null;
74+
//instance.GetTransactionForTransientToken(transientToken);
75+
76+
}
77+
78+
}
79+
80+
}
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 UnifiedCheckoutCaptureContextApi
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 UnifiedCheckoutCaptureContextApiTests
35+
{
36+
private UnifiedCheckoutCaptureContextApi instance;
37+
38+
/// <summary>
39+
/// Setup before each unit test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
instance = new UnifiedCheckoutCaptureContextApi();
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 UnifiedCheckoutCaptureContextApi
58+
/// </summary>
59+
[Test]
60+
public void InstanceTest()
61+
{
62+
// TODO uncomment below to test 'IsInstanceOfType' UnifiedCheckoutCaptureContextApi
63+
//Assert.IsInstanceOfType(typeof(UnifiedCheckoutCaptureContextApi), instance, "instance is a UnifiedCheckoutCaptureContextApi");
64+
}
65+
66+
67+
/// <summary>
68+
/// Test GenerateUnifiedCheckoutCaptureContext
69+
/// </summary>
70+
[Test]
71+
public void GenerateUnifiedCheckoutCaptureContextTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//GenerateUnifiedCheckoutCaptureContextRequest generateUnifiedCheckoutCaptureContextRequest = null;
75+
//instance.GenerateUnifiedCheckoutCaptureContext(generateUnifiedCheckoutCaptureContextRequest);
76+
77+
}
78+
79+
}
80+
81+
}
Lines changed: 94 additions & 0 deletions
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 Body
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 BodyTests
34+
{
35+
// TODO uncomment below to declare an instance variable for Body
36+
//private Body 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 Body
45+
//instance = new Body();
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 Body
59+
/// </summary>
60+
[Test]
61+
public void BodyInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" Body
64+
//Assert.IsInstanceOfType<Body> (instance, "variable 'instance' is a Body");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'Requestor'
69+
/// </summary>
70+
[Test]
71+
public void RequestorTest()
72+
{
73+
// TODO unit test for the property 'Requestor'
74+
}
75+
/// <summary>
76+
/// Test the property 'ParsedTagLimit'
77+
/// </summary>
78+
[Test]
79+
public void ParsedTagLimitTest()
80+
{
81+
// TODO unit test for the property 'ParsedTagLimit'
82+
}
83+
/// <summary>
84+
/// Test the property 'EmvDetailsList'
85+
/// </summary>
86+
[Test]
87+
public void EmvDetailsListTest()
88+
{
89+
// TODO unit test for the property 'EmvDetailsList'
90+
}
91+
92+
}
93+
94+
}

0 commit comments

Comments
 (0)