Skip to content

Commit 1819fcb

Browse files
authored
Merge pull request #60 from CyberSource/june-release
June release
2 parents 12e1ae0 + 3c96948 commit 1819fcb

File tree

103 files changed

+3372
-432
lines changed

Some content is hidden

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

103 files changed

+3372
-432
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ public void ActivatePlanTest()
7272
{
7373
// TODO uncomment below to test the method and replace null with proper value
7474
//string id = null;
75-
//Object activatePlanRequest = null;
76-
//var response = instance.ActivatePlan(id, activatePlanRequest);
75+
//var response = instance.ActivatePlan(id);
7776
//Assert.IsInstanceOf<InlineResponse2004> (response, "response is InlineResponse2004");
7877
}
7978

@@ -97,8 +96,7 @@ public void DeactivatePlanTest()
9796
{
9897
// TODO uncomment below to test the method and replace null with proper value
9998
//string id = null;
100-
//Object deactivatePlanRequest = null;
101-
//var response = instance.DeactivatePlan(id, deactivatePlanRequest);
99+
//var response = instance.DeactivatePlan(id);
102100
//Assert.IsInstanceOf<InlineResponse2004> (response, "response is InlineResponse2004");
103101
}
104102

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ public void ActivateSubscriptionTest()
7272
{
7373
// TODO uncomment below to test the method and replace null with proper value
7474
//string id = null;
75-
//Object activateSubscriptionRequest = null;
76-
//var response = instance.ActivateSubscription(id, activateSubscriptionRequest);
75+
//var response = instance.ActivateSubscription(id);
7776
//Assert.IsInstanceOf<InlineResponse2009> (response, "response is InlineResponse2009");
7877
}
7978

@@ -85,8 +84,7 @@ public void CancelSubscriptionTest()
8584
{
8685
// TODO uncomment below to test the method and replace null with proper value
8786
//string id = null;
88-
//Object cancelSubscriptionRequest = null;
89-
//var response = instance.CancelSubscription(id, cancelSubscriptionRequest);
87+
//var response = instance.CancelSubscription(id);
9088
//Assert.IsInstanceOf<InlineResponse202> (response, "response is InlineResponse202");
9189
}
9290

@@ -148,8 +146,7 @@ public void SuspendSubscriptionTest()
148146
{
149147
// TODO uncomment below to test the method and replace null with proper value
150148
//string id = null;
151-
//Object suspendSubscriptionRequest = null;
152-
//var response = instance.SuspendSubscription(id, suspendSubscriptionRequest);
149+
//var response = instance.SuspendSubscription(id);
153150
//Assert.IsInstanceOf<InlineResponse2021> (response, "response is InlineResponse2021");
154151
}
155152

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 PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
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 PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURETests
34+
{
35+
// TODO uncomment below to declare an instance variable for PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
36+
//private PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE 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 PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
45+
//instance = new PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE();
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 PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
59+
/// </summary>
60+
[Test]
61+
public void PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTUREInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE
64+
//Assert.IsInstanceOfType<PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE> (instance, "variable 'instance' is a PtsV2PaymentsPost201ResponseEmbeddedActionsCAPTURE");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'Status'
69+
/// </summary>
70+
[Test]
71+
public void StatusTest()
72+
{
73+
// TODO unit test for the property 'Status'
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 'Message'
85+
/// </summary>
86+
[Test]
87+
public void MessageTest()
88+
{
89+
// TODO unit test for the property 'Message'
90+
}
91+
92+
}
93+
94+
}
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 PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION
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 PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATIONTests
34+
{
35+
// TODO uncomment below to declare an instance variable for PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION
36+
//private PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION 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 PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION
45+
//instance = new PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION();
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 PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION
59+
/// </summary>
60+
[Test]
61+
public void PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATIONInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION
64+
//Assert.IsInstanceOfType<PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION> (instance, "variable 'instance' is a PtsV2PaymentsPost201ResponseEmbeddedActionsCONSUMERAUTHENTICATION");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'Status'
69+
/// </summary>
70+
[Test]
71+
public void StatusTest()
72+
{
73+
// TODO unit test for the property 'Status'
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 'Message'
85+
/// </summary>
86+
[Test]
87+
public void MessageTest()
88+
{
89+
// TODO unit test for the property 'Message'
90+
}
91+
92+
}
93+
94+
}
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 PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION
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 PtsV2PaymentsPost201ResponseEmbeddedActionsDECISIONTests
34+
{
35+
// TODO uncomment below to declare an instance variable for PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION
36+
//private PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION 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 PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION
45+
//instance = new PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION();
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 PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION
59+
/// </summary>
60+
[Test]
61+
public void PtsV2PaymentsPost201ResponseEmbeddedActionsDECISIONInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION
64+
//Assert.IsInstanceOfType<PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION> (instance, "variable 'instance' is a PtsV2PaymentsPost201ResponseEmbeddedActionsDECISION");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'Status'
69+
/// </summary>
70+
[Test]
71+
public void StatusTest()
72+
{
73+
// TODO unit test for the property 'Status'
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 'Message'
85+
/// </summary>
86+
[Test]
87+
public void MessageTest()
88+
{
89+
// TODO unit test for the property 'Message'
90+
}
91+
92+
}
93+
94+
}

0 commit comments

Comments
 (0)