Skip to content

Commit ba94022

Browse files
authored
Merge pull request #63 from CyberSource/aug_release
aug release
2 parents 1819fcb + ccad0ca commit ba94022

File tree

85 files changed

+10178
-165
lines changed

Some content is hidden

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

85 files changed

+10178
-165
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
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 BillingAgreementsApi
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 BillingAgreementsApiTests
35+
{
36+
private BillingAgreementsApi instance;
37+
38+
/// <summary>
39+
/// Setup before each unit test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
instance = new BillingAgreementsApi();
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 BillingAgreementsApi
58+
/// </summary>
59+
[Test]
60+
public void InstanceTest()
61+
{
62+
// TODO uncomment below to test 'IsInstanceOfType' BillingAgreementsApi
63+
//Assert.IsInstanceOfType(typeof(BillingAgreementsApi), instance, "instance is a BillingAgreementsApi");
64+
}
65+
66+
67+
/// <summary>
68+
/// Test BillingAgreementsDeRegistration
69+
/// </summary>
70+
[Test]
71+
public void BillingAgreementsDeRegistrationTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//ModifyBillingAgreement modifyBillingAgreement = null;
75+
//string id = null;
76+
//var response = instance.BillingAgreementsDeRegistration(modifyBillingAgreement, id);
77+
//Assert.IsInstanceOf<PtsV2CreditsPost201Response1> (response, "response is PtsV2CreditsPost201Response1");
78+
}
79+
80+
/// <summary>
81+
/// Test BillingAgreementsIntimation
82+
/// </summary>
83+
[Test]
84+
public void BillingAgreementsIntimationTest()
85+
{
86+
// TODO uncomment below to test the method and replace null with proper value
87+
//IntimateBillingAgreement intimateBillingAgreement = null;
88+
//string id = null;
89+
//var response = instance.BillingAgreementsIntimation(intimateBillingAgreement, id);
90+
//Assert.IsInstanceOf<PtsV2CreditsPost201Response1> (response, "response is PtsV2CreditsPost201Response1");
91+
}
92+
93+
/// <summary>
94+
/// Test BillingAgreementsRegistration
95+
/// </summary>
96+
[Test]
97+
public void BillingAgreementsRegistrationTest()
98+
{
99+
// TODO uncomment below to test the method and replace null with proper value
100+
//CreateBillingAgreement createBillingAgreement = null;
101+
//var response = instance.BillingAgreementsRegistration(createBillingAgreement);
102+
//Assert.IsInstanceOf<PtsV2CreditsPost201Response1> (response, "response is PtsV2CreditsPost201Response1");
103+
}
104+
105+
}
106+
107+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
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 CreateBillingAgreement
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 CreateBillingAgreementTests
34+
{
35+
// TODO uncomment below to declare an instance variable for CreateBillingAgreement
36+
//private CreateBillingAgreement 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 CreateBillingAgreement
45+
//instance = new CreateBillingAgreement();
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 CreateBillingAgreement
59+
/// </summary>
60+
[Test]
61+
public void CreateBillingAgreementInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" CreateBillingAgreement
64+
//Assert.IsInstanceOfType<CreateBillingAgreement> (instance, "variable 'instance' is a CreateBillingAgreement");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'ClientReferenceInformation'
69+
/// </summary>
70+
[Test]
71+
public void ClientReferenceInformationTest()
72+
{
73+
// TODO unit test for the property 'ClientReferenceInformation'
74+
}
75+
/// <summary>
76+
/// Test the property 'AggregatorInformation'
77+
/// </summary>
78+
[Test]
79+
public void AggregatorInformationTest()
80+
{
81+
// TODO unit test for the property 'AggregatorInformation'
82+
}
83+
/// <summary>
84+
/// Test the property 'ConsumerAuthenticationInformation'
85+
/// </summary>
86+
[Test]
87+
public void ConsumerAuthenticationInformationTest()
88+
{
89+
// TODO unit test for the property 'ConsumerAuthenticationInformation'
90+
}
91+
/// <summary>
92+
/// Test the property 'DeviceInformation'
93+
/// </summary>
94+
[Test]
95+
public void DeviceInformationTest()
96+
{
97+
// TODO unit test for the property 'DeviceInformation'
98+
}
99+
/// <summary>
100+
/// Test the property 'InstallmentInformation'
101+
/// </summary>
102+
[Test]
103+
public void InstallmentInformationTest()
104+
{
105+
// TODO unit test for the property 'InstallmentInformation'
106+
}
107+
/// <summary>
108+
/// Test the property 'MerchantInformation'
109+
/// </summary>
110+
[Test]
111+
public void MerchantInformationTest()
112+
{
113+
// TODO unit test for the property 'MerchantInformation'
114+
}
115+
/// <summary>
116+
/// Test the property 'OrderInformation'
117+
/// </summary>
118+
[Test]
119+
public void OrderInformationTest()
120+
{
121+
// TODO unit test for the property 'OrderInformation'
122+
}
123+
/// <summary>
124+
/// Test the property 'PaymentInformation'
125+
/// </summary>
126+
[Test]
127+
public void PaymentInformationTest()
128+
{
129+
// TODO unit test for the property 'PaymentInformation'
130+
}
131+
/// <summary>
132+
/// Test the property 'ProcessingInformation'
133+
/// </summary>
134+
[Test]
135+
public void ProcessingInformationTest()
136+
{
137+
// TODO unit test for the property 'ProcessingInformation'
138+
}
139+
140+
}
141+
142+
}

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,14 @@ public void WatchlistScreeningInformationTest()
184184
{
185185
// TODO unit test for the property 'WatchlistScreeningInformation'
186186
}
187+
/// <summary>
188+
/// Test the property 'TokenInformation'
189+
/// </summary>
190+
[Test]
191+
public void TokenInformationTest()
192+
{
193+
// TODO unit test for the property 'TokenInformation'
194+
}
187195

188196
}
189197

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
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 IntimateBillingAgreement
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 IntimateBillingAgreementTests
34+
{
35+
// TODO uncomment below to declare an instance variable for IntimateBillingAgreement
36+
//private IntimateBillingAgreement 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 IntimateBillingAgreement
45+
//instance = new IntimateBillingAgreement();
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 IntimateBillingAgreement
59+
/// </summary>
60+
[Test]
61+
public void IntimateBillingAgreementInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" IntimateBillingAgreement
64+
//Assert.IsInstanceOfType<IntimateBillingAgreement> (instance, "variable 'instance' is a IntimateBillingAgreement");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'ClientReferenceInformation'
69+
/// </summary>
70+
[Test]
71+
public void ClientReferenceInformationTest()
72+
{
73+
// TODO unit test for the property 'ClientReferenceInformation'
74+
}
75+
/// <summary>
76+
/// Test the property 'InstallmentInformation'
77+
/// </summary>
78+
[Test]
79+
public void InstallmentInformationTest()
80+
{
81+
// TODO unit test for the property 'InstallmentInformation'
82+
}
83+
/// <summary>
84+
/// Test the property 'MerchantInformation'
85+
/// </summary>
86+
[Test]
87+
public void MerchantInformationTest()
88+
{
89+
// TODO unit test for the property 'MerchantInformation'
90+
}
91+
/// <summary>
92+
/// Test the property 'OrderInformation'
93+
/// </summary>
94+
[Test]
95+
public void OrderInformationTest()
96+
{
97+
// TODO unit test for the property 'OrderInformation'
98+
}
99+
/// <summary>
100+
/// Test the property 'PaymentInformation'
101+
/// </summary>
102+
[Test]
103+
public void PaymentInformationTest()
104+
{
105+
// TODO unit test for the property 'PaymentInformation'
106+
}
107+
108+
}
109+
110+
}

0 commit comments

Comments
 (0)