Skip to content

Commit 6509a4b

Browse files
authored
Merge pull request #11 from snavinch/master
+ Changes for July 2021 SDK Release
2 parents b26ffcb + 107be1c commit 6509a4b

File tree

57 files changed

+912
-331
lines changed

Some content is hidden

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

57 files changed

+912
-331
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ public void NameTest()
7272
{
7373
// TODO unit test for the property 'Name'
7474
}
75+
/// <summary>
76+
/// Test the property 'MerchantCustomerId'
77+
/// </summary>
78+
[Test]
79+
public void MerchantCustomerIdTest()
80+
{
81+
// TODO unit test for the property 'MerchantCustomerId'
82+
}
7583

7684
}
7785

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ public void EmailTest()
8080
{
8181
// TODO unit test for the property 'Email'
8282
}
83+
/// <summary>
84+
/// Test the property 'MerchantCustomerId'
85+
/// </summary>
86+
[Test]
87+
public void MerchantCustomerIdTest()
88+
{
89+
// TODO unit test for the property 'MerchantCustomerId'
90+
}
8391

8492
}
8593

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

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

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

6767
/// <summary>
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 PtsV2PaymentsPost201ResponsePaymentAccountInformation
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 PtsV2PaymentsPost201ResponsePaymentAccountInformationTests
34+
{
35+
// TODO uncomment below to declare an instance variable for PtsV2PaymentsPost201ResponsePaymentAccountInformation
36+
//private PtsV2PaymentsPost201ResponsePaymentAccountInformation 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 PtsV2PaymentsPost201ResponsePaymentAccountInformation
45+
//instance = new PtsV2PaymentsPost201ResponsePaymentAccountInformation();
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 PtsV2PaymentsPost201ResponsePaymentAccountInformation
59+
/// </summary>
60+
[Test]
61+
public void PtsV2PaymentsPost201ResponsePaymentAccountInformationInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" PtsV2PaymentsPost201ResponsePaymentAccountInformation
64+
//Assert.IsInstanceOfType<PtsV2PaymentsPost201ResponsePaymentAccountInformation> (instance, "variable 'instance' is a PtsV2PaymentsPost201ResponsePaymentAccountInformation");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'Card'
69+
/// </summary>
70+
[Test]
71+
public void CardTest()
72+
{
73+
// TODO unit test for the property 'Card'
74+
}
75+
76+
}
77+
78+
}

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
@@ -145,6 +145,14 @@ public void IssuerInformationTest()
145145
// TODO unit test for the property 'IssuerInformation'
146146
}
147147
/// <summary>
148+
/// Test the property 'PaymentAccountInformation'
149+
/// </summary>
150+
[Test]
151+
public void PaymentAccountInformationTest()
152+
{
153+
// TODO unit test for the property 'PaymentAccountInformation'
154+
}
155+
/// <summary>
148156
/// Test the property 'PaymentInformation'
149157
/// </summary>
150158
[Test]

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

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,6 @@ public void TerminalCapabilityTest()
113113
// TODO unit test for the property 'TerminalCapability'
114114
}
115115
/// <summary>
116-
/// Test the property 'PinEntryCapability'
117-
/// </summary>
118-
[Test]
119-
public void PinEntryCapabilityTest()
120-
{
121-
// TODO unit test for the property 'PinEntryCapability'
122-
}
123-
/// <summary>
124116
/// Test the property 'OperatingEnvironment'
125117
/// </summary>
126118
[Test]
@@ -264,6 +256,22 @@ public void IsDedicatedHardwareTerminalTest()
264256
{
265257
// TODO unit test for the property 'IsDedicatedHardwareTerminal'
266258
}
259+
/// <summary>
260+
/// Test the property 'TerminalModel'
261+
/// </summary>
262+
[Test]
263+
public void TerminalModelTest()
264+
{
265+
// TODO unit test for the property 'TerminalModel'
266+
}
267+
/// <summary>
268+
/// Test the property 'TerminalMake'
269+
/// </summary>
270+
[Test]
271+
public void TerminalMakeTest()
272+
{
273+
// TODO unit test for the property 'TerminalMake'
274+
}
267275

268276
}
269277

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,6 @@ public void FingerprintSessionIdTest()
9797
// TODO unit test for the property 'FingerprintSessionId'
9898
}
9999
/// <summary>
100-
/// Test the property 'UseRawFingerprintSessionId'
101-
/// </summary>
102-
[Test]
103-
public void UseRawFingerprintSessionIdTest()
104-
{
105-
// TODO unit test for the property 'UseRawFingerprintSessionId'
106-
}
107-
/// <summary>
108100
/// Test the property 'HttpBrowserEmail'
109101
/// </summary>
110102
[Test]

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ public void AuthTypeTest()
7272
{
7373
// TODO unit test for the property 'AuthType'
7474
}
75+
/// <summary>
76+
/// Test the property 'Initiator'
77+
/// </summary>
78+
[Test]
79+
public void InitiatorTest()
80+
{
81+
// TODO unit test for the property 'Initiator'
82+
}
7583

7684
}
7785

0 commit comments

Comments
 (0)