Skip to content

Commit 73a71fd

Browse files
committed
Upgrade to API specification - Nov 2020
1 parent c4c71ff commit 73a71fd

File tree

88 files changed

+2121
-1127
lines changed

Some content is hidden

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

88 files changed

+2121
-1127
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ public void DefaultCurrencyCodeTest()
120120
{
121121
// TODO unit test for the property 'DefaultCurrencyCode'
122122
}
123+
/// <summary>
124+
/// Test the property 'PayerAuthentication3DSVersion'
125+
/// </summary>
126+
[Test]
127+
public void PayerAuthentication3DSVersionTest()
128+
{
129+
// TODO unit test for the property 'PayerAuthentication3DSVersion'
130+
}
123131

124132
}
125133

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
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 Invoicingv2invoiceSettingsInvoiceSettingsInformation
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 Invoicingv2invoiceSettingsInvoiceSettingsInformationTests
34+
{
35+
// TODO uncomment below to declare an instance variable for Invoicingv2invoiceSettingsInvoiceSettingsInformation
36+
//private Invoicingv2invoiceSettingsInvoiceSettingsInformation 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 Invoicingv2invoiceSettingsInvoiceSettingsInformation
45+
//instance = new Invoicingv2invoiceSettingsInvoiceSettingsInformation();
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 Invoicingv2invoiceSettingsInvoiceSettingsInformation
59+
/// </summary>
60+
[Test]
61+
public void Invoicingv2invoiceSettingsInvoiceSettingsInformationInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" Invoicingv2invoiceSettingsInvoiceSettingsInformation
64+
//Assert.IsInstanceOfType<Invoicingv2invoiceSettingsInvoiceSettingsInformation> (instance, "variable 'instance' is a Invoicingv2invoiceSettingsInvoiceSettingsInformation");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'MerchantLogo'
69+
/// </summary>
70+
[Test]
71+
public void MerchantLogoTest()
72+
{
73+
// TODO unit test for the property 'MerchantLogo'
74+
}
75+
/// <summary>
76+
/// Test the property 'MerchantDisplayName'
77+
/// </summary>
78+
[Test]
79+
public void MerchantDisplayNameTest()
80+
{
81+
// TODO unit test for the property 'MerchantDisplayName'
82+
}
83+
/// <summary>
84+
/// Test the property 'CustomEmailMessage'
85+
/// </summary>
86+
[Test]
87+
public void CustomEmailMessageTest()
88+
{
89+
// TODO unit test for the property 'CustomEmailMessage'
90+
}
91+
/// <summary>
92+
/// Test the property 'EnableReminders'
93+
/// </summary>
94+
[Test]
95+
public void EnableRemindersTest()
96+
{
97+
// TODO unit test for the property 'EnableReminders'
98+
}
99+
/// <summary>
100+
/// Test the property 'HeaderStyle'
101+
/// </summary>
102+
[Test]
103+
public void HeaderStyleTest()
104+
{
105+
// TODO unit test for the property 'HeaderStyle'
106+
}
107+
/// <summary>
108+
/// Test the property 'DeliveryLanguage'
109+
/// </summary>
110+
[Test]
111+
public void DeliveryLanguageTest()
112+
{
113+
// TODO unit test for the property 'DeliveryLanguage'
114+
}
115+
/// <summary>
116+
/// Test the property 'DefaultCurrencyCode'
117+
/// </summary>
118+
[Test]
119+
public void DefaultCurrencyCodeTest()
120+
{
121+
// TODO unit test for the property 'DefaultCurrencyCode'
122+
}
123+
/// <summary>
124+
/// Test the property 'PayerAuthenticationInInvoicing'
125+
/// </summary>
126+
[Test]
127+
public void PayerAuthenticationInInvoicingTest()
128+
{
129+
// TODO unit test for the property 'PayerAuthenticationInInvoicing'
130+
}
131+
132+
}
133+
134+
}

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ public void _ObjectTest()
8989
// TODO unit test for the property '_Object'
9090
}
9191
/// <summary>
92+
/// Test the property '_Default'
93+
/// </summary>
94+
[Test]
95+
public void _DefaultTest()
96+
{
97+
// TODO unit test for the property '_Default'
98+
}
99+
/// <summary>
92100
/// Test the property 'State'
93101
/// </summary>
94102
[Test]

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ public void IdTest()
8181
// TODO unit test for the property 'Id'
8282
}
8383
/// <summary>
84+
/// Test the property '_Default'
85+
/// </summary>
86+
[Test]
87+
public void _DefaultTest()
88+
{
89+
// TODO unit test for the property '_Default'
90+
}
91+
/// <summary>
8492
/// Test the property 'ShipTo'
8593
/// </summary>
8694
[Test]

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ public void _ObjectTest()
8989
// TODO unit test for the property '_Object'
9090
}
9191
/// <summary>
92+
/// Test the property '_Default'
93+
/// </summary>
94+
[Test]
95+
public void _DefaultTest()
96+
{
97+
// TODO unit test for the property '_Default'
98+
}
99+
/// <summary>
92100
/// Test the property 'State'
93101
/// </summary>
94102
[Test]

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ public void _ObjectTest()
8989
// TODO unit test for the property '_Object'
9090
}
9191
/// <summary>
92+
/// Test the property '_Default'
93+
/// </summary>
94+
[Test]
95+
public void _DefaultTest()
96+
{
97+
// TODO unit test for the property '_Default'
98+
}
99+
/// <summary>
92100
/// Test the property 'State'
93101
/// </summary>
94102
[Test]

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ public void IdTest()
8181
// TODO unit test for the property 'Id'
8282
}
8383
/// <summary>
84+
/// Test the property '_Default'
85+
/// </summary>
86+
[Test]
87+
public void _DefaultTest()
88+
{
89+
// TODO unit test for the property '_Default'
90+
}
91+
/// <summary>
8492
/// Test the property 'ShipTo'
8593
/// </summary>
8694
[Test]

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ public void _ObjectTest()
8989
// TODO unit test for the property '_Object'
9090
}
9191
/// <summary>
92+
/// Test the property '_Default'
93+
/// </summary>
94+
[Test]
95+
public void _DefaultTest()
96+
{
97+
// TODO unit test for the property '_Default'
98+
}
99+
/// <summary>
92100
/// Test the property 'State'
93101
/// </summary>
94102
[Test]

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

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,46 @@ public void ShippingAddressTest()
128128
{
129129
// TODO unit test for the property 'ShippingAddress'
130130
}
131+
/// <summary>
132+
/// Test the property 'Scheme'
133+
/// </summary>
134+
[Test]
135+
public void SchemeTest()
136+
{
137+
// TODO unit test for the property 'Scheme'
138+
}
139+
/// <summary>
140+
/// Test the property 'Bin'
141+
/// </summary>
142+
[Test]
143+
public void BinTest()
144+
{
145+
// TODO unit test for the property 'Bin'
146+
}
147+
/// <summary>
148+
/// Test the property 'AccountType'
149+
/// </summary>
150+
[Test]
151+
public void AccountTypeTest()
152+
{
153+
// TODO unit test for the property 'AccountType'
154+
}
155+
/// <summary>
156+
/// Test the property 'Issuer'
157+
/// </summary>
158+
[Test]
159+
public void IssuerTest()
160+
{
161+
// TODO unit test for the property 'Issuer'
162+
}
163+
/// <summary>
164+
/// Test the property 'BinCountry'
165+
/// </summary>
166+
[Test]
167+
public void BinCountryTest()
168+
{
169+
// TODO unit test for the property 'BinCountry'
170+
}
131171

132172
}
133173

0 commit comments

Comments
 (0)