Skip to content

Commit 0a747c5

Browse files
authored
Merge pull request #104 from CyberSource/nov24-release
Nov24 release
2 parents 97ae481 + 1e2e43c commit 0a747c5

File tree

82 files changed

+4707
-501
lines changed

Some content is hidden

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

82 files changed

+4707
-501
lines changed

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

+8
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ public void ParentProfileIdTest()
7272
{
7373
// TODO unit test for the property 'ParentProfileId'
7474
}
75+
/// <summary>
76+
/// Test the property 'Vault'
77+
/// </summary>
78+
[Test]
79+
public void VaultTest()
80+
{
81+
// TODO unit test for the property 'Vault'
82+
}
7583

7684
}
7785

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
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 CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVault
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 CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVaultTests
34+
{
35+
// TODO uncomment below to declare an instance variable for CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVault
36+
//private CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVault 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 CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVault
45+
//instance = new CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVault();
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 CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVault
59+
/// </summary>
60+
[Test]
61+
public void CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVaultInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVault
64+
//Assert.IsInstanceOfType<CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVault> (instance, "variable 'instance' is a CommerceSolutionsProductsTokenManagementConfigurationInformationConfigurationsVault");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'DefaultTokenType'
69+
/// </summary>
70+
[Test]
71+
public void DefaultTokenTypeTest()
72+
{
73+
// TODO unit test for the property 'DefaultTokenType'
74+
}
75+
/// <summary>
76+
/// Test the property 'Location'
77+
/// </summary>
78+
[Test]
79+
public void LocationTest()
80+
{
81+
// TODO unit test for the property 'Location'
82+
}
83+
/// <summary>
84+
/// Test the property 'TokenFormats'
85+
/// </summary>
86+
[Test]
87+
public void TokenFormatsTest()
88+
{
89+
// TODO unit test for the property 'TokenFormats'
90+
}
91+
/// <summary>
92+
/// Test the property 'TokenPermissions'
93+
/// </summary>
94+
[Test]
95+
public void TokenPermissionsTest()
96+
{
97+
// TODO unit test for the property 'TokenPermissions'
98+
}
99+
/// <summary>
100+
/// Test the property 'SensitivePrivileges'
101+
/// </summary>
102+
[Test]
103+
public void SensitivePrivilegesTest()
104+
{
105+
// TODO unit test for the property 'SensitivePrivileges'
106+
}
107+
/// <summary>
108+
/// Test the property 'Nullify'
109+
/// </summary>
110+
[Test]
111+
public void NullifyTest()
112+
{
113+
// TODO unit test for the property 'Nullify'
114+
}
115+
/// <summary>
116+
/// Test the property 'NetworkTokenServices'
117+
/// </summary>
118+
[Test]
119+
public void NetworkTokenServicesTest()
120+
{
121+
// TODO unit test for the property 'NetworkTokenServices'
122+
}
123+
124+
}
125+
126+
}

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

+8-8
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ public void GenerateCaptureContextRequestInstanceTest()
6464
//Assert.IsInstanceOfType<GenerateCaptureContextRequest> (instance, "variable 'instance' is a GenerateCaptureContextRequest");
6565
}
6666

67+
/// <summary>
68+
/// Test the property 'ClientVersion'
69+
/// </summary>
70+
[Test]
71+
public void ClientVersionTest()
72+
{
73+
// TODO unit test for the property 'ClientVersion'
74+
}
6775
/// <summary>
6876
/// Test the property 'TargetOrigins'
6977
/// </summary>
@@ -81,14 +89,6 @@ public void AllowedCardNetworksTest()
8189
// TODO unit test for the property 'AllowedCardNetworks'
8290
}
8391
/// <summary>
84-
/// Test the property 'ClientVersion'
85-
/// </summary>
86-
[Test]
87-
public void ClientVersionTest()
88-
{
89-
// TODO unit test for the property 'ClientVersion'
90-
}
91-
/// <summary>
9292
/// Test the property 'CheckoutApiInitialization'
9393
/// </summary>
9494
[Test]

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,20 @@ public void GenerateUnifiedCheckoutCaptureContextRequestInstanceTest()
6565
}
6666

6767
/// <summary>
68-
/// Test the property 'TargetOrigins'
68+
/// Test the property 'ClientVersion'
6969
/// </summary>
7070
[Test]
71-
public void TargetOriginsTest()
71+
public void ClientVersionTest()
7272
{
73-
// TODO unit test for the property 'TargetOrigins'
73+
// TODO unit test for the property 'ClientVersion'
7474
}
7575
/// <summary>
76-
/// Test the property 'ClientVersion'
76+
/// Test the property 'TargetOrigins'
7777
/// </summary>
7878
[Test]
79-
public void ClientVersionTest()
79+
public void TargetOriginsTest()
8080
{
81-
// TODO unit test for the property 'ClientVersion'
81+
// TODO unit test for the property 'TargetOrigins'
8282
}
8383
/// <summary>
8484
/// Test the property 'AllowedCardNetworks'

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

+8
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,14 @@ public void ProductNameTest()
177177
// TODO unit test for the property 'ProductName'
178178
}
179179
/// <summary>
180+
/// Test the property 'ProductSubtype'
181+
/// </summary>
182+
[Test]
183+
public void ProductSubtypeTest()
184+
{
185+
// TODO unit test for the property 'ProductSubtype'
186+
}
187+
/// <summary>
180188
/// Test the property 'TypeSelectionIndicator'
181189
/// </summary>
182190
[Test]
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 Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonuses
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 Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonusesTests
34+
{
35+
// TODO uncomment below to declare an instance variable for Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonuses
36+
//private Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonuses 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 Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonuses
45+
//instance = new Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonuses();
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 Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonuses
59+
/// </summary>
60+
[Test]
61+
public void Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonusesInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonuses
64+
//Assert.IsInstanceOfType<Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonuses> (instance, "variable 'instance' is a Ptsv2paymentsProcessingInformationJapanPaymentOptionsBonuses");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'Month'
69+
/// </summary>
70+
[Test]
71+
public void MonthTest()
72+
{
73+
// TODO unit test for the property 'Month'
74+
}
75+
/// <summary>
76+
/// Test the property 'Amount'
77+
/// </summary>
78+
[Test]
79+
public void AmountTest()
80+
{
81+
// TODO unit test for the property 'Amount'
82+
}
83+
84+
}
85+
86+
}

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

-32
Original file line numberDiff line numberDiff line change
@@ -81,38 +81,6 @@ public void BonusesTest()
8181
// TODO unit test for the property 'Bonuses'
8282
}
8383
/// <summary>
84-
/// Test the property 'BonusMonth'
85-
/// </summary>
86-
[Test]
87-
public void BonusMonthTest()
88-
{
89-
// TODO unit test for the property 'BonusMonth'
90-
}
91-
/// <summary>
92-
/// Test the property 'SecondBonusMonth'
93-
/// </summary>
94-
[Test]
95-
public void SecondBonusMonthTest()
96-
{
97-
// TODO unit test for the property 'SecondBonusMonth'
98-
}
99-
/// <summary>
100-
/// Test the property 'BonusAmount'
101-
/// </summary>
102-
[Test]
103-
public void BonusAmountTest()
104-
{
105-
// TODO unit test for the property 'BonusAmount'
106-
}
107-
/// <summary>
108-
/// Test the property 'SecondBonusAmount'
109-
/// </summary>
110-
[Test]
111-
public void SecondBonusAmountTest()
112-
{
113-
// TODO unit test for the property 'SecondBonusAmount'
114-
}
115-
/// <summary>
11684
/// Test the property 'PreapprovalType'
11785
/// </summary>
11886
[Test]

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -89,20 +89,20 @@ public void FirstNameTest()
8989
// TODO unit test for the property 'FirstName'
9090
}
9191
/// <summary>
92-
/// Test the property 'LastName'
92+
/// Test the property 'MiddleName'
9393
/// </summary>
9494
[Test]
95-
public void LastNameTest()
95+
public void MiddleNameTest()
9696
{
97-
// TODO unit test for the property 'LastName'
97+
// TODO unit test for the property 'MiddleName'
9898
}
9999
/// <summary>
100-
/// Test the property 'MiddleName'
100+
/// Test the property 'LastName'
101101
/// </summary>
102102
[Test]
103-
public void MiddleNameTest()
103+
public void LastNameTest()
104104
{
105-
// TODO unit test for the property 'MiddleName'
105+
// TODO unit test for the property 'LastName'
106106
}
107107
/// <summary>
108108
/// Test the property 'Address1'

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,20 @@ public void FirstNameTest()
7373
// TODO unit test for the property 'FirstName'
7474
}
7575
/// <summary>
76-
/// Test the property 'LastName'
76+
/// Test the property 'MiddleName'
7777
/// </summary>
7878
[Test]
79-
public void LastNameTest()
79+
public void MiddleNameTest()
8080
{
81-
// TODO unit test for the property 'LastName'
81+
// TODO unit test for the property 'MiddleName'
8282
}
8383
/// <summary>
84-
/// Test the property 'MiddleName'
84+
/// Test the property 'LastName'
8585
/// </summary>
8686
[Test]
87-
public void MiddleNameTest()
87+
public void LastNameTest()
8888
{
89-
// TODO unit test for the property 'MiddleName'
89+
// TODO unit test for the property 'LastName'
9090
}
9191
/// <summary>
9292
/// Test the property 'Address1'

0 commit comments

Comments
 (0)