Skip to content

Commit ff3dd0b

Browse files
authored
Merge pull request #21 from CyberSource/Nov_2021_Changes
Changes for November 2021 SDK Release
2 parents a4f5288 + ee3cc50 commit ff3dd0b

File tree

60 files changed

+1608
-59
lines changed

Some content is hidden

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

60 files changed

+1608
-59
lines changed
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 PtsV2PaymentsPost201ResponseBuyerInformation
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 PtsV2PaymentsPost201ResponseBuyerInformationTests
34+
{
35+
// TODO uncomment below to declare an instance variable for PtsV2PaymentsPost201ResponseBuyerInformation
36+
//private PtsV2PaymentsPost201ResponseBuyerInformation 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 PtsV2PaymentsPost201ResponseBuyerInformation
45+
//instance = new PtsV2PaymentsPost201ResponseBuyerInformation();
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 PtsV2PaymentsPost201ResponseBuyerInformation
59+
/// </summary>
60+
[Test]
61+
public void PtsV2PaymentsPost201ResponseBuyerInformationInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" PtsV2PaymentsPost201ResponseBuyerInformation
64+
//Assert.IsInstanceOfType<PtsV2PaymentsPost201ResponseBuyerInformation> (instance, "variable 'instance' is a PtsV2PaymentsPost201ResponseBuyerInformation");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'MerchantCustomerId'
69+
/// </summary>
70+
[Test]
71+
public void MerchantCustomerIdTest()
72+
{
73+
// TODO unit test for the property 'MerchantCustomerId'
74+
}
75+
/// <summary>
76+
/// Test the property 'DateOfBirth'
77+
/// </summary>
78+
[Test]
79+
public void DateOfBirthTest()
80+
{
81+
// TODO unit test for the property 'DateOfBirth'
82+
}
83+
/// <summary>
84+
/// Test the property 'VatRegistrationNumber'
85+
/// </summary>
86+
[Test]
87+
public void VatRegistrationNumberTest()
88+
{
89+
// TODO unit test for the property 'VatRegistrationNumber'
90+
}
91+
/// <summary>
92+
/// Test the property 'PersonalIdentification'
93+
/// </summary>
94+
[Test]
95+
public void PersonalIdentificationTest()
96+
{
97+
// TODO unit test for the property 'PersonalIdentification'
98+
}
99+
/// <summary>
100+
/// Test the property 'TaxId'
101+
/// </summary>
102+
[Test]
103+
public void TaxIdTest()
104+
{
105+
// TODO unit test for the property 'TaxId'
106+
}
107+
108+
}
109+
110+
}
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 PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation
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 PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformationTests
34+
{
35+
// TODO uncomment below to declare an instance variable for PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation
36+
//private PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation 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 PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation
45+
//instance = new PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation();
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 PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation
59+
/// </summary>
60+
[Test]
61+
public void PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformationInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation
64+
//Assert.IsInstanceOfType<PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation> (instance, "variable 'instance' is a PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'RiskAnalysisExemptionResult'
69+
/// </summary>
70+
[Test]
71+
public void RiskAnalysisExemptionResultTest()
72+
{
73+
// TODO unit test for the property 'RiskAnalysisExemptionResult'
74+
}
75+
/// <summary>
76+
/// Test the property 'TrustedMerchantExemptionResult'
77+
/// </summary>
78+
[Test]
79+
public void TrustedMerchantExemptionResultTest()
80+
{
81+
// TODO unit test for the property 'TrustedMerchantExemptionResult'
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 PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication
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 PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationTests
34+
{
35+
// TODO uncomment below to declare an instance variable for PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication
36+
//private PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication 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 PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication
45+
//instance = new PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication();
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 PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication
59+
/// </summary>
60+
[Test]
61+
public void PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication
64+
//Assert.IsInstanceOfType<PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication> (instance, "variable 'instance' is a PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'IssuerInformation'
69+
/// </summary>
70+
[Test]
71+
public void IssuerInformationTest()
72+
{
73+
// TODO unit test for the property 'IssuerInformation'
74+
}
75+
76+
}
77+
78+
}

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,14 @@ public void IvrTest()
225225
// TODO unit test for the property 'Ivr'
226226
}
227227
/// <summary>
228+
/// Test the property 'StrongAuthentication'
229+
/// </summary>
230+
[Test]
231+
public void StrongAuthenticationTest()
232+
{
233+
// TODO unit test for the property 'StrongAuthentication'
234+
}
235+
/// <summary>
228236
/// Test the property 'NetworkScore'
229237
/// </summary>
230238
[Test]

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,14 @@ public void MerchantNumberTest()
280280
{
281281
// TODO unit test for the property 'MerchantNumber'
282282
}
283+
/// <summary>
284+
/// Test the property 'RetrievalReferenceNumber'
285+
/// </summary>
286+
[Test]
287+
public void RetrievalReferenceNumberTest()
288+
{
289+
// TODO unit test for the property 'RetrievalReferenceNumber'
290+
}
283291

284292
}
285293

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,14 @@ public void TokenInformationTest()
193193
// TODO unit test for the property 'TokenInformation'
194194
}
195195
/// <summary>
196+
/// Test the property 'BuyerInformation'
197+
/// </summary>
198+
[Test]
199+
public void BuyerInformationTest()
200+
{
201+
// TODO unit test for the property 'BuyerInformation'
202+
}
203+
/// <summary>
196204
/// Test the property 'RiskInformation'
197205
/// </summary>
198206
[Test]

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,14 @@ public void IssuedByTest()
8888
{
8989
// TODO unit test for the property 'IssuedBy'
9090
}
91+
/// <summary>
92+
/// Test the property 'VerificationResults'
93+
/// </summary>
94+
[Test]
95+
public void VerificationResultsTest()
96+
{
97+
// TODO unit test for the property 'VerificationResults'
98+
}
9199

92100
}
93101

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@ public void DelegatedAuthenticationExemptionIndicatorTest()
105105
// TODO unit test for the property 'DelegatedAuthenticationExemptionIndicator'
106106
}
107107
/// <summary>
108+
/// Test the property 'OutageExemptionIndicator'
109+
/// </summary>
110+
[Test]
111+
public void OutageExemptionIndicatorTest()
112+
{
113+
// TODO unit test for the property 'OutageExemptionIndicator'
114+
}
115+
/// <summary>
108116
/// Test the property 'AuthenticationIndicator'
109117
/// </summary>
110118
[Test]

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,22 @@ public void FirstInstallmentAmountTest()
168168
{
169169
// TODO unit test for the property 'FirstInstallmentAmount'
170170
}
171+
/// <summary>
172+
/// Test the property 'ValidationIndicator'
173+
/// </summary>
174+
[Test]
175+
public void ValidationIndicatorTest()
176+
{
177+
// TODO unit test for the property 'ValidationIndicator'
178+
}
179+
/// <summary>
180+
/// Test the property 'Identifier'
181+
/// </summary>
182+
[Test]
183+
public void IdentifierTest()
184+
{
185+
// TODO unit test for the property 'Identifier'
186+
}
171187

172188
}
173189

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ public void MerchantDescriptorTest()
7373
// TODO unit test for the property 'MerchantDescriptor'
7474
}
7575
/// <summary>
76+
/// Test the property 'DomainName'
77+
/// </summary>
78+
[Test]
79+
public void DomainNameTest()
80+
{
81+
// TODO unit test for the property 'DomainName'
82+
}
83+
/// <summary>
7684
/// Test the property 'SalesOrganizationId'
7785
/// </summary>
7886
[Test]

0 commit comments

Comments
 (0)