Skip to content

Commit bd94fee

Browse files
authored
Merge pull request #121 from CyberSource/release/july25
auto gen code
2 parents 35e3197 + 3bc297b commit bd94fee

File tree

273 files changed

+10530
-2119
lines changed

Some content is hidden

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

273 files changed

+10530
-2119
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void GetAccountInfoTest()
7373
// TODO uncomment below to test the method and replace null with proper value
7474
//CreateBinLookupRequest createBinLookupRequest = null;
7575
//var response = instance.GetAccountInfo(createBinLookupRequest);
76-
//Assert.IsInstanceOf<InlineResponse2011> (response, "response is InlineResponse2011");
76+
//Assert.IsInstanceOf<InlineResponse2012> (response, "response is InlineResponse2012");
7777
}
7878

7979
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public void NotificationSubscriptionsV2WebhooksPostTest()
8585
// TODO uncomment below to test the method and replace null with proper value
8686
//CreateWebhook createWebhook = null;
8787
//var response = instance.NotificationSubscriptionsV2WebhooksPost(createWebhook);
88-
//Assert.IsInstanceOf<InlineResponse2014> (response, "response is InlineResponse2014");
88+
//Assert.IsInstanceOf<InlineResponse2015> (response, "response is InlineResponse2015");
8989
}
9090

9191
/// <summary>
@@ -100,7 +100,7 @@ public void SaveSymEgressKeyTest()
100100
//string vCCorrelationId = null;
101101
//SaveSymEgressKey saveSymEgressKey = null;
102102
//var response = instance.SaveSymEgressKey(vCSenderOrganizationId, vCPermissions, vCCorrelationId, saveSymEgressKey);
103-
//Assert.IsInstanceOf<InlineResponse2013> (response, "response is InlineResponse2013");
103+
//Assert.IsInstanceOf<InlineResponse2014> (response, "response is InlineResponse2014");
104104
}
105105

106106
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public void CommentDecisionManagerCaseTest()
100100
//string id = null;
101101
//CaseManagementCommentsRequest caseManagementCommentsRequest = null;
102102
//var response = instance.CommentDecisionManagerCase(id, caseManagementCommentsRequest);
103-
//Assert.IsInstanceOf<InlineResponse201> (response, "response is InlineResponse201");
103+
//Assert.IsInstanceOf<InlineResponse2011> (response, "response is InlineResponse2011");
104104
}
105105

106106
/// <summary>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public void GetWebhookSubscriptionByIdTest()
8585
// TODO uncomment below to test the method and replace null with proper value
8686
//string webhookId = null;
8787
//var response = instance.GetWebhookSubscriptionById(webhookId);
88-
//Assert.IsInstanceOf<InlineResponse2014> (response, "response is InlineResponse2014");
88+
//Assert.IsInstanceOf<InlineResponse2015> (response, "response is InlineResponse2015");
8989
}
9090

9191
/// <summary>
@@ -111,7 +111,7 @@ public void NotificationSubscriptionsV1WebhooksWebhookIdPostTest()
111111
// TODO uncomment below to test the method and replace null with proper value
112112
//string webhookId = null;
113113
//var response = instance.NotificationSubscriptionsV1WebhooksWebhookIdPost(webhookId);
114-
//Assert.IsInstanceOf<InlineResponse2015> (response, "response is InlineResponse2015");
114+
//Assert.IsInstanceOf<InlineResponse2016> (response, "response is InlineResponse2016");
115115
}
116116

117117
/// <summary>
@@ -152,7 +152,7 @@ public void SaveAsymEgressKeyTest()
152152
//SaveAsymEgressKey saveAsymEgressKey = null;
153153
//string vCCorrelationId = null;
154154
//var response = instance.SaveAsymEgressKey(vCSenderOrganizationId, vCPermissions, saveAsymEgressKey, vCCorrelationId);
155-
//Assert.IsInstanceOf<InlineResponse2016> (response, "response is InlineResponse2016");
155+
//Assert.IsInstanceOf<InlineResponse2017> (response, "response is InlineResponse2017");
156156
}
157157

158158
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void PostRegistrationTest()
8686
//PostRegistrationBody postRegistrationBody = null;
8787
//string vCIdempotencyId = null;
8888
//var response = instance.PostRegistration(postRegistrationBody, vCIdempotencyId);
89-
//Assert.IsInstanceOf<InlineResponse2012> (response, "response is InlineResponse2012");
89+
//Assert.IsInstanceOf<InlineResponse2013> (response, "response is InlineResponse2013");
9090
}
9191

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

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,38 @@ public void OrderInformationTest()
104104
{
105105
// TODO unit test for the property 'OrderInformation'
106106
}
107+
/// <summary>
108+
/// Test the property 'SenderInformation'
109+
/// </summary>
110+
[Test]
111+
public void SenderInformationTest()
112+
{
113+
// TODO unit test for the property 'SenderInformation'
114+
}
115+
/// <summary>
116+
/// Test the property 'EventInformation'
117+
/// </summary>
118+
[Test]
119+
public void EventInformationTest()
120+
{
121+
// TODO unit test for the property 'EventInformation'
122+
}
123+
/// <summary>
124+
/// Test the property 'TravelInformation'
125+
/// </summary>
126+
[Test]
127+
public void TravelInformationTest()
128+
{
129+
// TODO unit test for the property 'TravelInformation'
130+
}
131+
/// <summary>
132+
/// Test the property 'RecipientInformation'
133+
/// </summary>
134+
[Test]
135+
public void RecipientInformationTest()
136+
{
137+
// TODO unit test for the property 'RecipientInformation'
138+
}
107139

108140
}
109141

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -88,30 +88,6 @@ public void StatusTest()
8888
{
8989
// TODO unit test for the property 'Status'
9090
}
91-
/// <summary>
92-
/// Test the property 'PaymentAccountInformation'
93-
/// </summary>
94-
[Test]
95-
public void PaymentAccountInformationTest()
96-
{
97-
// TODO unit test for the property 'PaymentAccountInformation'
98-
}
99-
/// <summary>
100-
/// Test the property 'IssuerInformation'
101-
/// </summary>
102-
[Test]
103-
public void IssuerInformationTest()
104-
{
105-
// TODO unit test for the property 'IssuerInformation'
106-
}
107-
/// <summary>
108-
/// Test the property 'PayoutInformation'
109-
/// </summary>
110-
[Test]
111-
public void PayoutInformationTest()
112-
{
113-
// TODO unit test for the property 'PayoutInformation'
114-
}
11591

11692
}
11793

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 InlineResponse2011PayoutInformationPullFunds
26+
/// Class for testing InlineResponse2012PayoutInformationPullFunds
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 InlineResponse2011PayoutInformationPullFundsTests
33+
public class InlineResponse2012PayoutInformationPullFundsTests
3434
{
35-
// TODO uncomment below to declare an instance variable for InlineResponse2011PayoutInformationPullFunds
36-
//private InlineResponse2011PayoutInformationPullFunds instance;
35+
// TODO uncomment below to declare an instance variable for InlineResponse2012PayoutInformationPullFunds
36+
//private InlineResponse2012PayoutInformationPullFunds 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 InlineResponse2011PayoutInformationPullFunds
45-
//instance = new InlineResponse2011PayoutInformationPullFunds();
44+
// TODO uncomment below to create an instance of InlineResponse2012PayoutInformationPullFunds
45+
//instance = new InlineResponse2012PayoutInformationPullFunds();
4646
}
4747

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

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

6767
/// <summary>
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 InlineResponse2011PayoutInformationPushFunds
26+
/// Class for testing InlineResponse2012PayoutInformationPushFunds
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 InlineResponse2011PayoutInformationPushFundsTests
33+
public class InlineResponse2012PayoutInformationPushFundsTests
3434
{
35-
// TODO uncomment below to declare an instance variable for InlineResponse2011PayoutInformationPushFunds
36-
//private InlineResponse2011PayoutInformationPushFunds instance;
35+
// TODO uncomment below to declare an instance variable for InlineResponse2012PayoutInformationPushFunds
36+
//private InlineResponse2012PayoutInformationPushFunds 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 InlineResponse2011PayoutInformationPushFunds
45-
//instance = new InlineResponse2011PayoutInformationPushFunds();
44+
// TODO uncomment below to create an instance of InlineResponse2012PayoutInformationPushFunds
45+
//instance = new InlineResponse2012PayoutInformationPushFunds();
4646
}
4747

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

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

6767
/// <summary>

0 commit comments

Comments
 (0)