Skip to content

Commit c427603

Browse files
Merge pull request #98 from CyberSource/release-sep24
Release sep24
2 parents 364f171 + 9077d8e commit c427603

File tree

170 files changed

+15084
-716
lines changed

Some content is hidden

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

170 files changed

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

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

+16
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,22 @@ public void DiscoverInstitutionIdTest()
8989
// TODO unit test for the property 'DiscoverInstitutionId'
9090
}
9191
/// <summary>
92+
/// Test the property 'UnionPayInstitutionId'
93+
/// </summary>
94+
[Test]
95+
public void UnionPayInstitutionIdTest()
96+
{
97+
// TODO unit test for the property 'UnionPayInstitutionId'
98+
}
99+
/// <summary>
100+
/// Test the property 'DinersClubInstitutionId'
101+
/// </summary>
102+
[Test]
103+
public void DinersClubInstitutionIdTest()
104+
{
105+
// TODO unit test for the property 'DinersClubInstitutionId'
106+
}
107+
/// <summary>
92108
/// Test the property 'CountryCode'
93109
/// </summary>
94110
[Test]

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

+8
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,14 @@ public void UrlTest()
128128
{
129129
// TODO unit test for the property 'Url'
130130
}
131+
/// <summary>
132+
/// Test the property 'CountryOfOrigin'
133+
/// </summary>
134+
[Test]
135+
public void CountryOfOriginTest()
136+
{
137+
// TODO unit test for the property 'CountryOfOrigin'
138+
}
131139

132140
}
133141

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

+24
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,30 @@ public void CurrenciesTest()
137137
// TODO unit test for the property 'Currencies'
138138
}
139139
/// <summary>
140+
/// Test the property 'VisaAggregatorId'
141+
/// </summary>
142+
[Test]
143+
public void VisaAggregatorIdTest()
144+
{
145+
// TODO unit test for the property 'VisaAggregatorId'
146+
}
147+
/// <summary>
148+
/// Test the property 'AmexAggregatorId'
149+
/// </summary>
150+
[Test]
151+
public void AmexAggregatorIdTest()
152+
{
153+
// TODO unit test for the property 'AmexAggregatorId'
154+
}
155+
/// <summary>
156+
/// Test the property 'MasterCardAggregatorId'
157+
/// </summary>
158+
[Test]
159+
public void MasterCardAggregatorIdTest()
160+
{
161+
// TODO unit test for the property 'MasterCardAggregatorId'
162+
}
163+
/// <summary>
140164
/// Test the property 'SicCode'
141165
/// </summary>
142166
[Test]

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

+16
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,22 @@ public void MerchantDescriptorInformationTest()
232232
{
233233
// TODO unit test for the property 'MerchantDescriptorInformation'
234234
}
235+
/// <summary>
236+
/// Test the property 'GovernmentControlled'
237+
/// </summary>
238+
[Test]
239+
public void GovernmentControlledTest()
240+
{
241+
// TODO unit test for the property 'GovernmentControlled'
242+
}
243+
/// <summary>
244+
/// Test the property 'DropBillingInfo'
245+
/// </summary>
246+
[Test]
247+
public void DropBillingInfoTest()
248+
{
249+
// TODO unit test for the property 'DropBillingInfo'
250+
}
235251

236252
}
237253

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 Flexv2sessionsFieldsOrderInformationAmountDetails
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 Flexv2sessionsFieldsOrderInformationAmountDetailsTests
34+
{
35+
// TODO uncomment below to declare an instance variable for Flexv2sessionsFieldsOrderInformationAmountDetails
36+
//private Flexv2sessionsFieldsOrderInformationAmountDetails 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 Flexv2sessionsFieldsOrderInformationAmountDetails
45+
//instance = new Flexv2sessionsFieldsOrderInformationAmountDetails();
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 Flexv2sessionsFieldsOrderInformationAmountDetails
59+
/// </summary>
60+
[Test]
61+
public void Flexv2sessionsFieldsOrderInformationAmountDetailsInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" Flexv2sessionsFieldsOrderInformationAmountDetails
64+
//Assert.IsInstanceOfType<Flexv2sessionsFieldsOrderInformationAmountDetails> (instance, "variable 'instance' is a Flexv2sessionsFieldsOrderInformationAmountDetails");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'TotalAmount'
69+
/// </summary>
70+
[Test]
71+
public void TotalAmountTest()
72+
{
73+
// TODO unit test for the property 'TotalAmount'
74+
}
75+
/// <summary>
76+
/// Test the property 'Currency'
77+
/// </summary>
78+
[Test]
79+
public void CurrencyTest()
80+
{
81+
// TODO unit test for the property 'Currency'
82+
}
83+
84+
}
85+
86+
}
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 Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount
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 Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmountTests
34+
{
35+
// TODO uncomment below to declare an instance variable for Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount
36+
//private Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount 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 Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount
45+
//instance = new Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount();
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 Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount
59+
/// </summary>
60+
[Test]
61+
public void Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmountInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount
64+
//Assert.IsInstanceOfType<Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount> (instance, "variable 'instance' is a Flexv2sessionsFieldsOrderInformationAmountDetailsTotalAmount");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'Required'
69+
/// </summary>
70+
[Test]
71+
public void RequiredTest()
72+
{
73+
// TODO unit test for the property 'Required'
74+
}
75+
76+
}
77+
78+
}

0 commit comments

Comments
 (0)